Comments (6)
This will also need to be pushed to NPM after it's fixed.
from ngd.
I take it back. It's a deeper issue. The typo is still a valid fix, but the issue actually revolves around configstore
trying to access ~/.config/configstore/typings.json
and there being an innate permissions issue there, even installing with sudo
.
from ngd.
The error itself:
> [email protected] typings /usr/local/lib/node_modules/angular2-dependencies-graph
> typings install --ambient
/usr/local/lib/node_modules/angular2-dependencies-graph/node_modules/configstore/index.js:54
throw err;
^
Error: EACCES: permission denied, open '/Users/mko/.config/configstore/typings.json'
You don't have access to this file.
at Error (native)
at Object.fs.openSync (fs.js:634:18)
at Object.fs.readFileSync (fs.js:502:33)
at Object.create.all.get (/usr/local/lib/node_modules/angular2-dependencies-graph/node_modules/configstore/index.js:35:26)
at Object.Configstore (/usr/local/lib/node_modules/angular2-dependencies-graph/node_modules/configstore/index.js:28:44)
at Object.<anonymous> (/usr/local/lib/node_modules/angular2-dependencies-graph/node_modules/typings-core/dist/utils/store.js:5:19)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:456:32)
at tryModuleLoad (module.js:415:12)
It should be noted that simply changing the typings.json
file in ~/.config/configstore/
to read/writable doesn't fix the issue.
from ngd.
It looks like you have to set the entire .config
directory to read/writable. Might be worth looking for an alternative to configstore
.
from ngd.
This creating trouble suddenly after upgrading it to typings version but works if you change permission
from ngd.
this issue seems to be related to typings. See related issue typings/typings#269
from ngd.
Related Issues (20)
- (bug): TypeError: Viz is not a function
- (feat) forRoot HOT 1
- add minimum distance between lines HOT 2
- Cannot enlarge memory arrays. HOT 13
- CLI Silent Option Doesn't Work HOT 1
- fix(): remove dependency on gulp-util from ngd-core pacakge HOT 1
- feat: move the build system to Bazel
- NGD unable to differentiate same component name in different moudles
- dot npm package vulnerability (npm audit failing) HOT 7
- parameter for layouting HOT 2
- parametr for filtering what element to render
- highlight the element or relationship on click
- AngularJS Dependency graph
- NGD does not recognise -l or --files option HOT 1
- Since 2.1, `@compodoc/ngd-transformer` now requires Node >= 12.17.0 HOT 2
- Plugin does not support tsconfig.json file with multi-line comments HOT 1
- Arbitrary Code Injection Vulnerability for dependency
- Max call stack size exceeded HOT 2
- Compodoc installation : Pb with ngd-tranformer which download "dot" 2.0.0 beta version
- Question: Is it possible to just show the dependency tree of a given component? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngd.