🐛 Getting error "execvp(3) failed.: No such file or directory" when attempting to run tests
See original GitHub issueBug 🐛
Version Info
- Version of Majestic: 0.1.0
- Version of Jest: 20.0.3
- Version of Node: 6.11.5
- Operating System: Sierra 10.12.3
When I attempt to run all tests or individual tests, I receive the following error:
execvp(3) failed.: No such file or directory
Jest config is in package.json
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx}",
"!src/registerServiceWorker.js",
"!src/Components/**/index.js",
"!src/Components/StaticDevContent/*",
"!src/actions/showStaticContent.js",
"!src/reducers/showStaticContent.js"
],
"coverageReporters": [
"lcov"
],
"setupFiles": [
"<rootDir>/config/polyfills.js",
"jest-localstorage-mock"
],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.js?(x)",
"<rootDir>/src/**/?(*.)(spec|test).js?(x)"
],
"testEnvironment": "node",
"testURL": "http://localhost",
"transform": {
"^.+\\.(js|jsx)$": "<rootDir>/node_modules/babel-jest",
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
"^(?!.*\\.(js|jsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$"
],
"moduleNameMapper": {
"^react-native$": "react-native-web"
}
},
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Developers - 🐛 Getting error "execvp(3) failed.: No such file or ...
Getting error "execvp(3) failed.: No such file or directory" when attempting to run tests.
Read more >execvp() wont load file: "No such file or directory"
If you use execvp , you are saying that the executable will be found "in the path"; that is, in one of the...
Read more >Bug listing with status RESOLVED with resolution OBSOLETE ...
Bug :1523 - "[IDEA] Offload work by distributing trivial ebuild ... No such file or directory" status:RESOLVED resolution:OBSOLETE severity:normal ...
Read more >#22066 (gcc44, gcc45, gcc46, gcc48, gcc49, gcc5: error trying ...
I'm trying to add gcc44 support to pdftk (see #15420) but I'm running into this ... gcj: error trying to exec 'ecj1': execvp:...
Read more >compilation fail with external toolchain. - Google Groups
+1 what Lukacs said, and for the specific error message you are getting ("execvp(argv[0], argv): No such file or directory"), it means that...
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 Free
Top 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
Ran into the same bug. Using nvm as well.
Would you be able to give it a try now? If you run into issues, please reach out via https://spectrum.chat/majestic
Closing this for now. Feel free to reopen.