I've been struggling to install vuejs for an hour now, but I can't get it to work, this error keeps coming back, any ideas?
npm WARN deprecated source-map-url#0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated urix#0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated apollo-tracing#0.15.0: The `apollo-tracing` package is no longer part of Apollo Server 3. See https://www.apollographql.com/docs/apollo-server/migration/#tracing for details
npm WARN deprecated source-map-resolve#0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated resolve-url#0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated graphql-extensions#0.15.0: The `graphql-extensions` API has been removed from Apollo Server 3. Use the plugin API instead: https://www.apollographql.com/docs/apollo-server/integrations/plugins/
npm WARN deprecated apollo-cache-control#0.14.0: The functionality provided by the `apollo-cache-control` package is built in to `apollo-server-core` starting with Apollo Server 3. See https://www.apollographql.com/docs/apollo-server/migration/#cachecontrol for details.
npm WARN deprecated uuid#3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated subscriptions-transport-ws#0.9.19: The `subscriptions-transport-ws` package is no longer maintained. We recommend you use `graphql-ws` instead. For help migrating Apollo software to `graphql-ws`, see https://www.apollographql.com/docs/apollo-server/data/subscriptions/#switching-from-subscriptions-transport-ws For general help using `graphql-ws`, see https://github.com/enisdenjo/graphql-ws/blob/master/README.md
npm WARN deprecated graphql-tools#4.0.8: This package has been deprecated and now it only exports makeExecutableSchema.\nAnd it will no longer receive updates.\nWe recommend you to migrate to scoped packages such as #graphql-tools/schema, #graphql-tools/utils and etc.\nCheck out https://www.graphql-tools.com to learn what package you should use instead
npm ERR! code 1
npm ERR! path C:\Users\amber\AppData\Roaming\npm\node_modules\#vue\cli\node_modules\#apollo\protobufjs
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c ^"C:\Windows\TEMP^ \postinstall-1656074175378.cmd^"
npm ERR! '"C:\Windows\TEMP \postinstall-1656074175378.cmd"' n’est pas reconnu en tant que commande interne
npm ERR! ou externe, un programme exécutable ou un fichier de commandes.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\amber\AppData\Local\npm-cache\_logs\2022-06-24T12_35_51_489Z-debug-0.log
I tried to delete all the contents of the NPM folder, delete view and reinstall, clear the cache but nothing to do.
I really need your help :/
Related
I'm facing an issue when I try to install the npm on my node project. I tried to clean the npm cache and downgraded the node also but error is not fixed.
node - v14.17.6
npm - 6.14.8
npm WARN deprecated querystring#0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated circular-json#0.3.3: CircularJSON is in maintenance only, flatted is its successor.
npm WARN deprecated resolve-url#0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated urix#0.1.0: Please see https://github.com/lydell/urix#deprecated
npm ERR! Unexpected token ! in JSON at position 0 while parsing near '!function(){var a="/...'
npm ERR! A complete log of this run can be found in:
I solved the problem by running this command:
npm config set registry https://registry.npmjs.org/
ng serve
An unhandled exception occurred: Cannot find module '#angular-devkit/build-angular/package.json'
See "/tmp/ng-lQbnUK/angular-errors.log" for further details.
and when i create the project i got those errors
installing packages (npm)...npm WARN deprecated tslint#6.1.3: TSLint has been deprecated in favor of ESLint. Please see https://github.com/palantir/tslint/issues/4534 for more information.
npm WARN deprecated chokidar#2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated request#2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated fsevents#1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated har-validator#5.1.5: this library is no longer supported
npm WARN deprecated urix#0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url#0.2.1: https://github.com/lydell/resolve-url#deprecated
npm ERR! Unexpected end of JSON input while parsing near '...p2zraxyqI5tT/g9UTBUgK'
npm ERR! A complete log of this run can be found in:
npm ERR! /home/safa/.npm/_logs/2021-02-15T15_46_03_482Z-debug.log
✖ Package install failed, see above.
The Schematic workflow failed. See above.
Delete node modules folder & package-lock.json file.
Run again
npm install
ng serve
if that doesn't work, upgrade the dependencies with
npm update
Delete node-modules folder
Then npm i
if error presist again then
npm i #angular-devkit/build-angular
I have just installed npm and ionic following the instructions on ionic framework website and as soon as i start a new project i get these errors.
I have tried many online solutions but none seem to work.
npm WARN deprecated tslint#6.1.2: TSLint has been deprecated in favor
of ESLint. Please see https://github.com/palantir/tslint/issues/4534 for more information.
npm WARN deprecated request#2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated chokidar#2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated fsevents#1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated urix#0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url#0.2.1: https://github.com/lydell/resolve-url#deprecated
npm ERR! Unexpected end of JSON input while parsing near '...a512-0baf1FhCp16LhN+x'
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Michel\AppData\Roaming\npm-cache\_logs\2020-06-07T00_38_37_180Z-debug.log
Open Windows Powershell as admin. Then run command:
npm cache clean --force
and then install ionic again as usual:
ionic start
Im trying to create a new angular project, after writing 'ng new project', it starts downloading but then gives me this error:
Installing packages...npm WARN deprecated tslint#6.1.2: TSLint has been deprecated in favor of ESLint. Please see https://github.com/palantir/tslint/issues/4534 for more information.
npm WARN deprecated request#2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated chokidar#2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.npm WARN deprecated fsevents#1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to
fsevents 2.
npm WARN deprecated urix#0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url#0.2.1: https://github.com/lydell/resolve-url#deprecated
npm ERR! Unexpected end of JSON input while parsing near '...EmGWKHtdKo\nmvJ5sCP6T'
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\USER\AppData\Roaming\npm-cache\_logs\2020-05-13T09_41_32_733Z-debug.log
× Package install failed, see above.
does anyone know whats wrong? tnx
This happened due to you cache got corrupted. You need to clean your cache and re-install #angular/cli.
Open command prompt and run below commands.
npm cache clean --force
npm install -g #angular/cli
Bear with me. This is my first time posting a question.
What I did: cloned repo went into main folder and used npm install.
npm WARN deprecated #angular/http#5.2.11: Package no longer supported. Use #angular/common
instead, see https://angular.io/guide/deprecations#angularhttp
npm WARN deprecated angularfire2#5.4.2: AngularFire has moved, we're now #angular/fire
npm WARN deprecated core-js#2.6.11: 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.
npm WARN deprecated angular-sortablejs#2.7.0: angular-sortablejs was renamed to ngx-sortablejs, please use the latter one, only ngx-sortablejs will be updated in the future
npm WARN deprecated extract-text-webpack-plugin#3.0.2: Deprecated. Please use https://github.com/webpack-contrib/mini-css-extract-plugin
npm WARN deprecated bfj-node4#5.3.1: Switch to the `bfj` package for fixes and new features!
npm WARN deprecated request#2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated #google-cloud/functions-emulator#1.0.0-beta.6: Deprecating in favor of
the Functions Framework and firebase-tools. See https://github.com/googlearchive/cloud-functions-emulator/issues/327
npm WARN deprecated browserslist#2.11.3: Browserslist 2 could fail on reading Browserslist
>3.0 config used in other tools.
npm WARN deprecated request#2.81.0: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated hawk#3.1.3: This module moved to #hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN deprecated json3#3.3.2: Please use the native JSON object instead of JSON 3
npm WARN deprecated boom#2.10.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated cryptiles#2.0.5: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated sntp#1.0.9: This module moved to #hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN deprecated hoek#2.16.3: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated urix#0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url#0.2.1: https://github.com/lydell/resolve-url#deprecated
node-pre-gyp ERR! cwd C:\Users\genod\programing\tonysProjects\TAHelper\node_modules\grpc
node-pre-gyp ERR! node -v v12.16.1
node-pre-gyp ERR! node-pre-gyp -v v0.12.0
node-pre-gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! grpc#1.20.0 install: `node-pre-gyp install --fallback-to-build --library=static_library`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the grpc#1.20.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.