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.

Cannot run program - node using "${basedir}/../" working directory in CI

See original GitHub issue

Hi,

I upgraded to 0.0.25 and it no longer recognised the workingDirectory "${basedir}/../" correctly when i return to 0.0.23 it worked fine again.

build 18-Sep-2015 02:25:21 [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.25:karma (jasmine-integration-tests) ... java.io.IOException: Cannot run program "/opt/bamboo-agent/bamboo-agent-home/xml-data/build-dir/XXX-ZZZ-ITHSQL/project-1/project-testserver/../node/node" (in directory "/opt/bamboo-agent/bamboo-agent-home/xml-data/build-dir/XXX-ZZZ-ITHSQL/project-1/project-testserver/.."): error=2, No such file or directory -> [Help 1]

Issue Analytics

  • State:open
  • Created 8 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
stickycodecommented, Mar 28, 2017

I have something similar with 1.4 when running the build in docker

Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.4:npm (npm install) on project XXXXXXX: Failed to run task: ‘npm install’ failed. java.io.IOException: Cannot run program “/build/node/node” (in directory “/build”): error=2, No such file or directory -> [Help 1]

0reactions
stickycodecommented, Jul 25, 2017

I came to the same conclusion that it was #633, I’m using alpine

Read more comments on GitHub >

github_iconTop Results From Across the Web

React Native on Android: Cannot run program "node": error=2 ...
I got this same error in Linux when I had Node installed via n (Node version management tool) which sets the Node path...
Read more >
Analysis parameters - SonarQube Documentation
Set the working directory for an analysis triggered with the SonarScanner or the SonarScanner for Ant (versions greater than 2.0). This property is...
Read more >
clet - npm
Start using clet in your project by running `npm i clet`. ... async () => { const baseDir = path.resolve('test/fixtures/example'); ...
Read more >
dirname - Manual - PHP
') is returned, indicating the current directory. Otherwise, the returned string is path with any trailing /component removed. Caution. Be careful when using...
Read more >
Good Integration Practices — pytest documentation
perform sys.path.insert(0, basedir) to make the test module importable under the fully qualified import name.
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