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

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

vapid site deployment

Just wondering if anyone has successfully deployed a vapid site (vapid.com) to zeit now? Most of the examples I have seen are deploying to linux containers (e.g. Digital Ocean droplets). Essentially vapid runs a nodejs app that allows you to edit content as administrator and…

thumbsup
0
message-simple
1

Unable to run .exe file (generated by pkg)

I have created an executable file for all platform with the help of pkg. It runs perfectly on Linux and Macos . but I can not run it on windows. Please help if anyone face this kind of problem.

thumbsup
1
message-simple
12

2 Problems, 1 Question

I have a node app that works fantastically when running it with node . But when I attempt to use pkg to make executables for Linux, Mac OS and Windows I come across 2 problems 1. …

thumbsup
0
message-simple
0

node_modules not installed when running pkg from node.js code on Linux.

Anyone familiar with the situation that same code that packs an node.js app on Linux fails to install the node modules. While Windows works? Details can be shared.

thumbsup
0
message-simple
22

Warning Cannot resolve '__dirname + '/test''

Hello, I have a main.js with a require(__dirname + '/test') statement. I also have a package.json file which looks like this: …

thumbsup
0
message-simple
0

Can anyone help me ?

When i do pkg . in cmd, it says this but ive done npm i -g pkg

thumbsup
0
message-simple
1
Deleted·75d# PKG

Running a child process bash script

Hey guys sorry if this has been answered before but i can't find any answer. I'm trying to run a child process that runs a bash script that runs an executable. I've packaged the executable as an asset, and it has indeed been copied into the bundled pkg, however the child process…

thumbsup
0
message-simple
0

Documentation for dictionary patches

Related to my issue #736, but I can't find any documentation on how package patches / the dictionary directory as a whole functions in pkg. I'd love to make a PR for a package I depend on, but I'm not even sure where to start besides loosely referencing existing patches for…

thumbsup
0
message-simple
0

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