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

creating a new project after fresh installation with latest version error related to deprecation and unstable version #2765

Closed
apurv09 opened this issue Jun 10, 2020 · 3 comments

Comments

@apurv09
Copy link

apurv09 commented Jun 10, 2020

  • Node.js Version:12.18.0
  • OS:windows 10 pro
  • Scope (install, code, runtime, meta, other?):install
  • Module (and version) (if relevant):npm

When i was creating the first project it gives an error related to npm and also i got error while installation
error while installation-npm WARN deprecated request@2.88.2: request has been deprecated, see request/request#3142
error while creating application on cmd-npm WARN notsup Not compatible with your version of node/npm: watchpack-chokidar2@2.0.0
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules\watchpack-chokidar2\node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules\webpack-dev-server\node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

npm ERR! Unexpected end of JSON input while parsing near '...ERXBEg==","shasum":"8'

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\apurv\AppData\Roaming\npm-cache_logs\2020-06-10T14_03_26_302Z-debug.log
× Package install failed, see above.
The Schematic workflow failed. See above.

error from log file-4771 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS: darwin
4771 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch: any
4771 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS: win32
4771 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: x64
4772 verbose stack SyntaxError: Unexpected end of JSON input while parsing near '...ERXBEg==","shasum":"8'
4772 verbose stack at JSON.parse ()
4772 verbose stack at parseJson (C:\Program Files\nodejs\node_modules\npm\node_modules\json-parse-better-errors\index.js:7:17)
4772 verbose stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node-fetch-npm\src\body.js:96:50
4772 verbose stack at runMicrotasks ()
4772 verbose stack at processTicksAndRejections (internal/process/task_queues.js:97:5)
4773 verbose cwd D:\angular\hello-app
4774 verbose Windows_NT 10.0.18363
4775 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "--quiet"
4776 verbose node v12.18.0
4777 verbose npm v6.14.4
4778 error Unexpected end of JSON input while parsing near '...ERXBEg==","shasum":"8'
4779 verbose exit [ 1, true ]

I have tried various solution available over forums and blogs but i was unable to resolve issue.

@apurv09 apurv09 changed the title While creating a new project after fresh installation with latest version creating a new project after fresh installation with latest version error related to deprecation and unstable version Jun 10, 2020
@PoojaDurgad
Copy link

@apurv09 - try to refer this npm/npm#19198 hope it may help

@apurv09
Copy link
Author

apurv09 commented Oct 21, 2020

@apurv09 - try to refer this npm/npm#19198 hope it may help

Thank you i will check it

@PoojaDurgad
Copy link

closing as answered.

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

2 participants