Build Failing in Jenkins - You may need an additional loader to handle the result of these loaders.
- Dominant language
- JavaScript
- Stars
- 4.8k
- Forks
- 456
- Avg merge
- 9h 19m
- Merged PRs (30d)
- 2
Description
I'm submitting a bug report
**Webpack Version: 4.0.0**
**Babel Core Version:6.x**
**Babel Loader Version:7.0.0**
**Environment:OSX 10.x**
**nodejs : 8.11.3**
**npm:5.6.0**
**Current behaviour:** I am working on implementing UI automation test using nightwatch. The webpack build is successful in my local and i am able to execute the tests too. When i try to build in Looper(jenkins) the build fails with the error that
**Module parse failed: Unexpected token (15:17)**
**File was processed with these loaders:**
**../../../node_modules/babel-loader/lib/index.js**
**You may need an additional loader to handle the result of these loaders.**
This happens only when i add the following to the package.json which are required for automation
**In devdependencies - **
"nightwatch": "0.9.11",
"nightwatch-xhr": "^0.4.3",
"testarmada-bloop": "0.0.4",
"testarmada-magellan-early-bail-strategy": "^1.0.0",
"selenium-server": "3.9.1",
"testarmada-magellan": "11.0.1",
"testarmada-magellan-local-executor": "2.0.0",
"testarmada-magellan-nightwatch-plugin": "8.0.1",
"testarmada-magellan-saucelabs-executor": "5.0.0",
"testarmada-nightwatch-extra": "5.1.1"
**In dependencies**
"browserslist": "^4.6.2",
"chromedriver": "2.42.0",
"dpro": "^1.2.1"
Without these mentioned package.json, the webpack build is successful in looper which means it is able to compile the ES6 statement.
Please look into this as i am blocked due to this ..
**Expected/desired behavior:** Build should be successful
Contributor guide
Assessment
This issue has not been assessed yet.