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

"yarn start" error #9318

Open
ghost opened this issue May 20, 2022 · 2 comments
Open

"yarn start" error #9318

ghost opened this issue May 20, 2022 · 2 comments

Comments

@ghost
Copy link

ghost commented May 20, 2022

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):

  • OS: [e.g. iOS] : Ubuntu 20.04 LTS
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@castrapel
Copy link
Contributor

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
Copy link

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

  • node version 16.x
  • yarn 1.22.19

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

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