Domiii / Domiii/dbux

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

Open
#773 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
171
Forks
13
PR merge metrics
No merged PRs in 30d

Description

## 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**
```launch.json
{
"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**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.