vercel / pkg

Package your Node.js project into an executable
https://npmjs.com/pkg
MIT License
24.33k stars 1.01k forks source link

Unable to compile due to node version #1112

Closed reesericci closed 3 years ago

reesericci commented 3 years ago

I have node version v15.12.0 but i get this error when compiling:

Error! No available node version satisfies 'node15'

robertsLando commented 3 years ago

it's not an error, it just means you need to chose a different node version or build your own :)

reesericci commented 3 years ago

what do I do to make it work? @robertsLando

robertsLando commented 3 years ago

Could you use nodjs 12/14? If you need to use node15 you can build it your own (takes some hours)

reesericci commented 3 years ago

yay it worked! I installed 14 and it worked fine