Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problem with yarn start

See original GitHub issue

Hi, after I update the new of this bot, I got this error when I type “yarn start” But is okay if I back to using the old one. I’m not sure about this situation is wrong with my environment or not? Thank you

The Error Message is:

        throw ex;

Error: ENOENT: no such file or directory, open './config.json'
    at Object.openSync (node:fs:585:3)
    at Object.readFileSync (node:fs:453:35)
    at Object.<anonymous> (/home/aliven2023/solana-jupiter-bot/src/cache.js:2:30)
    at Module._compile (node:internal/modules/cjs/loader:1105:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/home/aliven2023/solana-jupiter-bot/src/utils.js:3:15) {
  errno: -2,
  syscall: 'open',
  code: 'ENOENT',
  path: './config.json'
error Command failed with exit code 7.
info Visit for documentation about this command.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:6

github_iconTop GitHub Comments

pmioduszewskicommented, Jul 18, 2022

Yeah, I forgot to push changes from my local 🤦

a040900commented, Jul 12, 2022

Hi, I had already tested it, and is all fine right now. 🙂 Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: yarn start - error Command "start" not found
this error happens when you're running yarn start in a wrong directory instead of the root directory where package.json is. if they didn't...
Read more >
`yarn start` fails with error message · Issue #1155 - GitHub
The underlying issue was that the yarn path was set incorrectly. If you have this error then you will see a yarn-error.log file...
Read more >
Yarn Start not working : r/react - Reddit
When I run yarn start I would get: warning package.json: No license field error Command "start" not found.
Read more >
Error Codes | Yarn - Package Manager
This error is usually caused by a Yarn plugin being missing. YN0011 - FETCHER_NOT_FOUND. A fetcher cannot be found for the given package....
Read more >
NPM Start Error | Fix Old React App - YouTube
I used create-reat-app to start this react project. ... Old React App Not Starting | Solution | Yarn Start Error | NPM Start...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found