Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Unable to run the generated outside of the project root folder #884
Comments
|
Your script wants to open package.json at some point, but you didn't explicitly include it i n your pkg config. |
|
How do I explictly include
|
|
Then you do not propertly refer to the snapshot filesystem. Make sure that your path to the package.json is starting with the __dirname in your script. |
Description
If I package my node application into an executable and run the executable within the project root folder, it works fine. If I move the executable to another directory, it fails to start with the following error:
Any idea why this might be happening and how can I run the executable in a different folder?