generator-mendix icon indicating copy to clipboard operation
generator-mendix copied to clipboard

npm run build node ./node_modules/gulp/bin/gulp build error

Open ChacmaBab opened this issue 4 years ago • 0 comments

Hi there when trying to create a new widget on the step npm run build I get this error

[email protected] build node ./node_modules/gulp/bin/gulp build

shell.js: internal error Error: Command failed: "C:\Program Files\nodejs\node.exe" C:\Users\Ryan\AppData\Local\Temp\shelljs_096fc30c0a6ad23cdb1d at checkExecSyncError (child_process.js:790:11) at Object.execSync (child_process.js:863:15) at execSync (C:\Users\Ryan\testWid\node_modules\node-mendix-modeler-path\node_modules\shelljs\src\exec.js:81:11) at Object._exec (C:\Users\Ryan\testWid\node_modules\node-mendix-modeler-path\node_modules\shelljs\src\exec.js:214:12) at Object.exec (C:\Users\Ryan\testWid\node_modules\node-mendix-modeler-path\node_modules\shelljs\src\common.js:182:23) at getShellOutput (C:\Users\Ryan\testWid\node_modules\node-mendix-modeler-path\index.js:10:21) at findModeler (C:\Users\Ryan\testWid\node_modules\node-mendix-modeler-path\index.js:30:11) at Object. (C:\Users\Ryan\testWid\node_modules\node-mendix-modeler-path\index.js:74:2) at Module._compile (internal/modules/cjs/loader.js:1085:14) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)

I have tried updating my Gruntfile.js to point to the mendix version selector but still get the same error

ChacmaBab avatar Oct 20 '21 14:10 ChacmaBab