sunflower
sunflower copied to clipboard
[Error on Development] Can't find module
Hi, I ran yarn
then yarn start
after forking this repo, but I have no idea why it still fails like this :
Steps to reproduce :
- Fork this repo.
- In the root directory of this repo, run
yarn
to install dependencies. - Run
yarn start
. - See the error above.
The error said :
[BABEL] /workspace/sunflower/.umirc.ts: Cannot find module '/workspace/sunflower/node_modules/@babel/preset-env/node_modules/@babel/compat-data/data/corejs3-shipped-proposals' (While processing: "/workspace/sunflower/node_modules/@umijs/babel-preset-umi/node.js$0")
Error: [BABEL] /workspace/sunflower/.umirc.ts: Cannot find module '/workspace/sunflower/node_modules/@babel/preset-env/node_modules/@babel/compat-data/data/corejs3-shipped-proposals' (While processing: "/workspace/sunflower/node_modules/@umijs/babel-preset-umi/node.js$0")
Any help will be appreciated, thank you.