Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP User warnings after upgrade #27

Open
petertuharsky opened this issue Apr 24, 2023 · 2 comments
Open

PHP User warnings after upgrade #27

petertuharsky opened this issue Apr 24, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@petertuharsky
Copy link

Hallo, dear developer.

We have installed the Camera plugin v. 2.1.0 beta in order to test the new browser-based decoding engine.

After upgrading the GLPI from 10.0.5 to 10.0.6, and reinstalling the plugin from original package, red framed error shows up on GLPI pages:

PHP User Warning (512): node_modules/@undecaf/zbar-wasm/dist/index.js file not found from plugin camerainput! in /var/www/html/glpi/src/Html.php at line 1847
PHP User Warning (512): node_modules/@undecaf/barcode-detector-polyfill/dist/index.js file not found from plugin camerainput! in /var/www/html/glpi/src/Html.php at line 1847

@petertuharsky petertuharsky added the bug Something isn't working label Apr 24, 2023
@cconard96
Copy link
Owner

Please try running "npm install --omit=dev" in a terminal from within the plugin folder to install the missing package.

@petertuharsky
Copy link
Author

Thank You, it helped (although I was afraid of npm installation, for the dependencies are huge).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants