mongorilla
mongorilla copied to clipboard
Elifecycle ERR
When I either clone or run npm install mongorilla, it throws the following error:
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: ./node_modules/bower/bin/bower install
npm ERR! Exit status 1
Any Ideas? I cleaned the cache and tried to reinstall but it didn't work.
Hmm.. are you using Windows?
Or... maybe the bower package had a breaking change recently. That dependency is not fixed at any major version (it's using "*"), so that might be the problem.
I am using windows.
@damianbuttle Ok, that's the thing. The postinstall command is for UNIX compatible OSs. You may have to run these commands manually in a Windows compatible way (no idea, sorry):
./node_modules/bower/bin/bower install && ./node_modules/requirejs/bin/r.js -o public/app.build.js
From: https://github.com/gerardobort/mongorilla/blob/master/package.json#L7
I added linux as a subsystem OS and it works perfectly. Whenever I try to create content it says URI required but the input field is greyed out.