TypeError: Cannot read property 'node' of undefined
I'm trying to install NPM. I first ran brew install node then curl -O https://www.npmjs.org/install.sh then ~ % sh install.sh this is what I get tar=/usr/bin/tar version: bsdtar 2.8.3 - libarchive 2.8.3 install npm@latest fetching: http://registry.npmjs.org/npm/-/npm-2.0.2.tgz /private/var/folders/92/2l_j234x7n7bys14466b4dcr0000gn/T/npm.12852/package/bin/read-package-json.js:18 val = val[f] ^ TypeError: Cannot read property 'node' of undefined at /private/var/folders/92/2l_j234x7n7bys14466b4dcr0000gn/T/npm.12852/package/bin/read-package-json.js:18:16 at Array.forEach (native) at /private/var/f
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.