'SASS install problems
I'm working through a tutorial on npm and I've hit a roadblock installing node on my Mac running High Serria
I ran:
npm install sass
and got this:
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile
npm WARN old lockfile This is a one-time fix-up, please be patient...
npm WARN old lockfile
npm ERR! code EACCES
npm ERR! syscall rename
npm ERR! path /Users/Andy/node_modules/ansi-gray
npm ERR! dest /Users/Andy/node_modules/.ansi-gray-NrmG8bey
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, rename '/Users/Andy/node_modules/ansi-gray' -> '/Users/Andy/node_modules/.ansi-gray-NrmG8bey'
npm ERR! [Error: EACCES: permission denied, rename '/Users/Andy/node_modules/ansi-gray' -> '/Users/Andy/node_modules/.ansi-gray-NrmG8bey'] {
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'rename',
npm ERR! path: '/Users/Andy/node_modules/ansi-gray',
npm ERR! dest: '/Users/Andy/node_modules/.ansi-gray-NrmG8bey'
npm ERR! }
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.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/Andy/.npm/_logs/2022-02-23T19_29_32_379Z-debug-0.log
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
