NPM 5.x and 6.x broken on 7.3?

Use this board to ask questions or have discussions with other Profound.js users.
TaskForce_Kerim
New User
Posts: 16
Joined: Mon Jul 02, 2018 7:56 am
First Name: Kerim
Last Name: Güney
Company Name: Task Force IT-Consulting GmbH
City: Dortmund
Zip / Postal Code: 44369
Country: Germany
Contact:

NPM 5.x and 6.x broken on 7.3?

Post by TaskForce_Kerim »

I installed node 8 through the RPM packages but it appears that the npm that comes with it doesn't work right on 7.3. It does everything as it should but fails to exit. This is true for any npm command. I tried running it with --verbose to see what's happening and the output is below:

Code: Select all

$ npm init -y --verbose
npm info it worked if it ends with ok
npm verb cli [ '/QOpenSys/pkgs/lib/nodejs8/bin/node',
npm verb cli   '/QOpenSys/pkgs/bin/npm',
npm verb cli   'init',
npm verb cli   '-y',
npm verb cli   '--verbose' ]
npm info using npm@6.2.0
npm info using node@v8.11.3
Wrote to /home/GUENEY/code/package.json:

{
  "name": "code",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [],
  "author": "",
  "license": "ISC"
}


npm info init written successfully
npm verb exit [ 0, true ]


Does anybody have the same issue and an idea what might be causing this?

It works just fine in 7.2. I have the same 6.2.0 version on both machines.

Who is online

Users browsing this forum: No registered users and 2 guests