Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upYarn build fails with new node:12-alpine #1265
Comments
|
Same issue here... |
|
Is it possible that you are setting https://classic.yarnpkg.com/en/docs/cli/install/#toc-yarn-install-production-true-false
|
|
This issue looks to be because @babel/preset-env is on version 7.8.4. There is a fix for this in 7.9.0. Rolling back to node:12.16.3-alpine worked for us as well. |
This happens for me in the bitbucket pipeline. In the first step I install dependencies and in the second step the build is executed. The dependencies/node_modules are there. The error: |
It works with old
node@sha256:6b5b783c9cfe229af0bd5b0b677dd32005bb22d58465f3d0fe7fbd1c60ce068c
Does not work with latest (node:12-alpine)
node@sha256:7a6d3e124142fe56b974d5beccf42180f9e217d509a02801838801fc85a15c35
package.json
yarn.lock