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

Unresolved variable enc, anything... #443

Open
oustr opened this issue Dec 29, 2022 · 0 comments
Open

Unresolved variable enc, anything... #443

oustr opened this issue Dec 29, 2022 · 0 comments

Comments

@oustr
Copy link

oustr commented Dec 29, 2022

I used yarn add crypto-js to install and it's the latest version 4.1.1. However, no matter it's import CryptoJS from "crypto-js" or const CryptoJS = require("crypto-js"), I just couldn't use CryptoJS.enc, CryptoJS.AES and anything else, and WebStorm always tells me something like unresolved variable enc.
2022-12-29_20-35-39
2022-12-29_20-36-48
I don't understand why I meet this problem since everything is right with my other imports or requires.

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

1 participant