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.
Succeed or show the reason for the error.
const path = require('path');
module.exports = ({ platform }) => ({
entry: `./index.js`,
resolve: {
modules: [
path.resolve('./packages'),
path.resolve('../../packages'),
path.resolve('./node_modules'),
],
},
});
`
| 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
@xareelee Hey, thanks for filling this issue. For the first look, it seems like you forgot to extend your config with Haul's default config.
We should pass the actual error stack alongside the Failed to compile message.
It sounds pretty straightforward I could make a PR for it if no one is interested in it. 馃憤
We need this on warnings too 馃槩
@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?
Most helpful comment
We should pass the actual error stack alongside the
Failed to compilemessage.