zkat / npx

execute npm package binaries (moved)

Home Page:https://github.com/npm/npx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

i cant install angular in Mac Os pls help me

sadin69 opened this issue · comments

ABMs-MacBook-Pro:~ abmrocknuzzaman$ sudo npm install -g @angular/cli
Error: EPERM: operation not permitted, mkdir '/usr/abmrocknuzzaman'
TypeError: Cannot read property 'get' of undefined
at errorHandler (/usr/local/lib/node_modules/npm/lib/utils/error-handler.js:205:18)
at /usr/local/lib/node_modules/npm/bin/npm-cli.js:83:20
at cb (/usr/local/lib/node_modules/npm/lib/npm.js:224:22)
at /usr/local/lib/node_modules/npm/lib/npm.js:262:24
at /usr/local/lib/node_modules/npm/lib/config/core.js:81:7
at Array.forEach ()
at /usr/local/lib/node_modules/npm/lib/config/core.js:80:13
at f (/usr/local/lib/node_modules/npm/node_modules/once/once.js:25:25)
at afterExtras (/usr/local/lib/node_modules/npm/lib/config/core.js:178:20)
at /usr/local/lib/node_modules/npm/node_modules/mkdirp/index.js:35:29
at /usr/local/lib/node_modules/npm/node_modules/mkdirp/index.js:47:53
at /usr/local/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:284:29
at FSReqWrap.oncomplete (fs.js:149:21)
/usr/local/lib/node_modules/npm/lib/utils/error-handler.js:205
if (npm.config.get('json')) {
^

TypeError: Cannot read property 'get' of undefined
at process.errorHandler (/usr/local/lib/node_modules/npm/lib/utils/error-handler.js:205:18)
at process.emit (events.js:182:13)
at process._fatalException (internal/bootstrap/node.js:435:27)

You want the npm issue tracker.

yes pls..... what can i do now....

Report this issue over there. Here is for issues with npx not npm.