Created
November 7, 2019 11:29
-
-
Save beckyconning/4893388fa27976c2ea2e8c79c181c3cc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
beckyconning@Beckys-MacBook-Pro slamx % npm install -g purescript@latest | |
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules | |
npm ERR! path /usr/local/lib/node_modules | |
npm ERR! code EACCES | |
npm ERR! errno -13 | |
npm ERR! syscall access | |
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: | |
npm ERR! '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 (though this is not recommended). | |
npm ERR! A complete log of this run can be found in: | |
npm ERR! /Users/beckyconning/.npm/_logs/2019-11-07T11_28_14_352Z-debug.log | |
beckyconning@Beckys-MacBook-Pro slamx % sudo npm install -g purescript@latest | |
Password: | |
/usr/local/bin/purs -> /usr/local/lib/node_modules/purescript/purs.bin | |
> [email protected] postinstall /usr/local/lib/node_modules/purescript | |
> install-purescript --purs-ver=0.13.4 | |
Error: EACCES: permission denied, mkdtemp '/usr/local/lib/node_modules/purescript/node-purescript-Z8p4Bb' | |
(node:34051) UnhandledPromiseRejectionWarning: Error: EACCES: permission denied, open '/Users/beckyconning/Library/Caches/purescript-npm-installer-nodejs/index-v5/90/cc/afa51ff139146ebe0e8b2b0a26d78342d4cbeb1020f4d3f80c109c4b5b7d' | |
(node:34051) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) | |
(node:34051) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. | |
npm ERR! code ELIFECYCLE | |
npm ERR! errno 1 | |
npm ERR! [email protected] postinstall: `install-purescript --purs-ver=0.13.4` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the [email protected] postinstall script. | |
npm ERR! This is probably not a problem with npm. There is likely additional logging output above. | |
npm ERR! A complete log of this run can be found in: | |
npm ERR! /Users/beckyconning/.npm/_logs/2019-11-07T11_28_35_004Z-debug.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment