
init haul correctly
can't generate configuration file
| software | version
| ---------------- | -------
| Haul | latest
| react-native | 0.43.4
| node | 7.5.0
| npm or yarn | 4.5.0
Have you tried removing your node_modules and installing them again?
I just installed and inited project once again - had no issues at all. Let me know if the problem still persist - if yes, I'll be happy to reinvestigate this issue.
The problem occurs when install deps with npm. Removing node_modules and reinstalling doesn't help. yarn works fine however.
What happened in my case is npm installed [email protected] -> [email protected] -> [email protected] to the root of node_modules. There is no module/es7.string.pad-start.js in [email protected] yet.
Adding core-js to dev deps in my project fixed the problem.
i npm install core-js , and fixed it
I get this error when using npm instead of yarn. (npm version 4.2.0, node version 7.9.0) Installing core-js as a dev dependency fixes the issue.
While yarn is great for many projects, I don't know that using yarn should be a requirement for using haul. Would it make sense for core-js to be added as a peer dependency of this project to support npm users?
I still run into this issue on new projects when installing the latest version of haul, is there a reason this issue has been closed?
@Traviskn a pr adding core-js to haul's dependencies is welcome
sounds good, I'd be glad to help contribute
Most helpful comment
The problem occurs when install deps with npm. Removing
node_modulesand reinstalling doesn't help.yarnworks fine however.What happened in my case is npm installed
[email protected]->[email protected]->[email protected]to the root ofnode_modules. There is nomodule/es7.string.pad-start.jsin[email protected]yet.Adding
core-jsto dev deps in my project fixed the problem.