menu

ZEIT

Our mission is to make cloud computing as easy and accessible as mobile computing. You can find our Next.js community here.

Channels
Team
Posts
Members
Info

Issues with pkg using config.json file

Hello, I am using pkg to build executable package, but i have a config.json file which include tokens and values for variables which are read in main.js but after compiling, i cannot make any changes to config file. Is it a way to package the code but still keep the config file…

thumbsup
0
message-simple
0

Warning Cannot include addon %1 into executable

Hello everyone. After several hours of searching and confusing information about this issue, I couldn't figure it out. I'm creating a .exe of a nodejs app using pkg. When I do that I'm getting this issue: Warning Cannot include addon %1 into executable. The addon must be…

thumbsup
0
message-simple
0

Hello! Does pkg support node 12?

I'm getting this error Error! No available node version satisfies 'node12'

thumbsup
0
message-simple
4

What is the default PKG_CACHE_PATH where node binaries are placed?

I'd like to know this because I am building a Gitlab CUI job and I'd like to know where the downloaded node binaries are saved so that I can cache them. Tx in advance!

thumbsup
0
message-simple
0
Cnaik·36d

Hi Team,

We have observed that the pkg-fetch source(https://github.com/zeit/pkg-fetch) , does not have support for s390x architecture. We tried installing pkg@4.3.4 using npm install. Further running the command "node_modules/pkg/lib-es5/bin.js -t node6-linux-s390x . " it failed due to…

thumbsup
0
message-simple
23

How to collect native add-ons programmatically?

Hi there, The current limitations are clear. My question is; how to collect these native addons programmatically? I thought the result of the exec have this information, as they were logged: …

thumbsup
0
message-simple
0

PKG specific node version on "targets"

Hello everyone. Is it possible to choose a specific version of nodejs on the "targets" option? When I specify "node10", it gets v10.4.1 but the v10 is already on v10.15.3. Thanks!

thumbsup
0
message-simple
0
Pavan·43d

PKG package.json with bin being an object.

Is there a way to handle multiple entry points to the node application? for ex: package.json => "bin": {"app1": "./main1.js", "app2": "./main2.js"} …

thumbsup
0
message-simple
0

Assets not being inferred or included manually

I have an express API application where the POST routes will upload files into the directory structure temporarily. The files are uploaded into a folder called /uploads. In my code I have the following line: which from my understanding of the documentation should auto-detect or…

thumbsup
0
message-simple
8

Fonts as pkg assets

Hello, everyone... so I'm trying to add a font .flf file as an asset, but for some reason, it still isn't getting included with the executable. Path of font: ./node_modules/figlet/fonts/Standard.flf …

thumbsup
0
message-simple
1