Comments (4)
@ibarapascal,
@tianjidiaobao,
I've found the problem.
Quick answer
Specify path to configuration file relatively to "working folder".
For example, you have the next file structure:
project/
/src
/arkit-config.json
Then you should run:
> npx arkit .\src\ -c ./../arkit-config.json
Why does it work so
When you run arkit through command line, the application sets directory that you want to parse in directory
variable. Then, it builds abosulte path to your config file as directory + config_file
.
So, if you try to run > npx arkit .\src\ -c arkit-config.json
, final path to your config file will be src/arkit-config.json
.
The problem is in file config.ts
here:
Moreover, if you try to work with arkit from arkit's project folder - it works fine...
I will make a commit with description on weekends, now - just short solution.
P.S. @dyatko can you add me in LinkedIn, please. I have a small question :)
from arkit.
the same as me
from arkit.
Hello, I tried to set config through PowerShell and Git Bash - did not work.
UPD: also tried on Ubuntu 16 - did not work
from arkit.
@RostislavDugin Tried your script on Mac, seems the same as before. Any update these days?
from arkit.
Related Issues (20)
- "npx arkit src/ -o arkit.svg " gives npm ERR! errno -4048 HOT 3
- Question - Asking to learn
- Using `class` in a Vue template causes parsing error HOT 5
- Class function part of graph
- Modules with the same name, but in different directories are merged together
- Teleporters HOT 3
- Exclusion does not work HOT 2
- 502 Bad gateway HOT 2
- root paths
- How to show dependencies of npm packages required in project via dependency graph HOT 2
- Arkit crashes when parsing node_modules wrt .js file extensions
- Arkit does not generate architecture visualization HOT 1
- Switch to mermaid.js or reaflow
- Support for Quasar Framework
- Action Required: Fix Renovate Configuration
- Dependency Dashboard
- CloudFront cannot establish a connection with the origin 504
- TypeError: componentsByName[component.name].push is not a function HOT 1
- Problem with module.exports whitout class name
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 arkit.