dalen / puppetexplorer

Puppet web interface written in CoffeeScript using AngularJS
demo.puppetexplorer.io
Other
412 stars 43 forks source link

Error during npm install #535

Open mcindea opened 6 years ago

mcindea commented 6 years ago

Hello,

I get the following error while doing npm install:

46972 verbose stack Error: deasync@0.1.13 install: `node ./build.js`
46972 verbose stack Exit status 1
46972 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
46972 verbose stack     at emitTwo (events.js:126:13)
46972 verbose stack     at EventEmitter.emit (events.js:214:7)
46972 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
46972 verbose stack     at emitTwo (events.js:126:13)
46972 verbose stack     at ChildProcess.emit (events.js:214:7)
46972 verbose stack     at maybeClose (internal/child_process.js:915:16)
46972 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
46973 verbose pkgid deasync@0.1.13
46974 verbose cwd /root/puppetexplorer
46975 verbose Linux 4.18.16-200.fc28.x86_64
46976 verbose argv "/usr/bin/node" "/usr/bin/npm" "install"
46977 verbose node v8.12.0
46978 verbose npm  v6.4.1
46979 error code ELIFECYCLE
46980 error errno 1
46981 error deasync@0.1.13 install: `node ./build.js`
46981 error Exit status 1
46982 error Failed at the deasync@0.1.13 install script.
46982 error This is probably not a problem with npm. There is likely additional logging output above.
46983 verbose exit [ 1, true ]

Is there any minimum version for npm or nodejs ? I have:

[root@patchman-mc puppetexplorer]# npm --version
6.4.1
[root@patchman-mc puppetexplorer]# node --version
v8.12.0

EDIT: I was able to install with npm -g install, apparently there's a problem with deasync. But if I try to do grunt , it says no Gruntfile available. Couldn't find it anywhere.