NPM 5.x and 6.x broken on 7.3?
Posted: Tue Jul 17, 2018 7:07 am
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:
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.
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.