-
Notifications
You must be signed in to change notification settings - Fork 136
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
Next.js - require function is used in a way in which dependencies cannot be statically extracted #49
Comments
I have the same problem in Angular 13. If is very annoying because the Angular Live Development Server is getting messed up because of this. ./node_modules/jsprintmanager/JSPrintManager.js:12:93-94 - Warning: Critical dependency: require function is used in a way in which dependencies cannot be statically extracted |
I have the same problem. Any way to solve this ?
|
The same warning, Angular 14
|
Same problem in React 18 (with Webpack) with Node 16.2 using JSPrintManager v5.0.4:
|
same warning using webpack and the last version of the library "^6.0.3" |
@fertandil87 @tmilciunas @henrywoody , if I use the jsprintmanager package in my Next.js client (frontend), can I deploy this frontend to the cloud, such as AWS, or on a VPS like DigitalOcean or Vercel? Additionally, will it work with a Zebra printer connected via USB in the warehouse? I am developing a button on one of the frontend pages that, when clicked, will send ZPL to the connected printer to print labels. pls answer me . thanks in advance for your guide. |
The website can be deployed anywhere. A computer that has a button must have a jsprintmanager client application installed, or there are Zebra printers that accept IP printing, because it is a tunnel between the website and the printer. |
While importing
jsprintmanager
as shown in #48, I receive a critical dependency warning:EDIT: Issue persists on
v5.0.2
The text was updated successfully, but these errors were encountered: