I am having issues with publishing my npm package to the project gitlab registry.
Here is the gitlab-ci.yaml script
build_npm_package:
stage: build
image: node:15.4
script:
- yarn install
- yarn run pre-publish
- cd dist
- npm config set #NAME:registry https://gitlab.NAME.ca/api/v4/projects/${CI_PROJECT_ID}/packages/npm/
- npm config set //gitlab.NAME.ca/api/v4/projects/${CI_PROJECT_ID}/packages/npm/:_authToken ${CI_JOB_TOKEN}
- npm publish
Running the pipeline, I get the following error
npm ERR! code E404
npm ERR! 404 Not Found - PUT https://gitlab.NAME.ca/api/v4/projects/8/packages/npm/#NAME%2fproject - 404 Not Found
npm ERR! 404
npm ERR! 404 '#NAME/project#1.0.0' 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! /root/.npm/_logs/2021-04-04T23_18_32_289Z-debug.log
Anything helps thanks!
Related
I'm trying to run a npm install epexcharts react-apexcharts command, and get an error that looks like this :
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/epexcharts - Not found
npm ERR! 404
npm ERR! 404 'epexcharts#*' is not in this registry.
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! /var/root/.npm/_logs/2023-02-15T00_48_54_690Z-debug-0.log
I tried to reinstall npm, but seems like the issue remains the same
The error you have is basically telling you that the package which you are looking for does not exist in the npm registry and you can check that yourself here: https://www.npmjs.com/search?q=epexcharts
Or you can simply run the npm command to check if this library exists or not before installing it: npm search epexcharts.
But I think you are writing actually the false command which instead you should write: npm install react-apexcharts.
I can't do
npm install encore
as it returns
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/favicon.json - Not found
npm ERR! 404
npm ERR! 404 'favicon.json#*' 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 It was specified as a dependency of 'runway'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
didn't find anything searching. Any idea?
Thx
when I run sudo npm i -g expo-cli
I got this:
scar#scar-OS:~/Desktop/React-Native-Projects/Final Project/yum-yum-app$ sudo npm i -g expo-cli.
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/expo-cli. - Not found
npm ERR! 404
npm ERR! 404 'expo-cli.#*' is not in this 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! /root/.npm/_logs/2022-05-20T14_12_15_519Z-debug-0.log
I add package as described in docs in second point:
$ npm install #here/maps-api-for-javascript --save
After that I get in package.json:
//...
"dependencies": {
"#here/maps-api-for-javascript": "^1.17.2"
}
//...
After some changes I deploy code to remote server and type:
$ npm install
and get error:
/...
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/#here%2fmaps-api-for-javascript - Not found
npm ERR! 404
npm ERR! 404 '#here/maps-api-for-javascript#1.17.2' 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.
I'm using yarn (v3.2.4):
In this case, you must add the next code to your .yarnrc.yml
nodeLinker: node-modules
npmScopes:
here:
npmPublishRegistry: "https://repo.platform.here.com/artifactory/api/npm/maps-api-for-javascript/"
npmRegistryServer: "https://repo.platform.here.com/artifactory/api/npm/maps-api-for-javascript/"
After, you can do Yarn install.
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/node--sass - Notfound
npm ERR! 404
npm ERR! 404 'node--sass#4.7.2' 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\HARIKA\AppData\Roaming\npm-cache\_logs\2020-05-
27T19_25_06_044Z-debug.log
C:\Users\HARIKA\Desktop\bootstrapassign1\Bootstrap4\conFusion>node-v 'node-v'
is not recognized as an internal or external command,operable program or
batch file.
I am getting this above error while installing node-sass into my windows7 using the command npm install --save-dev node--sass#4.7.2.
Can anyone help me please? Thank you in advance.
You might try reading the error message that NPM is logging:
npm ERR! 404 Not Found - GET https://registry.npmjs.org/node--sass - Notfound
npm ERR! 404
npm ERR! 404 'node--sass#4.7.2' is not in the npm registry.
^^^^^^^^^^
You're trying to install a package named node--sass which doesn't exist in NPM, rather than the desired package, node-sass, which does exist in NPM.