Closed 1hcsaba closed 4 years ago
...
cwd: process.cwd(),
...
seems to fix the issue, but.. maybe parentDir
is used for a reason?
That is a problem for pkg
to fix. Meow assumes package.json exists as it always does for CLIs running in normal Node.js. Open an issue on pkg
instead.
Hi!
I am currently building a simple cli and using this lib with pkg (https://www.npmjs.com/package/pkg) to make an .exe after.
The issue is that it cannot find the package.json in the .exe form (i suppose)
It may require further investigation why, but for now i've commented out the look up at my side.