Failed to compile without any reason
See original GitHub issueCurrent Behavior
I just install haul and initialize the project:
$ yarn add --dev haul
$ yarn run haul init
After running haul bundle command, the process was terminated without any error message.
$ ./node_modules/.bin/haul bundle --platform ios --dev false --bundle-output ios/jsbundle/main.jsbundle --assets-dest ios/jsbundle
INFO Haul is now bundling your React Native app in production mode.
Starting from:
iOS [====================] 100%
ERROR Failed to compile
error Command failed with exit code 1.
I have no clue to fix this issue.
Expected Behavior
Succeed or show the reason for the error.
Haul Configuration (webpack.haul.js)
const path = require('path');
module.exports = ({ platform }) => ({
entry: `./index.js`,
resolve: {
modules: [
path.resolve('./packages'),
path.resolve('../../packages'),
path.resolve('./node_modules'),
],
},
});
Your Environment
`
| software | version |
|---|---|
| Haul | 1.0.0-beta.7 |
| react-native | 0.49.3 |
| node | 8.3.0 |
| npm or yarn | npm 5.4.1 & yarn 0.28.4 |
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
How to find the reason for a failed Build without any error or ...
As suggested by MrMalith, close Visual Studio, delete the obj folder in your solution directory, clear your temporary folder, and then re-open ...
Read more >Visual Studio Shows Build Failed But No Errors are Displayed
My Experience Explanation: This usually occurs when you install a library and some cached temp files are properly removed or remain in memory...
Read more >Visual Studio 2019 Build Failed But No Errors are Displayed ...
Go to the Error list window and select 'Build Only' to filter; Go to Tools > Options > Projects and Solutions > Build...
Read more >How to prevent failing to compile on CRA when eslint errors?
I installed the new react/CRA version (4). Right now when I have eslint errors the whole page blows and CRA fails to compile....
Read more >Build Failed — but no reason! | Apple Developer Forums
Hi, I'm experiencing weird Xcode behavior. I'm getting "build failed" after some alterations to the code, but Xcode will NOT give me the...
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

We should pass the actual error stack alongside the
Failed to compilemessage.@Titozzz Good catch, we should list what warnings exactly happened. I’ve created issue for it https://github.com/callstack/haul/issues/274
Do you have some example how to easily trigger a warning?