Skip to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

PG3x 3.4.29 won't start: missing native modules

Featured Replies

@bmercier

After upgrading PG3x from 3.4.28 to 3.4.29 through eisy-ui, and rebooting PG3x wouldn't start.

Running pg3.js manually showed:

Cannot find module bcrypt_lib.node (bcrypt/lib/binding/napi-v3)

After I fixed that, it failed the same way on better-sqlite3/build/Release/better_sqlite3.node.

pkg check -s pg3x passes, but neither .node file is in the package, and there's no post-install script to build them. It looks like the 3.4.29 package shipped without its native bindings?

Workaround

cd /var/polyglot
sudo npm rebuild bcrypt better-sqlite3

After reboot all plugins came back with their slots and nodes intact.

If you can reproduce this, the 3.4.29 package needs a re-roll.

Yup, I just upgraded one of my test Polisys to PG3x 3.4.29 and it's not working. It keeps trying to restart PG3x (seeing that in the udx log file). I also can't log into eisy-ui.

People should hold off on this upgrade for the time being, something is wrong.

I have run into the same issue. After updating PG3x to 3.4.29 it will not run. I was able to get into eisy-ui a couple of times and Tried to resrart from services and it starts and then stops again.

I just ran @Diesel 's workaround above (sudo npm rebuild bcrypt better-sqlite3) and that appears to have fixed it, if anyone is hurting right now. I'm sure UDI will come up with a quick solution.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.