mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2026-02-07 00:24:06 +00:00
EACCESS error on aspnetcore-spa generator install #666
Closed
opened 2025-08-09 17:17:10 +00:00 by fergalmoran
·
0 comments
No Branch/Tag Specified
master
rybrande/masterToSrc
pakrym/no-console-fb
release/2.2
pakrym/remove-obsole-api-usage
maestro/release/2.2
maestro/master
release/2.1
release/2.0
rybrande/MergeRelease21IntoDev
rel/2.0.0-extensions
angular-animations-example
fix-angular-material-publishing
rel/2.0.0-templates
httpwithstatetransfer-example
rel/2.0.0-preview2-templates
aspnet-webpack-react-2.x
angular4-prerender-data-example
version-1.x
angular2-lazy-loading-example
581-isomorphic-react-cookies-example
example-using-typescript-paths-for-494
v1.0.x
angular2-materialize-example
redux-typed-1-x
primeng-example
font-awesome-example
karma-testing-example
2.2.0
2.2.0-preview3
2.2.0-preview2
2.2.0-preview1
2.1.1
2.1.0
2.0.4
2.1.0-rc1-final
2.1.0-preview2-final
2.0.3
2.1.0-preview1-final
2.0.2
2.0.1
rel/2.0.0
rel/2.0.0-preview2
Labels
Clear labels
2 - Working
2 - Working
3 - Done
3 - Done
3 - Done
3 - Done
3 - Done
3 - Done
3 - Done
angular
angular
angular
angular
angular
bug
bug
bug
bug
bug
bug
bug
bug
bug
core
core
core
core
core
core
core
duplicate
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
external
external
P1
P1
P1
P1
P1
P1
P2
P2
P2
P2
P2
P2
P2
P2
P2
PRI: 1 - Required
react
react
task
task
up-for-grabs
up-for-grabs
up-for-grabs
waiting
waiting
waiting
waiting
No Label
Milestone
No items
No Milestone
Projects
Clear projects
No project
Assignees
fergalmoran
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: github/JavaScriptServices#666
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @unnsteinngardars-zz on 6/12/2017
When trying to install the aspnetcore-spa generator I get a bunch of warnings and errors, the errors are pointing to me having a permission issue and some of the warnings are informing me that some directories were not found.
➜ ~ npm i generator-aspnetcore-spa
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN enoent ENOENT: no such file or directory, open '/Users/unnsteinngardarsson/package.json'
npm WARN unnsteinngardarsson No description
npm WARN unnsteinngardarsson No repository field.
npm WARN unnsteinngardarsson No README data
npm WARN unnsteinngardarsson No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: lodash@4.17.4 (node_modules/ast-query/node_modules/lodash):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, open '/Users/unnsteinngardarsson/node_modules/.staging/lodash-5c2e9596/_hashClear.js'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: lodash@4.17.4 (node_modules/yeoman-environment/node_modules/lodash):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, open '/Users/unnsteinngardarsson/node_modules/.staging/lodash-0364bfd0/intersectionWith.js'
npm ERR! path /Users/unnsteinngardarsson/node_modules/.staging/generator-aspnetcore-spa-a1d41fa9/.npmignore
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall open
npm ERR! Error: EACCES: permission denied, open '/Users/unnsteinngardarsson/node_modules/.staging/generator-aspnetcore-spa-a1d41fa9/.npmignore'
npm ERR! { Error: EACCES: permission denied, open '/Users/unnsteinngardarsson/node_modules/.staging/generator-aspnetcore-spa-a1d41fa9/.npmignore'
npm ERR! cause:
npm ERR! { Error: EACCES: permission denied, open '/Users/unnsteinngardarsson/node_modules/.staging/generator-aspnetcore-spa-a1d41fa9/.npmignore'
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'open',
npm ERR! path: '/Users/unnsteinngardarsson/node_modules/.staging/generator-aspnetcore-spa-a1d41fa9/.npmignore' },
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'open',
npm ERR! path: '/Users/unnsteinngardarsson/node_modules/.staging/generator-aspnetcore-spa-a1d41fa9/.npmignore' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/unnsteinngardarsson/.npm/_logs/2017-06-12T23_41_08_880Z-debug.log
I have tried using the -g flag to install globally, I have also changed the owner of the /usr/local folder and all its subfolders to my account and also changed the permissions for all folders and files inside /usr/local aswell. I also made a folder on my desktop trying to install it there but nothing seems to work, I always get the same warnings and errors.
I have tried to install other generators such as the aspnet generator and aspnet-spa and that seems to be working fine.
I am really banging my head against the wall at this moment and am really hoping that someone can help me resolve this issue.
