`Hello, World` exercise `yarn install` failed
number5 opened this issue · 2 comments
number5 commented
λ yarn install
➤ YN0000: ┌ Resolution step
➤ YN0032: │ fsevents@npm:2.3.2: Implicit dependencies on node-gyp are discouraged
➤ YN0032: │ fsevents@npm:2.3.2: Implicit dependencies on node-gyp are discouraged
➤ YN0061: │ sane@npm:4.1.0 is deprecated: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
➤ YN0061: │ resolve-url@npm:0.2.1 is deprecated: https://github.com/lydell/resolve-url#deprecated
➤ YN0061: │ urix@npm:0.1.0 is deprecated: Please see https://github.com/lydell/urix#deprecated
➤ YN0000: └ Completed in 9s 419ms
➤ YN0000: ┌ Fetch step
➤ YN0013: │ y18n@npm:4.0.3 can't be found in the cache and will be fetched from
➤ YN0013: │ yallist@npm:4.0.0 can't be found in the cache and will be fetched f
➤ YN0013: │ yargs-parser@npm:18.1.3 can't be found in the cache and will be fet
➤ YN0013: │ yargs@npm:15.4.1 can't be found in the cache and will be fetched fr
➤ YN0013: │ typescript@npm:4.4.3 can't be found in the cache and will be fetche
➤ YN0066: │ typescript@patch:typescript@npm%3A4.4.3#builtin<compat/typescript>::version=4.4.3&hash=ddfc1b: Cannot apply hunk #14 (set enableInlineHunks for details)
➤ YN0000: └ Completed in 1m 2s
➤ YN0000: Failed with errors in 1m 11s
npm install
works fine though
versions:
yarn 2.4,2
node v16.9.1
codeiotic commented
Don't do yarn install
, just do yarn
inside the exercise directory. If you are still getting the same error try installing yarn again by npm install --global yarn
SleeplessByte commented
I see you're using yarn 2. In this case, you'll want to update to the latest version when this happens:
yarn set version latest
And then run yarn install
.
The issue is with yarn (yarnpkg/berry#2938 (comment)) and not with this track.