question-mark
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.

Error when running commands

See original GitHub issue

I’m having error while running commands with yarn / npm, all commands fail with this error:

clement@clement-X75VC:~/www/chat$ yarn build
yarn build v0.27.5
$ node build/build.js
fs.js:1657
      binding.lstat(baseLong);
              ^

Error: ENOENT: no such file or directory, lstat '/home/clement/www/chat/test'
    at Object.realpathSync (fs.js:1657:15)
    at resolve (/home/clement/www/chat/build/webpack.base.conf.js:8:13)
    at Object.<anonymous> (/home/clement/www/chat/build/webpack.base.conf.js:35:35)
    at Module._compile (module.js:573:30)
    at Object.Module._extensions..js (module.js:584:10)
    at Module.load (module.js:507:32)
    at tryModuleLoad (module.js:470:12)
    at Function.Module._load (module.js:462:3)
    at Module.require (module.js:517:17)
    at require (internal/module.js:11:18)
error Command failed with exit code 1.

I tried with other templates such as webpack-simple and browserify and it run without any error…

Any ideas ?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

5reactions
oguibuenocommented, Aug 28, 2017

I created a directory “test” in my project and it worked.

Cheers to @lsgoulart

0reactions
LinusBorgcommented, Aug 29, 2017

Will fix this adap, but might take a couple of hours until I get to a computer

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error in system(cmd, intern = TRUE) : error in running command
I am running the following codes to create a scheduled scraping of tweets from Twitter using the "taskscheduleR" package on R Studio:
Read more >
Installation failed: error in running command #1722 - GitHub
There's not much of an error report, so I'm not sure what's going wrong. I do have internet connectivity, so that should not...
Read more >
How to fix a "Command not found" error in Linux - Red Hat
When you're trying to run a command (with or without sudo ) and get an error message that reads "Command not found," this...
Read more >
Error when running shell command - Configuration
I get this error in the log when trying to run a shell command. Anyone knows what it indicates? It means the shell...
Read more >
How To Trap an OS Error When Using the OS-COMMAND ...
A workaround is to execute an Operating System batch file with the OS-COMMAND Statement. When that OS batch file gets executed, it will,...
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found