Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typescript version=4.2.3 Cannot apply hunk #6 #33

Closed
jpizzle34 opened this issue Mar 22, 2021 · 1 comment
Closed

typescript version=4.2.3 Cannot apply hunk #6 #33

jpizzle34 opened this issue Mar 22, 2021 · 1 comment

Comments

@jpizzle34
Copy link

jpizzle34 commented Mar 22, 2021

Hi There,

I just started your course last week and had no problems with yarn installing dependencies. I was playing around with yarn plug n play today and tried to configure it with this repo. I couldn't get it to work so I started from scratch and recloned and can no longer yarn install using node_modules.

`
➤ YN0000: ┌ Resolution step
➤ YN0061: │ parcel-bundler@npm:1.12.5 is deprecated: Parcel v1 is no longer maintained. Please migrate to v2, which is published under the 'parcel' package. See https://v2.parceljs.org/getting-started/migration for details.
➤ YN0032: │ node-addon-api@npm:1.7.2: Implicit dependencies on node-gyp are discouraged
➤ YN0032: │ evp_bytestokey@npm:1.0.3: Implicit dependencies on node-gyp are discouraged
➤ YN0061: │ core-js@npm:2.6.12 is deprecated: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
➤ YN0061: │ chokidar@npm:2.1.8 is deprecated: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
➤ YN0032: │ fsevents@npm:2.3.2: Implicit dependencies on node-gyp are discouraged
➤ YN0032: │ fsevents@npm:2.1.3: Implicit dependencies on node-gyp are discouraged
➤ YN0061: │ fsevents@npm:2.1.3 is deprecated: "Please update to latest v2.3 or v2.2"
➤ YN0061: │ fsevents@npm:1.2.13 is deprecated: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
➤ YN0032: │ fsevents@npm:2.3.2: Implicit dependencies on node-gyp are discouraged
➤ YN0032: │ fsevents@npm:2.1.3: Implicit dependencies on node-gyp are discouraged
➤ YN0061: │ fsevents@npm:2.1.3 is deprecated: "Please update to latest v2.3 or v2.2"
➤ YN0061: │ fsevents@npm:1.2.13 is deprecated: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
➤ YN0061: │ urix@npm:0.1.0 is deprecated: Please see https://github.com/lydell/urix#deprecated
➤ YN0061: │ request@npm:2.88.2 is deprecated: request has been deprecated, see request/request#3142
➤ YN0032: │ nan@npm:2.14.2: Implicit dependencies on node-gyp are discouraged
➤ YN0061: │ resolve-url@npm:0.2.1 is deprecated: https://github.com/lydell/resolve-url#deprecated
➤ YN0061: │ har-validator@npm:5.1.5 is deprecated: this library is no longer supported
➤ YN0061: │ request-promise-native@npm:1.0.9 is deprecated: request-promise-native has been deprecated because it extends the now deprecated request package, see request/request#3142
➤ YN0002: │ professional-ts@workspace:. doesn't provide @babel/core (p0c43c), requested by @babel/plugin-proposal-class-properties
➤ YN0002: │ professional-ts@workspace:. doesn't provide @babel/core (p1d304), requested by @babel/preset-env
➤ YN0002: │ professional-ts@workspace:. doesn't provide @babel/core (pcdb20), requested by @babel/preset-react
➤ YN0002: │ professional-ts@workspace:. doesn't provide @babel/core (p2214b), requested by @babel/preset-typescript
➤ YN0060: │ professional-ts@workspace:. provides react (p3d78b) with version 17.0.1, which doesn't satisfy what react-router-dom and some of its descendants request
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements for details, where is the six-letter p-prefixed code
➤ YN0000: └ Completed in 6s 847ms
➤ YN0000: ┌ Fetch step

...truncated...

➤ YN0066: │ typescript@patch:typescript@npm%3A4.2.3#builtin<compat/typescript>::version=4.2.3&hash=cc6730: Cannot apply hunk #6 (set enableInlineHunks for details)
➤ YN0000: └ Completed in 1s 165ms
➤ YN0000: Failed with errors in 8s 14ms

`

@jpizzle34
Copy link
Author

It appears to be an issue with the new Typescript 4. So I downgraded to typescript@^3.9.0

After that, I ran into the same issue as #32 and followed the fix. It's working again.

Thanks everyone. And thanks for the wonderful course Mike

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant