pkg icon indicating copy to clipboard operation
pkg copied to clipboard

Linux result says permission denied when running it.

Open Grayseon opened this issue 3 years ago • 0 comments

What version of pkg are you using?

5.8.0

What version of Node.js are you using?

18.7.0

What operating system are you using?

macOS

What CPU architecture are you using?

arm64

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

node18-linux-x64

Describe the Bug

When running the result of a Linux build, it gives the error: "Permission denied" I am running this on a virtual machine.

Expected Behavior

It should say "Hello World" when run

To Reproduce

Create a new nodejs project and a file named "index.js" with console.log('Hello World!') in it. Then run pkg index.js and run the result in a Linux environment.

Grayseon avatar Aug 24 '22 03:08 Grayseon