Closed johnking closed 6 years ago
There's no mention of react-hot-loader in this project, so it sounds like the issue is probably with your app's webpack config. Make sure react-hot-loader is installed correctly as a dependency, so babel doesn't search in other folders to find the babel plugin. You could also try using require.resolve('react-hot-loader/babel')
in the webpack config.
This might help, too, by using the "includes" setting to make sure that only the files from your project are processed by babel: https://github.com/gaearon/react-hot-loader/blob/master/docs/Troubleshooting.md#module-not-found-error-cannot-resolve-module-react-hot
tnanks @hubgit, will look into it soon.
Hi there,
I want to implement
markdown
editor based on this repository inelectron
desktop environment.Yarn link
to link the local built packagehttps://github.com/chentsulin/electron-react-boilerplate
Step 6, build .... and got following error:
I have to use workaround:
yarn add
path/to/local/package/folder
, but the trouble is that I need to reinstall it every time I modified the source.I hope someone can help me on it.
thanks
-John