Code Monkey home page Code Monkey logo

Comments (4)

RostislavDugin avatar RostislavDugin commented on May 22, 2024 1

@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:
image

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.

jackyang9451 avatar jackyang9451 commented on May 22, 2024

the same as me

from arkit.

RostislavDugin avatar RostislavDugin commented on May 22, 2024

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.

ibarapascal avatar ibarapascal commented on May 22, 2024

@RostislavDugin Tried your script on Mac, seems the same as before. Any update these days?

from arkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.