You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I followed the tutorial, but it shows somes errors.
1: When the command "yo @superset-ui/superset" is executed, is generated the package-lock.json, while in my is not.
So the command "npm ci" doesn't work because it lacks this file.
2: When I try to run npm i to add the package-lock.json, I get some errors, like:
npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/react npm ERR! peer react@"^16.13.1" from the root project npm ERR! peer react@"^16.13.1" from @superset-ui/[email protected] npm ERR! node_modules/@superset-ui/core npm ERR! peer @superset-ui/core@"*" from the root project npm ERR! @superset-ui/core@"0.18.25" from @superset-ui/[email protected] npm ERR! node_modules/@superset-ui/chart-controls npm ERR! peer @superset-ui/chart-controls@"*" from the root project npm ERR! 5 more (@emotion/react, @emotion/styled, react-loadable, ...) npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"17.0.2" from [email protected] npm ERR! node_modules/react-dom npm ERR! peer react-dom@">=16.9.0" from [email protected] npm ERR! node_modules/antd npm ERR! peer antd@"^4.9.4" from @superset-ui/[email protected] npm ERR! node_modules/@superset-ui/chart-controls npm ERR! peer @superset-ui/chart-controls@"*" from the root project
3 - I try use "npm i --force", it's executed, but the command "npm run dev" fails.
How can I fix these issues?
Yeoman: 4.3.0
NPM: 8.4.0
Thanks!
The text was updated successfully, but these errors were encountered:
Hi! I followed the tutorial, but it shows somes errors.
1: When the command "yo @superset-ui/superset" is executed, is generated the package-lock.json, while in my is not.
So the command "npm ci" doesn't work because it lacks this file.
2: When I try to run npm i to add the package-lock.json, I get some errors, like:
npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/react npm ERR! peer react@"^16.13.1" from the root project npm ERR! peer react@"^16.13.1" from @superset-ui/[email protected] npm ERR! node_modules/@superset-ui/core npm ERR! peer @superset-ui/core@"*" from the root project npm ERR! @superset-ui/core@"0.18.25" from @superset-ui/[email protected] npm ERR! node_modules/@superset-ui/chart-controls npm ERR! peer @superset-ui/chart-controls@"*" from the root project npm ERR! 5 more (@emotion/react, @emotion/styled, react-loadable, ...) npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"17.0.2" from [email protected] npm ERR! node_modules/react-dom npm ERR! peer react-dom@">=16.9.0" from [email protected] npm ERR! node_modules/antd npm ERR! peer antd@"^4.9.4" from @superset-ui/[email protected] npm ERR! node_modules/@superset-ui/chart-controls npm ERR! peer @superset-ui/chart-controls@"*" from the root project
3 - I try use "npm i --force", it's executed, but the command "npm run dev" fails.
How can I fix these issues?
Yeoman: 4.3.0
NPM: 8.4.0
Thanks!
The text was updated successfully, but these errors were encountered: