راکت

مشکل در نصب bower و gulp روی سیستم عامل مک

2 پاسخ

سلام دوستان وقت بخیر
من هر کاری نمیکنم نمیتونم bower و gulp رو توی پروژه لاراول نصب کنم و این خطا رو بهم میده
npm i bower -g
npm WARN deprecated bower@1.8.8: We don't recommend using Bower for new projects. Please consider Yarn and Webpack or Parcel. You can read how to migrate legacy project here: https://bower.io/blog/2017/how-to-migrate-away-from-bower/
npm WARN checkPermissions Missing write access to /Users/mrlast/.npm-global/lib/node_modules/bower
npm ERR! path /Users/mrlast/.npm-global/lib/node_modules/bower
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access '/Users/mrlast/.npm-global/lib/node_modules/bower'
npm ERR! { [Error: EACCES: permission denied, access '/Users/mrlast/.npm-global/lib/node_modules/bower']
npm ERR! stack:
npm ERR! 'Error: EACCES: permission denied, access \'/Users/mrlast/.npm-global/lib/node_modules/bower\'',
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/Users/mrlast/.npm-global/lib/node_modules/bower' }
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 (though this is not recommended).

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/mrlast/.npm/_logs/2019-07-23T06_42_08_978Z-debug.log

ممنون میشم کمک کنید
سپاس

کامبیز
کامبیز
@kambizvb6
ثبت پرسش جدید

پاسخ‌ها

2
Alimotreb
Alimotreb
@Alimotreb

تخصص: کانفیگ سرور و برنامه نویس

سلام
@kambizvb6

ورژن نود شما چند هست؟

کامبیز
کامبیز
@kambizvb6

سلام و عرض ادب مرسی از پاسختون
Node.js v10.16.0
از خودت سایتش دانلود کردم

شاید پاسخ شما همین‌جا باشد

برای ارسال پاسخ لازم است وارد شده یا ثبت‌نام کنید

ورود یا ثبت‌نام