vercel / pkg

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

Error! No available node version satisfies 'node20' #2014

Closed filefi closed 8 months ago

filefi commented 10 months ago

What version of pkg are you using?

5.8.1

What version of Node.js are you using?

v20.9.0

What operating system are you using?

Windows

What CPU architecture are you using?

x86_64

What Node versions, OSs and CPU architectures are you building for?

node-v20.9.0-win-x64

Describe the Bug

node-v20.9.0 is already LTS. but still get this error:

Error! No available node version satisfies 'node20'

Expected Behavior

output single .exe file

To Reproduce

image

chstappert commented 10 months ago

Have a look here: https://github.com/vercel/pkg/discussions/1972#discussioncomment-7113223

damartripamungkas commented 8 months ago

try with this fork repo : https://github.com/yao-pkg/pkg-fetch

milkcoke commented 8 months ago

bump..

ronak1009 commented 8 months ago

I am too facing the similar issue with node 20 on Ubuntu 20.04. Max I could try to pkg is with node18-linux-x64. Is this still under development?

Using: node v20.10 for ubuntu

> pkg index.js
> pkg@5.8.1
> Targets not specified. Assuming:
  node20-linux-x64, node20-macos-x64, node20-win-x64
> Error! No available node version satisfies 'node20'

pkg index.js -t node20-linux-x64
> pkg@5.8.1
> Error! No available node version satisfies 'node20'