Pkg: Support node 10

Created on 7 May 2018  路  7Comments  路  Source: vercel/pkg

I've installed node using nvm.

$ node -v
v10.0.0

$ nvm ls
->      v10.0.0
default -> 10.0.0 (-> v10.0.0)
node -> stable (-> v10.0.0) (default)
stable -> 10.0 (-> v10.0.0) (default)
iojs -> N/A (default)
lts/* -> lts/carbon (-> N/A)
lts/argon -> v4.9.1 (-> N/A)
lts/boron -> v6.14.2 (-> N/A)
lts/carbon -> v8.11.1 (-> N/A)

$ pkg index.js
> [email protected]
> Targets not specified. Assuming:
  node10-linux-x64, node10-macos-x64, node10-win-x64
> Error! No available node version satisfies 'node10'

Most helpful comment

Any update on when this will be completed?

All 7 comments

I am receiving same issue when trying to use PKG (install from npm)

Chriss-Mac-mini:backend chris$ pkg .
> [email protected]
> Error! No available node version satisfies 'node10'
Chriss-Mac-mini:backend chris$ clear

I assume the problem is that no precompiled base binary exists for node 10

I tried adding support for node 10.1.0 over at https://github.com/zeit/pkg-fetch/pull/36. If anyone could take a look, I'd appreciate it!

Any update on when this will be completed?

+1

It could be a great feature for pkg.... I'm nor sure it's here to post that comment... possible in pkg-fetch that contain v8 patches

Fixed in 4.3.2. Thanks to @shawwn!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

j-brown picture j-brown  路  4Comments

erikd picture erikd  路  3Comments

serzhiio picture serzhiio  路  3Comments

ndrantotiana picture ndrantotiana  路  4Comments

hellower picture hellower  路  3Comments