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

Crashes with worker_threads

Hi guys, we package our node.js app with target "node12-linux-x64" and are using worker_threads (which is supposed to be stable under Node 12) in the code. Whenever new Worker(...) is called, the app crashes without any error messages and reboots again. Under dev mode this does…

thumbsup
0
message-simple
0

Adding worker_threads

Hi, there I have a project that requires worker threads and I am currently using v10.17.0 for node, so i normally launch my script with --exprimental-worker argument before the entry point like "node --experimental-worker main.js". My question is that how can I use this argument…

thumbsup
0
message-simple
2

Module could not be found

I am currently trying to bundle an application in order to be able to distribute it. However, I encounter a problem pkg . -t node10-win-x64 --out-path .\dist\ After research online, it was suggested to place the canvas.node file in the output folder where my .exe file is - in my…

thumbsup
0
message-simple
0

opn and open modules

i know there are issues with the open module, but why would there be an issue with xdg-open thats bundled with opn as that seems to be handled by pkg via the dictionaries?

thumbsup
0
message-simple
0
·117d# PKG

ETA on Node13?

Many bugs with node12 pkg atm!!!

thumbsup
2
message-simple
2

Questions about pkg,

I have built a tool for my self, in node, and have built with pkg, but I was wondering if there was a way I could keep console window open, so I could drag something into the window, or drag something onto the executable.

thumbsup
0
message-simple
0

Static linking

I was wondering if there is an option to do static linking. I have successfully created an executable that runs on Raspberry Pi with Ubuntu, but I would love to run it in a busybox env where most of the dynamically linked libraries do not exist.

thumbsup
1
message-simple
6

Some questions in using PKG

Some questions prevent my process in use PKG: https://stackoverflow.com/questions/58296095/how-can-i-build-static-server-websocket-server-in-one-exe-file-by-pkg#

thumbsup
1
message-simple
1

Mac App

Is PKG can be use to create app for mac?

thumbsup
0
message-simple
1

Source code protection

I was forwarded to PKG from Enclose's GitHub repo. In their ReadME it talks about source code protection, do PKG provide that as well?

thumbsup
0
message-simple
0