Upgrade to npm v4.0.5
or switch to using yarn
#2090
Labels
chore
Related to fix/refinement/improvement of end user or new/existing developer functionality
component/build
An issue concerning compilation, testing, packaging, distribution
component/ui
Predominantly a front-end issue; most/all of the work can be completed by a f/e developer
Milestone
Supposedly due to this issue, we had a problem of having to run
npm install
twice, as the first run wouldn't pick up all the sub-dependencies of the libraryfont-awesome-webpack
that we use. That only became a breaking issue for some reason when merging #2058 into master, so that PR was reverted. #2089 restored the rolled-back code and movedfont-awesome-webpack
todevDependencies
as a quick hack to thenpm install
issue.However,
font-awesome-webpack
shouldn't really be indevDependencies
, so a more proper solution should be used. @foot suggested following (from Slack conversation):npm v4.0.5
- https://github.com/npm/npm/releases/tag/v4.0.5yarn
- https://yarnpkg.com/npm install
twice in the build processIMO, both options 1 and 2 seem like a good way to go and they both worked well at the time of writing, but they would both imply changing the docker image.
I tried using
yarn
(see #2088), but CircleCI was having problems running it, supposedly due to this issue that got resolved inyarn
(pre-release) version0.18.0
. Instructions on how to setupyarn
with CircleCI: https://circleci.com/docs/install-and-use-yarn/The text was updated successfully, but these errors were encountered: