question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

error with webpack-hot-client

See original GitHub issue

Hi ^_^

when kit-cli installed globally, command kit example runs with error

ERROR in multi webpack-hot-client/client?8e5c088f-87d7-482f-8ad1-48719db0177c /Users/jeetiss/n/lib/node_modules/@compositor/kit-cli/node_modules/@compositor/x0/lib/entry
Module not found: Error: Can't resolve 'webpack-hot-client/client?8e5c088f-87d7-482f-8ad1-48719db0177c' in '/Users/jeetiss/Projects/systemo/stories'
 @ multi webpack-hot-client/client?8e5c088f-87d7-482f-8ad1-48719db0177c /Users/jeetiss/n/lib/node_modules/@compositor/kit-cli/node_modules/@compositor/x0/lib/entry

and if install kit-cli in local ./node_modules works fine

i can find issue with webpack-hot-client, and this should fix problem webpack-contrib/webpack-hot-client#8

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ferdinandsaliscommented, May 31, 2018

@johno indeed this only occurs with global installs. It works when it is a local dependency and that is how I am using it now. These are the versions I am using node 9.11.1, npm 6.1.0 and kit 1.0.37.

Anyway thanks for kit. I love the simplicity of it.

0reactions
johnocommented, Jun 26, 2018

Going to close this as it seems to be fixed. If anyone encounters this error with the latest version of kit-cli please open up a new issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Module not found: Error: Can't resolve 'webpack-hot-client ...
I was having this problem as well. Installing the webpack-hot-client package in my own project seems to have fixed it.
Read more >
Error: Can't resolve 'webpack-hot-middleware/client?path ...
I am using webpack-hot-middleware for hot module replacement for javascript ui scripts in an express app. Whenever I start the server, ...
Read more >
webpack-hot-middleware - npm
Webpack hot reloading you can attach to your own server. Latest version: 2.25.3, last published: 2 months ago.
Read more >
webpack/webpack/dev - Gitter
src/index.js Module not found: Error: Can't resolve 'src/main.scss' in ... I am using webpack-hot-client together with webpack-serve.
Read more >
How to use the webpack-dev-server/client/web_modules ...
var io = require("webpack-dev-server/client/web_modules/socket.io"); ; console.log("[WDS] Errors while compiling."); for ; "invalid", function() { console ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found