registry=http://nexus.company.com:8081/repository/npm-group/
_auth=************************************
npm config set registry http://nexus.company.com.no:8081/repository/npm-group/
npm login --registry=http://nexus.company.com:8081/repository/npm-group/
sverre@machine:~/workspace2/projectA> npm6 search kind
No match found for "kind"
sverre@machine:~/workspace2/projectA> npm6 search kind
npm WARN notice update to the newest npm client for improved search results: npmjs.com/get-npm
NAME DESCRIPTION AUTHOR DATE VERSION KEYWORDS
@konfirm/checksum Calculate checksums on any kind of value, sorting keys for… =rogier.spieker 2017-12-22 1.0.1
I have set up our Nexus 3 with NPM repositories, but I cannot get search with npm to work.Followed the setup guide from this blog post:https://blog.sonatype.com/using-nexus-3-as-your-repository-part-2-npm-packagesNexus is configured with npm-group, npm-inhouse, npm-registry and npm-yarn-registry.npm-registry (proxy) => http://registry.npmjs.orgnpm-yarn-registry (proxy) => https://registry.yarnpkg.comcat ~/.npmrc
registry=http://nexus.company.com:8081/repository/npm-group/
_auth=************************************An older blog post showed how to set this up with the NPM command:
npm config set registry http://nexus.company.com.no:8081/repository/npm-group/
npm login --registry=http://nexus.company.com:8081/repository/npm-group/cat ~/.npmrcI have tried with both of these slightly different npmrc configurations.sverre@machine:~/workspace2/projectA> npm6 search kind
No match found for "kind"Removing the registry from ~/.npmrcsverre@machine:~/workspace2/projectA> npm6 search kind
npm WARN notice update to the newest npm client for improved search results: npmjs.com/get-npm
NAME DESCRIPTION AUTHOR DATE VERSION KEYWORDS
@konfirm/checksum Calculate checksums on any kind of value, sorting keys for… =rogier.spieker 2017-12-22 1.0.1Running npm install works though:sverre@machine:~/workspace2/projectA> npm6 install
/home/sverre/workspace2/projectA
├─┬ ch...@1.1.3
│ ├── ansi-...@2.2.1
sverre@machine:~/workspace2/projectA> npm6 list
/home/sverre/workspace2/projectA
├─┬ ch...@1.1.3
│ ├── ansi-...@2.2.1After running npm install the Nexus NPM repository has now cached several packages
--
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users+unsubscribe@glists.sonatype.com.
To post to this group, send email to nexus...@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/e27c3dc9-15e3-4d10-b9f0-2ef4db8b4e06%40glists.sonatype.com.
For more options, visit https://groups.google.com/a/glists.sonatype.com/d/optout.
What npm version is this? ( npm --version ) Try upgrading to the latest npm client 4.x or 5.x / Node and Nexus 3.8.0 - latest versions of Nexus 3.7.0+ support the new search resource endpoint that recent npm versions require. This WARN from client suggests you are using an old npm client version that does not support this resource.Make sure the npm-group contains at least the npm-registry ( proxy) as a member.
sverre@linuxm:~> npm --version
3.10.10
tirsdag 13. februar 2018 14.06.31 UTC+1 skrev Peter Lynch følgende:What npm version is this? ( npm --version ) Try upgrading to the latest npm client 4.x or 5.x / Node and Nexus 3.8.0 - latest versions of Nexus 3.7.0+ support the new search resource endpoint that recent npm versions require. This WARN from client suggests you are using an old npm client version that does not support this resource.Make sure the npm-group contains at least the npm-registry ( proxy) as a member.
sverre@linuxm:~> npm --version
3.10.10
Running Nexus 3.8.0Group npm-group contains both repositories of NPM registry I set up. Both NPM and YARN works fetching and cached packages in Nexus.
Running OpenSUSE Leap 42.3 on client which has installed npm6-6.12.2-6.1 and nodejs6-devel-6.12.2-6.1
I cannot find any packages which will give me a newer npm.
--
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users+unsubscribe@glists.sonatype.com.
To post to this group, send email to nexus...@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/c8aa27b3-0227-41a1-90be-7cd821a6e32e%40glists.sonatype.com.
On Tue, Feb 13, 2018 at 4:26 PM, Sverre Moe <sverr...@gmail.com> wrote:tirsdag 13. februar 2018 14.06.31 UTC+1 skrev Peter Lynch følgende:What npm version is this? ( npm --version ) Try upgrading to the latest npm client 4.x or 5.x / Node and Nexus 3.8.0 - latest versions of Nexus 3.7.0+ support the new search resource endpoint that recent npm versions require. This WARN from client suggests you are using an old npm client version that does not support this resource.Make sure the npm-group contains at least the npm-registry ( proxy) as a member.
sverre@linuxm:~> npm --version
3.10.10
Running OpenSUSE Leap 42.3 on client which has installed npm6-6.12.2-6.1 and nodejs6-devel-6.12.2-6.1I cannot find any packages which will give me a newer npm.Install from source? http://nodejs.orgor install using npm itself?npm -d install -g npm@4.6.1
npm -d install -g npm@5.6.0