When I run npm run bundle, First I got a error about
D:\code\other\carlo\examples\systeminfo>pkg package.json
> pkg@4.3.4
> Targets not specified. Assuming:
node11-linux-x64, node11-macos-x64, node11-win-x64
> Error! No available node version satisfies 'node11'
And I found a related issue on https://github.com/zeit/pkg/issues/568,
So I changed the pkg options to use a specified --targets node10-win-x64 then it packaged successfully.
However when I run the executable generated by pkg package.json --targets node10-win-x64, I got the following errors when startup process.
When I run
npm run bundle
, First I got a error aboutAnd I found a related issue on https://github.com/zeit/pkg/issues/568, So I changed the pkg options to use a specified
--targets node10-win-x64
then it packaged successfully.However when I run the executable generated by
pkg package.json --targets node10-win-x64
, I got the following errors when startup process.