docker-node: Yarn's bundled node-gyp broken
The current version of yarn still has a pre-existing issue with the pre-bundled version of node-gyp related to https://github.com/yarnpkg/yarn/issues/2266
A temporary fix relates to adding:
RUN yarn global add node-gyp
To our Dockerfile.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 9
- Comments: 22 (9 by maintainers)
This is fixed in the next version of Yarn (currently only available as an RC, but there should be a stable release soon)
It is indeed weird. I isolated the problem
This works:
This doesn’t: