-
Notifications
You must be signed in to change notification settings - Fork 310
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
(imported as 'toCanvas') was not found in 'bwip-js' #258
Comments
No way to understand what is wrong since you provided nothing in terms of example code or how to replicate.... |
Based on the extended error message, you are using a named import. The |
hello, I read and performed the documentation steps, but the same error follows, is this library compatible with angular v14? |
Do you understand the difference between default and named imports? Use: |
Me funciono, el problema era el siguiente: |
Show your code! Including the import statement. I cannot help you any further without it. The screen capture you posted does not show the import statement. |
import { Component, OnInit } from '@angular/core'; import bwipjs from "bwip-js"; de todas formas, me funciona, cuando realice el cambio. |
@metafloor Hi! Why does toCanvas have to be part of the default export and not a separate method? Is it possible to import it separately to reduce bundle size? |
|
Error Angular 14
The text was updated successfully, but these errors were encountered: