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

Module not found: Error: Can't resolve 'window' #454

Closed
trieunguyen1988 opened this issue Jan 4, 2019 · 3 comments
Closed

Module not found: Error: Can't resolve 'window' #454

trieunguyen1988 opened this issue Jan 4, 2019 · 3 comments

Comments

@trieunguyen1988
Copy link

jquery-confirm version:
v3.3.3

I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
[ ] support request

Current behavior:
I used v3.3.2 before
But after jquery-confirm upgraded to v3.3.3, I couldn't compile my website.
I have received an error below:

ERROR in ./node_modules/jquery-confirm/js/jquery-confirm.js

Module not found: Error: Can't resolve 'window' in '/var/www/html/..../node_modules/jquery-confirm/js'

 @ ./node_modules/jquery-confirm/js/jquery-confirm.js 19:8-45

It was fine a few days ago

Other information:
I tried to change v3.3.2 to v3.3.3 but still error.

@craftpip
Copy link
Owner

craftpip commented Jan 8, 2019

This is a bug with v3.3.3 will be reverted today itself. Sorry.

@craftpip
Copy link
Owner

Fixed in release v3.3.4, please reopen if any queries

@davisriska
Copy link

davisriska commented Feb 5, 2019

NPM still seems to have the v3.3.3. And thats what I got, plus the window error.
If anyone happens to have the same issue, I fixed it by setting this as the version
git://github.com/craftpip/jquery-confirm.git#v3.3.4 for the package.

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

3 participants