Error when trying to import the package
See original GitHub issueI’m using webpack to bundle my scripts, and when I try to load the package in the script using
import gray from 'jquery-gray';
I get
Uncaught TypeError: Cannot read property 'documentElement' of undefined
It would seem like it’s coming from the modernizer 🤷🏼♂️
Any idea what could be the issue?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
getting error when trying to import module from installed ...
I've imported a module called 'deuces' (https://github.com/worldveil/deuces) and when I try and import modules from it using:
Read more >ModuleNotFoundError: no module named Python Error [Fixed]
When you try to import a module in a Python file, Python tries to resolve this module in several ways. · As the...
Read more >Error when trying to import a return package in Trados Studio
You received a return package from a translator and want to import it in Trados Studio, but the error Could not find part...
Read more >Solved: Re: Import package error. - Power Platform Community
Re: Power App community blog Vertical menu with expand and collapse feature - HorizontalExpander.zip;. Unable to import pacakage 'Something went wrong.
Read more >KB39260: "Cannot import a package from a project source into ...
When trying to import an Object Manager package, the following error appears:Cannot import a package from a project source into a configuration source....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Great, thanks also for testing!
Yup, works perfectly when combined with the CSS
filter
on modern browsers. Thanks!