sunflower icon indicating copy to clipboard operation
sunflower copied to clipboard

[Error on Development] Can't find module

Open kevinadhiguna opened this issue 3 years ago • 0 comments

Hi, I ran yarn then yarn start after forking this repo, but I have no idea why it still fails like this :

image

Steps to reproduce :

  1. Fork this repo.
  2. In the root directory of this repo, run yarn to install dependencies.
  3. Run yarn start.
  4. 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.

kevinadhiguna avatar Jun 18 '21 07:06 kevinadhiguna