You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like meteor is likely to be stuck on npm 3.10.8/3.10.9 for quite some time -- Nodejs 4, 6, and 7 all use those versions.
I'm considering what the cleanest design here would be. The build process involves two separate invocations of npm -- one to set up the environment that does the bundling (which includes dev dependencies), and one to install dependencies on the built slug (which uses --production to skip dev dependencies). It seems to me it could be confusing to add a single environment variable that controls flags in both places; but it could also be cumbersome to introduce two separate variables. This abstraction has a high danger of leaks. :)
I'd also be hesitant to add --no-optional as a default for everyone that doesn't opt-in to it, as this might expose bugs or disable features that people have in their npm packages with such dependencies.
I'm curious how widespread the impact for this is -- I know momentjs had an error with this (meteor/meteor#7958 ), but it appears to have been resolved upstream through changes in momentjs.
There's a bug in NPM versions
3.10.8
and3.10.9
that might crash the build process ifnpm-shrinkwrap
is used.One of the suggested solutions is to add
fsevents
as optionalDependenciesAnd then install the modules with the flag
--no-optional
I was wondering if it could make sense to have to possibility to run the buildpack with that flag somehow (maybe env variable?)
The text was updated successfully, but these errors were encountered: