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.

Running application showing No such file or directory

See original GitHub issue

I am just getting started with codenvy. In codenvy.io i created a workspace with nodejs ubuntu stack. and then I created a project by importing from github (example MEAN2 stack). the problem is when I created a run command and running the application causes following error /bin/bash: line 0: cd: /projects/exampleapp : No such file or directory node_modules appears empty, you may need to run npm install

but when I run manually by cd into project and npm start in the terminal successfully running the application but not generating the preview URL

here is the run command that I created name: newCustom command: cd /projects/exampleapp npm start applyto: exampleapp->yes preview url: http://${server.port.4200}

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

1reaction
EladProjectcommented, Jan 22, 2018

I had the same issue. Putting a semicolon after the cd command resolved it (cd /projects/exampleapp;)

0reactions
durgakirancommented, May 10, 2021

closing issue as it is too old…

Read more comments on GitHub >

github_iconTop Results From Across the Web

No such file or directory? But the file exists! - Ask Ubuntu
The file exists (e.g. file command works), making for a puzzling error message. This may mean there's a problem with the loader. Categories...
Read more >
Yarn install command error No such file or directory: 'install'
The reason for the No such file or directory error from yarn install is that you are not using the "correct" Yarn: the...
Read more >
Running executable file: No such file or directory [closed]
No such file or directory" means that either the executable binary itself or one of the libraries it needs does not exist.
Read more >
“.h: No such file or directory" - 2 Easy fixes to Arduino error
Trying to fix the dreaded "No such file error?" - This short video will show you 2 easy fixes to solving this error....
Read more >
Error Message: No such file or Directory - Intel
Error Message: No such file or Directory ... . The name of the binary file is misprinted or the shared space cannot be...
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