mendixlabs / generator-mendix

Yeoman generator for Mendix widgets
MIT License
17 stars 15 forks source link

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

Open ChacmaBab opened 2 years ago

ChacmaBab commented 2 years ago

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

MyWidget@1.0.0 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