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

Codeship Builds fail #639

Closed
justin808 opened this issue Dec 6, 2016 · 2 comments
Closed

Codeship Builds fail #639

justin808 opened this issue Dec 6, 2016 · 2 comments

Comments

@justin808
Copy link
Member

See details here:

https://community.codeship.com/t/npm-install-fails-due-to-npm-shrinkwrap-json-referencing-mac-os-only-package/5694

https://app.codeship.com/projects/187011/builds/20692524

npm ERR! Linux 4.2.0-42-generic
npm ERR! argv "/home/rof/.nvm/versions/node/v7.2.0/bin/node" "/home/rof/.nvm/versions/node/v7.2.0/bin/npm" "install"
npm ERR! node v7.2.0
npm ERR! npm  v4.0.3
npm ERR! code EBADPLATFORM

npm ERR! notsup Unsupported platform for fsevents@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! notsup Valid OS:    darwin
npm ERR! notsup Valid Arch:  any
npm ERR! notsup Actual OS:   linux
npm ERR! notsup Actual Arch: x64

npm ERR! Please include the following file with any support request:
npm ERR!     /home/rof/src/github.com/shakacode/react_on_rails/npm-debug.log

I do ensure that I'm using npm v4, so this bug shouldn't happen.

FWIW, this does work on Travis:

https://travis-ci.org/shakacode/react_on_rails/builds/180609074

@bbonamin
Copy link
Contributor

Has the shrinkwrap been regenerated with either npm 3.10.10 or 4+? npm/npm#14042 (comment)

I'm hitting this exact issue on #651 and either downgrading as I've done here or using 4+ (plus a regenerated shrinkwrap which marks fsevents as optional?) should fix it apparently.

@justin808
Copy link
Member Author

Fixed!

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

2 participants