yarn version 3.2.4 node version v18.12.0
After running yarn install
I get the following error:
➤ YN0000: ┌ Fetch step
➤ YN0013: │ yargs@npm:17.6.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yarn-install@npm:1.0.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yauzl@npm:2.10.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yup@npm:0.32.11 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ zip-stream@npm:4.1.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0000: └ Completed in 0s 488ms
➤ YN0000: ┌ Link step
➤ YN0000: │ ESM support for PnP uses the experimental loader API and is therefore experimental
➤ YN0007: │ chromedriver@npm:107.0.3 must be built because it never has been before or the last one failed
➤ YN0007: │ es5-ext@npm:0.10.62 must be built because it never has been before or the last one failed
➤ YN0000: └ Completed in 0s 738ms
For developing Grafana within container I was building Dockerfile comes with Grafana code. In Dockerfile when It hit the "yarn install" line it was giving
yn0013: yarn install @babel/generator@npm:7.20.5 can't be found in the cache and will be fetched from the remote registry
....
lines as error.
RUN yarn install
I put this line above yarn install it seems it is worked well:
RUN yarn set version stable
RUN yarn cache clean --all
RUN YARN_CHECKSUM_BEHAVIOR=update yarn install
To be honestly I don't know which line is effected in a good way but I think setting the yarn version to the stable one did.
these error codes are totally fine and none of them are actually errors. They are more like logs with INFO levels. if it is an error, you might have seen the message with the prefix with the error. You can read more about these error codes here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With