The main problem we’re having is even though we perform a
pre: rm -rf node_modules/ or a
Rebuild without cache the problematic
fsevents seems to come back when we push a new commit.
The stack you’re using
Rails with NPM
The exact error message you are getting
node_modulesis loaded from the cache, it always seems to be an old version.
npm installto fail because it’s trying to load
fseventswhich is for OSX only but due to a different problem made it into the
npm-shrinkwrap.json. It’s been removed, but for it’s still cached in
Which troubleshooting steps you’ve already taken
We have to
Rebuild without cacheor perform a
rm -rf node_modules/.
But it never seems to be saved for the next run?
Any recent changes either in the codebase or the stack
Yes, we upgraded a number of
node_modulesand updated the
What happens when you run the tests locally
What is supposed to happen when your build runs
npm installruns properly (instead of failing)