Getting Started instructions doesn't work in Windows 11
jouni-kantola opened this issue · comments
Jouni Kantola commented
Describe the bug
The following error message is displayed in Windows 11 when following the Your First Neutralinojs App docs:
neu: INFO Starting process: neutralino-win_x64.exe --load-dir-res --path=. --export-auth-info --neu-dev-extension --neu-dev-auto-reload
node:events:491
throw er; // Unhandled 'error' event
^
Error: spawn bin\neutralino-win_x64.exe ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:476:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Emitted 'error' event on ChildProcess instance at:
at ChildProcess._handle.onexit (node:internal/child_process:289:12)
at onErrorNT (node:internal/child_process:476:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -4058,
code: 'ENOENT',
syscall: 'spawn bin\\neutralino-win_x64.exe',
path: 'bin\\neutralino-win_x64.exe',
spawnargs: [
'',
'--load-dir-res',
'--path=.',
'--export-auth-info',
'--neu-dev-extension',
'--neu-dev-auto-reload'
]
}
To Reproduce
Steps to reproduce the behavior:
npx @neutralinojs/neu create myapp
cd myapp
npx @neutralinojs/neu run
- See error
- Running
npx @neutralinojs/neu update
doesn't help, results in same error.
Expected behavior
App should start.
Having to add the following config manually and then run npx @neutralinojs/neu update
is much to ask from when getting started (especially as it's not mentioned in the Getting Started docs).
"cli": {
"binaryVersion": "5.1.0",
"clientVersion": "5.1.0",
...
}
Specifications
- OS: Windows 11
- Note: Removing
binaryVersion
andclientVersion
from config, like the file is scaffolded when runningnpx @neutralinojs/neu create myapp
:
npx @neutralinojs/neu version
[...]
--- Global ---
neu CLI: v9.6.0
--- Project: myapp (js.neutralino.sample) ---
Neutralinojs binaries: vundefined
Neutralinojs client: Installed from a package manager
Project version: v1.0.0
```
Don't Know commented
same....any updates?