Skip to content
This repository has been archived by the owner on Jul 6, 2019. It is now read-only.

Npm install failure with node version 6 #212

Open
hlovdal opened this issue Nov 10, 2018 · 0 comments
Open

Npm install failure with node version 6 #212

hlovdal opened this issue Nov 10, 2018 · 0 comments

Comments

@hlovdal
Copy link

hlovdal commented Nov 10, 2018

Running npm install with node.js version 8 and later works fine, but fails with version 6.

Steps to reproduce:

mkdir /tmp/reproduce
cd /tmp/reproduce
wget https://nodejs.org/dist/v6.14.4/node-v6.14.4-linux-x86.tar.xz
tar xJf node-v6.14.4-linux-x86.tar.xz 
export PATH=/tmp/reproduce/node-v6.14.4-linux-x86/bin:$PATH
git clone https://github.com/zkat/npx/
cd npx
npm install

gives the following error

npm ERR! Linux 4.18.16-200.fc28.x86_64
npm ERR! argv "/tmp/reproduce/node-v6.14.4-linux-x86/bin/node" "/tmp/reproduce/node-v6.14.4-linux-x86/bin/npm" "install"
npm ERR! node v6.14.4
npm ERR! npm  v3.10.10
npm ERR! path /tmp/reproduce/npx/node_modules/.staging/@iarna/cli-066f8464
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename

npm ERR! enoent ENOENT: no such file or directory, rename '/tmp/reproduce/npx/node_modules/.staging/@iarna/cli-066f8464' -> '/tmp/reproduce/npx/node_modules/tacks/node_modules/@iarna/cli'
npm ERR! enoent ENOENT: no such file or directory, rename '/tmp/reproduce/npx/node_modules/.staging/@iarna/cli-066f8464' -> '/tmp/reproduce/npx/node_modules/tacks/node_modules/@iarna/cli'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent 

npm ERR! Please include the following file with any support request:
npm ERR!     /tmp/reproduce/npx/npm-debug.log
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant