kkarczmarczyk / docker-node-yarn Goto Github PK
View Code? Open in Web Editor NEWDockerfiles for "node-yarn" images from Docker Hub
Dockerfiles for "node-yarn" images from Docker Hub
Hello
I have an issue with latest version of node-yarn.
As I see in the latest version of the DockerFile you used node:latest. but when I trying to install my dependencies with yarn install command I got an error to relevant node version
the error is:
yarn install v1.7.0
[1/4] Resolving packages...
[2/4] Fetching packages...
(node:9) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The engine "node" is incompatible with this module. Expected version "^8.16.0 || ^10.6.0 || >=11.0.0".
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
error @testing-library/[email protected]: The engine "node" is incompatible with this module. Expected version ">10.18".
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
I tried to use yarn install --ignore-engines
command. pipeline is passed and solved error but I faced another issue in production.
Here: https://yarnpkg.com/en/docs/install#alternatives-tab
curl -o- -L https://yarnpkg.com/install.sh | bash
?
I'll put together a pr in the next day or two.
The official node images now ship with yarn already included, so this project isn't required anymore, as far as I see.
see: docker-library/official-images#2705
Thanks for the efford I used this image until I found this out. :)
Whenever I try to install this image I get 0.16.1, is there a way to make sure the latest yarn will be installed?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.