Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't resolve '/node_modules/webpack-hot-middleware/client.js?reload=true' in Storybook React-Native #345

Open
asthap-nimblechapps opened this issue Jan 29, 2019 · 1 comment

Comments

@asthap-nimblechapps
Copy link

asthap-nimblechapps commented Jan 29, 2019

I am using storybook in react native when i try to run

start-storybook -p 9009 -s public

My webpack.config.js :

module.exports = (baseConfig, env, config) => {
console.log(config)
//config.resolve.alias.add({'webpack-hot-client/client': path.resolve(...)})
config.module.rules.push({
test: /.(ts|tsx)$/,
loader: require.resolve("babel-loader"),
options: {
presets: [["react-app", { flow: false, typescript: true }]]
}
});
config.resolve.extensions.push(".ts", ".tsx");
return config;
};

Please Help me out how to solved it out.
Thanks in advance

@asthap-nimblechapps asthap-nimblechapps changed the title Can't resolve '/Volumes/decoder/Astha Work/EximChain/EximChainGitBackup/EximchainMobile/node_modules/webpack-hot-middleware/client.js?reload=true' in Storybook React-Native Can't resolve '/node_modules/webpack-hot-middleware/client.js?reload=true' in Storybook React-Native Jan 29, 2019
@ghost
Copy link

ghost commented Jul 7, 2019

having the exact same issue trying to get storybook v5 to work with gatsby. Get a slew of errors when trying to run storybook and the source of all of them have the same origin as your issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant