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

Issue with webpack #5

Closed
jarcos opened this issue May 5, 2019 · 2 comments
Closed

Issue with webpack #5

jarcos opened this issue May 5, 2019 · 2 comments

Comments

@jarcos
Copy link

jarcos commented May 5, 2019

After installing Browsing Mode Detector library as Dev Dependency I'm getting this error on the JS Console:

Uncaught TypeError: js_detect_incognito_private_browsing__WEBPACK_IMPORTED_MODULE_2___default.a is not a constructor

What I did was just, install the library using npm:

npm i -D js-detect-incognito-private-browsing

Then, import it as module in my index.js file:

import BrowsingModeDetector from 'js-detect-incognito-private-browsing'

What am I missing? Am I importing wrong the library?

@Maykonn
Copy link
Owner

Maykonn commented Nov 20, 2019

@jarcos did you find how fix it?

@jarcos
Copy link
Author

jarcos commented Dec 6, 2019

Sorry @Maykonn, I finally abandoned this project, we can close this issue if you want. Thanks for your work ;)

@jarcos jarcos closed this as completed Dec 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants