Cannot run program - node using "${basedir}/../" working directory in CI
See original GitHub issueHi,
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:
- Created 8 years ago
- Comments:6 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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]
I came to the same conclusion that it was #633, I’m using alpine