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

Dependency error happened #11

Open
zk1tty opened this issue Oct 18, 2023 · 1 comment
Open

Dependency error happened #11

zk1tty opened this issue Oct 18, 2023 · 1 comment

Comments

@zk1tty
Copy link

zk1tty commented Oct 18, 2023

When I run yarn run start, I get a dependency error.

Failed to compile.

./node_modules/@iden3/js-iden3-core/dist/node/esm/claim.js
Module not found: Can't resolve '@iden3/js-crypto' in '/extension-demo/node_modules/@iden3/js-iden3-core/dist/node/esm'

This is my package.json file. I just downgraded Webpack. but I didin't change other dependency versions.

{
 "name": "my-app",
 "version": "0.3.0",
 "private": true,
 "dependencies": {
   "@0xpolygonid/js-sdk": "1.0.2",
   "@emotion/react": "^11.10.5",
   "@emotion/styled": "^11.10.5",
   "@iden3/js-crypto": "^1.0.0-beta.0",
   "@iden3/js-iden3-core": "^1.0.0-beta.0",
   "@iden3/js-jwz": "^1.0.0",
   "@iden3/js-merkletree": "^1.0.0-beta.0",
   "@mui/icons-material": "^5.11.0",
   "@mui/material": "^5.11.6",
   "@testing-library/jest-dom": "^5.16.5",
   "@testing-library/react": "^13.4.0",
   "@testing-library/user-event": "^13.5.0",
   "axios": "^1.3.3",
   "react": "^18.2.0",
   "react-dom": "^18.2.0",
   "react-router-dom": "^6.8.0",
   "react-scripts": "4.0.3",
   "web-vitals": "^2.1.4"
 },
 "scripts": {
   "start": "react-scripts start",
   "build": "react-scripts build",
   "start:browser": "open -n -a /Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome --args --user-data-dir='/tmp/chrome_dev_test' --disable-web-security",
   "test": "react-scripts test",
   "eject": "react-scripts eject"
 },
 "eslintConfig": {
   "globals": {
     "chrome": true
   },
   "extends": [
     "react-app",
     "react-app/jest"
   ]
 },
 "browserslist": {
   "production": [
     "last 1 chrome version",
     "last 1 firefox version",
     "last 1 safari version"
   ],
   "development": [
     "last 1 chrome version",
     "last 1 firefox version",
     "last 1 safari version"
   ]
 }
}

@vmidyllic
Copy link
Contributor

is still reproducible on the latest main?

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