npm ERR! 404 Not Found - GET https://registry.npmjs.org/@designed-and-developed%2feslint-config-prettier-typescript-react - Not found

william

I cloned a fullstack MERN (Typescript) project from github and when i was checking out the code on VS code i noticed there were errors everywhere for packeges as of they weren't installed and when i want to install them I just cant and would get the following error for instance installing express with (npm install express) or any other package:

npm WARN idealTree Removing dependencies.@types/node in favor of devDependencies.@types/node

npm ERR! code E404

npm ERR! 404 Not Found - GET https://registry.npmjs.org/@designed-and-developed%2feslint-config-prettier-typescript-react - Not found

npm ERR! 404

npm ERR! 404 '@designed-and-developed/eslint-config-prettier-typescript-react@^1.0.9' is not in this registry.

npm ERR! 404 You should bug the author to publish it (or use the name yourself!)

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:

When i searched it up i found out that it has somthing to do with having an npm account and signing in to it, but i dont want any of that, I just want to be able to run the website locally while avoiding the errors that i have been getting regarding the uninstalled packages. How can i do that? .

Here is my package.json:

{
  "name": "lofi-env",
  "version": "1.0.0",
  "main": "index.js",
  "repository": "https://github.com/ni-xon/lofi-env.git",
  "author": "ni-xon <[email protected]>",
  "license": "MIT",
  "scripts": {
    "server": "nodemon --config nodemon.json backend/server.ts",
    "client": "yarn --cwd frontend start",
    "start": "yarn server",
    "dev": "concurrently \"yarn server\" \"yarn client\"",
    "heroku-postbuild": "cd frontend && npm install && npm run build"
  },
  "devDependencies": {
    "@designed-and-developed/eslint-config-prettier-typescript-react": "^1.0.9",
    "eslint": "^8.10.0",
    "prettier": "^2.5.1"
  },
  "dependencies": {
    "@types/bcrypt": "^5.0.0",
    "@types/express": "^4.17.13",
    "@types/jsonwebtoken": "^8.5.8",
    "@types/mongoose": "^5.11.97",
    "@types/node": "^17.0.21",
    "bcrypt": "^5.0.1",
    "concurrently": "^7.0.0",
    "dotenv": "^16.0.0",
    "express": "^4.17.3",
    "express-async-handler": "^1.2.0",
    "jsonwebtoken": "^8.5.1",
    "mongoose": "^6.2.4",
    "nodemon": "^2.0.15",
    "ts-node": "^10.7.0",
    "typescript": "^4.6.2"
  }
}

In fact, I would get this error whenever i call npm ( even when i do npm install!)

Thank you.

l -_- l

Look at your .npmrc :

registry=https://registry.yarnpkg.com/
@designed-and-developed:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=${NPM_TOKEN}
always-auth=true

There's no NPM Token, so you can't authenticate to Github Packages in order to fetch your package. Obtain one, put it inside the braces and try again :)

Cheers

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

npm ERR! 404 Not Found - GET https://registry.npmjs.org/creat-react-app - Not found

npm ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/mangoose - Not found

npm ERR! 404 Not Found - GET https://registry.npmjs.org/error-ex

Not Found - GET https://registry.npmjs.org/functionscdn.azureedge.net - Not found

Error: 404 Not Found: eslint-scope@https://registry.npmjs.org/eslint-scope/-/eslint-scope-3.7.2.tgz

"npm config set registry https://registry.npmjs.org/" is not working in windows bat file

npm ERR! 404 Not Found: pinkie-promise

react-router-dom not found in npm registry

What does "npm set registry https://registry.npmjs.org/" do?

GET ------ net::ERR_ABORTED 404 (Not Found)

npm ERR! not found: git

npm install stuck on "normalizeTree: http request GET https://registry.npmjs.o"

npm ERR! 404 Not Found: [email protected]

npm ERR! 404 Not Found: [email protected]

npm ERR! 404 Not Found: @babel/preset-vue@^7.1.0

npm ERR! 404 '@reactivex/rxjs' is not in the npm registry

error An unexpected error occurred: "https://registry.yarnpkg.com/react-native-template-react-native-template-typescript: Not found"

npm error 404 not found

docker npm install Error: getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443

Nexus 3 as npm repository can't find some dependencies: npm ERR! 404 Not Found:

`npm audit` keeps returning "Your configured registry (https://registry.npmjs.org/) does not support audit requests.". How do I make it work again?

Page not found 404 URL config

React - 404 not found

404 Not Found nginx React

Err:4 https://download.docker.com/linux/debian jammy Release 404 Not Found [IP: 18.67.240.19 443]

Heroku push rejected failed: npm ERR! 404 Not Found: [email protected]. This causes a build fail

ERR_ABORTED 404 (Not Found) - Grunt build

ERR_ABORTED 404 (Not Found) error in VueJS

Angular2 Get error 404 Not found