npm ERR! code E404 when installing Expo Tracking Transparency - reactjs

expo install expo-tracking-transparency
Installing 1 other package using npm.
npm install --save expo-tracking-transparency
npm ERR! code E404
npm ERR! 404 Not Found - GET http://registry.npmjs.org/expo-tracking-transparency - Not found
npm ERR! 404
npm ERR! 404 'expo-tracking-transparency#latest' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm exited with non-zero code: 1

Related

Esprima error 404 Not Found in npm install

I'm trying to install all dependencies in my react project, but when I run npm install I'm getting some errors related to esprima:
npm ERR! 404 Not Found - GET https://codeload.github.com/ariya/esprima/legacy.tar.gz/master
npm ERR! npm ERR! 404
npm ERR! npm ERR! 404 'esprima#https://github.com/ariya/esprima/tarball/master' is not in the npm registry.
npm ERR! npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! npm ERR! 404
npm ERR! npm ERR! 404 Note that you can also install from a
npm ERR! npm ERR! 404 tarball, folder, http url, or git url.
Did anyone experience this error?
I was able to resolve this issue after downgrade my npm version from 7.14.0 to v6.14.13. It may not be the best solution, but it was the only way I could get rid of this problem.

Trying to Setup ReactJs getting error while installing web pack & bable

The error is as follows. Any comments are welcome.
npm ERR! code E404 npm ERR! 404 Not Found - GET
https://registry.npmjs.org/bable-preset-react - Not found npm ERR! 404
npm ERR! 404 'bable-preset-react#latest' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or
use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can
also install from a npm ERR! 404 tarball, folder, http url, or git
url.
npm ERR! A complete log of this run can be found in: npm ERR!
C:\Users\Vamsi S
Krishna\AppData\Roaming\npm-cache_logs\2020-01-19T17_52_52_549Z-debug.log
It should be https://registry.npmjs.org/babel-preset-react ! Babel, not Bable!

Angular 2 Quickstart install failing via npm (Link - https://angular.io/docs/js/latest/quickstart.html)

As given in the link I've been trying to get Angular 2 running on my Ubuntu 15.10 machine but I get the following error messages and the install fails.
I also tried to install Angular 2 via the npm package command, that is sudo npm install angular2#2.0.0-alpha.32 but this gave the same sort of errors.
Any help would be appreciated. Thank you.
Here are the errors. The log it mentions at the bottom can't be posted here because it is over a 1000 lines.
sudo npm install
npm WARN package.json angular2-quickstart#1.0.0 No description
npm WARN package.json angular2-quickstart#1.0.0 No repository field.
npm WARN package.json angular2-quickstart#1.0.0 No README data
npm ERR! 404 Not Found
npm ERR! 404
npm ERR! 404 'angular/common' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it
npm ERR! 404 It was specified as a dependency of 'angular2-quickstart'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, or http url, or git url.
npm ERR! System Linux 4.2.0-16-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/anshuman/angular2-quickstart
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.4.21
npm ERR! code E404
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/anshuman/angular2-quickstart/npm-debug.log
npm ERR! not ok code 0
you must update your node and your npm for the last versions.
node -v
v4.4.7
npm -v
3.10.5
Also try to cleaar your npm cache
npm cache clear

Cannot update node.js

I am trying to update node.js in order to scaffold an angular project.
But when I launch this command:
npm update -g
I am getting this:
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "update" "-g"
npm ERR! node v5.2.0
npm ERR! npm v3.3.12
npm ERR! code E404
npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/vs-tac
npm ERR! 404
npm ERR! 404 'vs-tac' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Development\workspaceWeb\redPlus\npm-debug.log
I decided to update the npm because I was getting other errors when calling
yo angular --minsafe
so I split the involved programs.
How to fix it?
It's a package linked to cordova, you can manually reinstall it: http://taco.visualstudio.com/en-us/docs/configure-vs-tools-apache-cordova/#vstac You'll need to install Visual Studio though.
I think the vs-tac package has been unpublished. You should contact the person who maintains the packages to look further in the issue.

Error installing karma with angularjs

I am going to install karma in my front end to run some TDD tests.
To do this at the first step i run this:
sudo npm install -D karma-jasmine karma-phantomjs-launcher --save
and it seems to me that every thing is fun, here is the result:
npm WARN package.json taksi_client#1.0.0 No description
npm WARN package.json taksi_client#1.0.0 No repository field.
npm WARN package.json taksi_client#1.0.0 No README data
npm http GET https://registry.npmjs.org/karma-phantomjs-launcher
npm http GET https://registry.npmjs.org/karma-jasmine
npm http 304 https://registry.npmjs.org/karma-jasmine
npm http 304 https://registry.npmjs.org/karma-phantomjs-launcher
npm http GET https://registry.npmjs.org/lodash
npm http 304 https://registry.npmjs.org/lodash
karma-jasmine#0.3.6 node_modules/karma-jasmine
karma-phantomjs-launcher#0.2.1 node_modules/karma-phantomjs-launcher
└── lodash#3.10.1
and then I ried this command
sudo npm install -g karma --save
but i get the following erorrs. and i do not know how can i fix it?
npm http GET https://registry.npmjs.org/karma
npm http 304 https://registry.npmjs.org/karma
npm ERR! error rolling back Error: EROFS, unlink '/nix/store/a5ibcbcsm473kdr75kj4gpsr28ndnknp-nodejs-0.10.26/lib/node_modules/karma'
npm ERR! error rolling back karma#0.13.15 { [Error: EROFS, unlink '/nix/store/a5ibcbcsm473kdr75kj4gpsr28ndnknp-nodejs-0.10.26/lib/node_modules/karma']
npm ERR! error rolling back errno: 56,
npm ERR! error rolling back code: 'EROFS',
npm ERR! error rolling back path: '/nix/store/a5ibcbcsm473kdr75kj4gpsr28ndnknp-nodejs-0.10.26/lib/node_modules/karma' }
npm ERR! Error: EROFS, unlink '/nix/store/a5ibcbcsm473kdr75kj4gpsr28ndnknp-nodejs-0.10.26/lib/node_modules/karma'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Linux 4.2.0-c9
npm ERR! command "/nix/store/a5ibcbcsm473kdr75kj4gpsr28ndnknp-nodejs-0.10.26/bin/node" "/mnt/shared/sbin/npm" "install" "-g" "karma" "--save"
npm ERR! cwd /home/ubuntu/Taxi_Driver/taksi_client
npm ERR! node -v v0.10.28
npm ERR! npm -v 1.4.3
npm ERR! path /nix/store/a5ibcbcsm473kdr75kj4gpsr28ndnknp-nodejs-0.10.26/lib/node_modules/karma
npm ERR! code EROFS
npm ERR! errno 56
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/ubuntu/Taxi_Driver/taksi_client/npm-debug.log
npm ERR! not ok code 0

Resources