Netflix / consoleme

A Central Control Plane for AWS Permissions and Access
Apache License 2.0
3.15k stars 253 forks source link

"yarn start" error #9318

Open ghost opened 2 years ago

ghost commented 2 years ago

Describe the bug A clear and concise description of what the bug is.

I got the error after I executed the following command as below document says. https://hawkins.gitbook.io/consoleme/quick-start/local-development

Can I ignore the below error? I am wondering if there is any solution.

cd home/service/consoleme/ui yarn start

... WARNING in ./node_modules/@date-fns/upgrade/v2/convertTokens/index.js Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from '/home/service/consoleme/ui/node_modules/@date-fns/src/v2/convertTokens/index.ts' file: Error: ENOENT: no such file or directory, open '/home/service/consoleme/ui/node_modules/@date-fns/src/v2/convertTokens/index.ts' @ ./node_modules/react-semantic-ui-datepickers/dist/react-semantic-ui-datepickers.esm.js 5:0-67 108:41-54 @ ./src/components/selfservice/SelfServiceStep1.js 10:0-63 309:49-67 @ ./src/components/selfservice/SelfService.js 9:0-50 262:47-63 @ ./src/App.js 12:0-72 40:19-39 @ ./src/index.js 8:0-24 11:38-41 ....

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem. 스크린샷 2022-05-20 오후 8 36 38

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

castrapel commented 2 years ago

Hi @adenkang , what version of yarn and node are you using? Can you try upgrading to the latest LTS releases? Here are the versions I have. After upgrading, remove your node_modules directory and try running yarn again to install frontend packages.

✗ yarn --version 1.22.19

✗ node --version v15.14.0

✗ node --version v15.14.0

✗ yarn yarn install v1.22.19 [1/4] 🔍 Resolving packages... [2/4] 🚚 Fetching packages... .......

changhyuni commented 2 years ago

@castrapel I get the same error re install nodejs & yarn install

: Error: ENOENT: no such file or directory, open '/home/ubuntu/consoleme/ui/node_modules/@date-fns/src/v2/convertTokens/index.ts'