Fix MODULE_NOT_FOUND on npm start

Use explicit path to neu CLI binary instead of relying on .bin/
shim resolution, which fails when the shell PATH doesn't include
node_modules/.bin/ — same fix applied to the Electron build.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
nonna
2026-03-11 00:57:51 +00:00
parent 2c369d74b1
commit ce92a21874

View File

@@ -3,8 +3,8 @@
"version": "1.0.0",
"description": "Standalone PAI Voice audio widget — lightweight Neutralino.js build",
"scripts": {
"start": "neu run",
"build": "neu build"
"start": "node node_modules/@neutralinojs/neu/bin/neu.js run",
"build": "node node_modules/@neutralinojs/neu/bin/neu.js build"
},
"dependencies": {
"@neutralinojs/neu": "^11.7.0"