Select your project type and use any boilerplate to get started! a project where you dont need any manually boilerplate adding phase in your software development phases
In this package project link the main file is running when the package is run is dist/cli.js. Now, this file needs to get a projects from one upper directory. The method I implemented in node is
But this is checking from in the folder from where the command is running or from the location of the user’s terminal. Not from where this package is installed.
I want a node method or something which can get me the location of the project installed (global location as it is global package) not the location from where it is called.
This is a major issue and till its open , The tool is not working properly.
The next patch release will be resolving this issue.
In this package project link the main file is running when the package is run is
dist/cli.js
. Now, this file needs to get a projects from one upper directory. The method I implemented in node isBut this is checking from in the folder from where the command is running or from the location of the user’s terminal. Not from where this package is installed.
I want a node method or something which can get me the location of the project installed (global location as it is global package) not the location from where it is called.
This is a major issue and till its open , The tool is not working properly.
The next patch release will be resolving this issue.
NPM forum link