This command line interface enables you to package your Node.js project into an executable that can be run even on devices without Node.js installed.
Questions tagged [zeit-pkg]
38 questions
0
votes
0 answers
How to run nodejs server in the background when packaged as windows .exe using zeit?
We have nodejs server, packaged as exe using zeit packager. When user double clicks the exe, server gets started, but it keeps the command window open. We wish to start the server in the background. Only action we can expect from the end user is to…

kishor borate
- 158
- 1
- 11
0
votes
1 answer
How to make executable of node project?
I have my project in node.js and express.js. i need to make an executable of node.js project.
Project configuration :
Using ES6 features : import and dynamic import, and for this babel.js , i am using.
Project status :
Project is running…

uds
- 9
- 3
0
votes
2 answers
Node.js - Create executable with PKG
I have an application in node.js and now I'm trying to create a executable to run the application without all project files but I'm having problems when I try use pkg (https://github.com/zeit/pkg#detecting-assets-in-source-code).
In package.json I…

user3242861
- 1,839
- 12
- 48
- 93
0
votes
1 answer
using PKG with featherjs app
Has anyone ever tried using pkg with featherjs before? I'm having trouble getting it to work.
I get the following error when running my executable:
WARNING: No configurations found in configuration directory:/../project/config
WARNING: To disable…

bryan
- 8,879
- 18
- 83
- 166
0
votes
1 answer
transaction code "require('@arangodb').db;" can't be packaged
zeit-pkg is a tool for package nodejs code. zeit-pkg also support require('arangojs'). But zeit-pkg returned error for meet const db = require('@arangodb').db; zeit-pkg returns error.
> Error! TypeError: Cannot read property '0' of null
at…

Hansen
- 101
- 7
0
votes
1 answer
Create single binary from express + react app with zeit pkg?
How do I package an express + react folderstructure into a single binary with zeit?
I can run each of them like this:
node server.js
npm run start client
I can start both like this:
scripts element in package.json:
"myapp": "concurrently…

Christopher Suarez
- 150
- 2
- 8
0
votes
0 answers
Reverse engineering a node app that used zeit/pkg to "compile" it
I have an app (that I believe has malware in it, but I wish to confirm before I go ahead and use it) that has been compiled/packaged using Zeit's PKG.
It seems to use v8's snapshot feature to obfuscate the code... any way to reverse this? I know it…

Nai Maen
- 1
- 1
0
votes
1 answer
Package node.js app as cross-platform executable, not for desktop app
There are a lot of questions on this topic, but they don't seem to distinguish between executables for desktop or server-side apps. I suppose my first question would be: what's the difference? For example, Zeit/pkg says they are a "node.js binary…

Andrew
- 2,368
- 1
- 23
- 30