Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

postinstall.js faling when installing #5

Open
felippenardi opened this issue Jan 22, 2015 · 3 comments
Open

postinstall.js faling when installing #5

felippenardi opened this issue Jan 22, 2015 · 3 comments

Comments

@felippenardi
Copy link

I'm trying to install lineman-less by adding "lineman-less": "0.0.1" to package.json under devDependencies. Exactly like it is used on lineman-angular-template. I'm falling into this error:

(it also happens when I try npm install --save-dev lineman-less)

npm ERR! lineman-less@0.0.1 postinstall: `node script/postinstall.js`
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the lineman-less@0.0.1 postinstall script.
npm ERR! This is most likely a problem with the lineman-less package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node script/postinstall.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls lineman-less
npm ERR! There is likely additional logging output above.

npm ERR! System Linux 3.13.0-24-generic
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /src/referrals
npm ERR! node -v v0.10.28
npm ERR! npm -v 1.4.9
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /src/referrals/npm-debug.log
npm ERR! not ok code 0
@jayharris
Copy link
Member

I am unable to reproduce this issue on node 0.10.x or 0.12.x on either Windows or OSX.

Do you have any further information on this? Debug logs? What version of Lineman are you using? A sample repo that can reproduce the issue may also be helpful.

@mattupstate
Copy link
Contributor

I get a postinstall.js error when installing lineman-less when a folder named app/css folder is not present. The postinstall.js script would just need to be changed such that it doesn't assume the folders are present.

@dman777
Copy link

dman777 commented Dec 1, 2015

same issue here. linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants