Skip to content

False Error node version should be ok; it is not OLD #773

@donPab

Description

@donPab

Bug Report

Bug Summary
==False Error node version should be ok; it is not OLD

Steps To Reproduce
1.1 Start VSCode
1.2 Click on File, then Open File
1.3 Scroll to C:\H_Paul\Pencil\pencil-development\app.vscode
1.4 Select launch.json
1.5 On Activity bar, click on Extentions
1.6 Click on Dbux (ALPHA)
1.7 Click on Enable
1.8 On Activity bar, click on Dbux
1.9 On Primary Sidebar, click on Start Dbux
1.10 In Primary Sidebar on Applications row, click on Start Dbux Runtime Server
1.11 In Primary Sidebar on Applications row, click on Debug Current File
1.12 See error

Expected behavior
Dbux debug trace of application processing.
Since version of node is clearly more recent than required.

Actual behavior
VSCode error box, as shown in Dbux Output Log, having--
node
Installed but old. Version is 18.14.0 but we recommend 16.
no debugging or tracing was performed.

Attachments

Relevant Code

{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "LaunchDebugMainProcess",
      "type": "node",
      "request": "launch",

      "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
      "runtimeArgs":["--no-sandbox"  ],

      "cwd": "${workspaceRoot}",
      "program": "${workspaceRoot}/index.js",
      "args": [],
      "stopOnEntry": false,
      "sourceMaps": false,
      "outputCapture": "std",

      "preLaunchTask": ""
    }
  ]
}

Dbux Output Log
[Dbux installUtil] Checking library dependencies. Found 0 missing:
[Dbux exec] > Microsoft VS Code$ "node" --version
[Dbux exec] ("node" EXIT: code=0, signal=null)
[Dbux Notifications] [Dbux] Dbux requires the following programs to be installed and available on your system in order to run smoothly. Please make sure, you have all of them installed.

✓ shell
found at "C:/WINDOWS/SYSTEM32/CMD.EXE"
✓⚠ node
Installed but old. Version is 18.14.0 but we recommend 16.
✓ npm
found at "C:/PROGRAM FILES/NODEJS/NPM.CMD"

FAILED: One or more system dependencies are not installed. Fix them, then try again.
[Dbux Notifications] > User responded with "undefined"
[Dbux Command] 'dbux.debugFile' failed: Error: [Dbux] System dependency check failed :(
at checkSystem (c:\Users\paulg.vscode\extensions\domi.dbux-code-0.7.9\dist\bundle.js:2:296847)
at async runFile (c:\Users\paulg.vscode\extensions\domi.dbux-code-0.7.9\dist\bundle.js:2:648998)
at async c:\Users\paulg.vscode\extensions\domi.dbux-code-0.7.9\dist\bundle.js:2:281035
at async s.h (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:96:108008)

Dbux Runtime (Console) Log

Screenshots

System (please complete the following information):

  • OS: WIN10 Pro v.21H2 build 19044.2604 on Lenovo X1 PC
  • VSCode: v.1.75.1
  • Dbux VSCode Extension version: (ALPHA) v.0.7.9
  • Affected Dbux Packages (+ version numbers): none

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions