vercel/pkg

Failed to compile node v18.5.0-win-x86

kerwenzhang opened this issue · 3 comments

What version of pkg are you using?

5.8.1

What version of Node.js are you using?

18.14.0

What operating system are you using?

Windows 10

What CPU architecture are you using?

x86_64

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

node 18.5.0-win-x86

Describe the Bug

I compiled pkg\examples\express using node.js v18.14.0 x86. The package.json was modified to:

{
  "name": "express-example",
  "license": "ISC",
  "bin": "index.js",
  "dependencies": {
    "express": "4.15.2"
  },
  "pkg": {
    "assets": [
      "views/**/*"
    ],
    "targets": [
      "node18-win-x86"
    ]
  }
}

When run pkg . it started to download and compile node 18.5.0-win-x86
image

But it stopped during compile
image

Going to the node folder, I could run .\vcbuild.bat successfully.

Expected Behavior

Should compile sucessfully.

To Reproduce

Download pkg 5.8.1
Goto examples\express, run npm install
modify package.json
run pkg .

This issue is stale because it has been open 90 days with no activity. Remove the stale label or comment or this will be closed in 5 days. To ignore this issue entirely you can add the no-stale label

This issue is now closed due to inactivity, you can of course reopen or reference this issue if you see fit.