13
questions
0
votes
0
answers
20
views
Error [ERR_INSPECTOR_NOT_AVAILABLE]: Inspector is not available, while using vercel/pkg and pm2 in nodejs
I have a NodeJS CLI application built using commander, I am using vercel's pkg to create executables.
Now, I starting a localserver using express on a particular command like this:-
program
....
0
votes
0
answers
37
views
Why *.pkg generated by "productbuild --component" could be installed but no app icon in LaunchPad on macOS?
On macOS, I made a *.app which is signed, then I used the following commands to generate a *.pkg:
productbuild --component a.app /Applications a1.pkg
productsign --timestamp --sign "*" a1....
0
votes
0
answers
24
views
How to properly auto-update MacOS app using pkg?
I have faced some inconvenience performing auto-update with .pkg (installer.app) on my Qt app.
Update sequence:
Check against server if new version available
Download installer (.pkg)
Run installer ...
1
vote
1
answer
59
views
How to Include EJS Template Files in a Node.js Executable
I'm developing a Node.js web application using Express and EJS as the view engine. My goal is to create a single executable file that I can run on my webserver without needing to copy any additional ...
2
votes
0
answers
34
views
productbuild create an .pkg that install in the current directory, not the `install-path`
productbuild --sign "Developer ID Installer:" --component MyApp.app /Applications/ MyApp.pkg
When running MyApp.pkg MyApp.app will be installed in the current directory, but not in /...
0
votes
1
answer
24
views
How to generate a .pkg from a .app that is signed and notarized?
I have a .app that is signed and notarized:
spctl --assess --type execute --verbose MyApp.app
MyApp.app: accepted
source=Notarized Developer ID
I want to create a .pkg to distribute my app.
pkgbuild -...
0
votes
0
answers
29
views
[Bug]: Electron .pkg throwing JS error when installed through TEST FLIGHT
Electron Version
19.0.3
What operating system are you using?
macOS
Operating System Version
Sonoma 14.5
What arch are you using?
arm64 (including Apple Silicon)
Expected Behavior
Application is ...
0
votes
1
answer
76
views
How to force the MacOS PKG to ask the user to move the installer to trash after the install?
does anybody know how to setup the MacOS (M3, Sonoma 14.4.1) installer (pkg file created by pkgbuild/productbuild, contained within dmg) to automatically ask the user to move the installer (the whole ...
1
vote
0
answers
50
views
page.evaluateOnNewDocument doesn't work after compilation PKG
this code works as it should if you run it through node index.js, but after compilation pkg stops working.
const puppeteer = require('puppeteer-extra');
const StealthPlugin = require('puppeteer-extra-...
0
votes
0
answers
26
views
How to request administrator rights?
How do I ask for admin rights when executing the code for this code?
For example, I have a program that creates a shortcut to a directory and it will be compiled via pkg into an .exe file:
const fs = ...
-2
votes
1
answer
56
views
How can I switch from clang11 to clang14 on freebsd?
hello on my server clang 11.0.1 version is installed but my project is compiled with clang14, when I write the command " pkg install clang14 " I get an error like clang14 not found.
please ...
0
votes
0
answers
54
views
PKG not resolving any path directory methodsduring compilation (path join __dirname process.cwd())
According to various statements in the PKG docs and support forums, the compilation is supposed to work without PKG config in package.json
I am getting the following warnings - resulting in a failure.
...
0
votes
0
answers
342
views
How can I create a single executable for Playwright tests
Is it possible to create a single executable from a Playwright test using PKG or something similar ?
pkg requires a command line such as
pkg index.js
but to run Playwright tests one would use npx ...