webpack-contrib / webpack-hot-middleware

Webpack hot reloading you can attach to your own server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

asthap-nimblechapps opened this issue · comments

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

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