我正在尝试在我的 MAC 上安装 Mjml 电子邮件营销框架,但我一直在下面收到此错误
在此处输入代码
MacBook-Air:// desina$ npm init -y && npm install mjml
npm ERR! path /package.json
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall open
npm ERR! Error: EACCES: permission denied, open '/package.json'
npm ERR! { [Error: EACCES: permission denied, open '/package.json']
npm ERR! stack: 'Error: EACCES: permission denied, open \'/package.json\'',
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'open',
npm ERR! path: '/package.json' }
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/desina/.