مشکل نصب Global Gulp بر روی سیستم مک

پرسیده شده
فعالیت 1116 روز پیش
دیده شده 355 بار
0

با سلام
هنگام نصب Global Gulp بر روی سیستم مک ارور زیر دریافت می شود:
npm ERR! Error: EACCES: permission denied, access '/usr/local/lib/node_modules'
npm ERR!  { Error: EACCES: permission denied, access '/usr/local/lib/node_modules'
npm ERR!   stack: 'Error: EACCES: permission denied, access \'/usr/local/lib/node_modules\'',
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'access',
npm ERR!   path: '/usr/local/lib/node_modules' }

npm ERR! 
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR! 
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.

فایل پیوست

سمیرا آقاجانی
سمیرا آقاجانی

8 فروردین 00

0
حذف شده

سلام این موارد برای سطوح دسترسی و امنیتی سیستم عامل مک هست و من اطلاعای ندارم ارور ها رو در گوگل سرچ کنید ببینید دلیلش چی هست

فایل پیوست

وحید صالحی

توسط

وحید صالحی

9 فروردین 00

0
حذف شده

سلام و با عرض تشکر
سرچ انجام داده بودم و  راه حل ها استفاده از کد sudo npm install gulp-cli -g بود ولی مشکل را حل نکرد.

بهرحال از پاسخگویی شما سپاسگزارم.

فایل پیوست

سمیرا آقاجانی

توسط

سمیرا آقاجانی

9 فروردین 00