Skip to main content
Filter by
Sorted by
Tagged with
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 ....
Vivek sarvaiya's user avatar
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....
Joeries's user avatar
  • 81
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 ...
S0ulM1ke's user avatar
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 ...
green1111's user avatar
  • 221
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 /...
Fractale's user avatar
  • 1,562
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 -...
Fractale's user avatar
  • 1,562
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 ...
sanket benade's user avatar
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 ...
Viktor Spáčil's user avatar
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-...
Maksym's user avatar
  • 11
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 = ...
PinBIb's user avatar
  • 1
-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 ...
turker's user avatar
  • 9
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. ...
IoT-Practitioner's user avatar
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 ...
Duncan Groenewald's user avatar