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

Error is thrown when the example is run. #88

Open
kimgysen opened this issue May 19, 2019 · 0 comments
Open

Error is thrown when the example is run. #88

kimgysen opened this issue May 19, 2019 · 0 comments

Comments

@kimgysen
Copy link

When running the example on Mac OSX High Sierra, it throws an error:

Kims-MacBook-Pro-401:example kimgysen$ npm start

webpack-hot-server-middleware-example@0.0.1 start /Users/kimgysen/Documents/zwoop/website/history/webpack-hot-server-middleware/example
npm run start:express

webpack-hot-server-middleware-example@0.0.1 start:express /Users/kimgysen/Documents/zwoop/website/history/webpack-hot-server-middleware/example
node express/index.js

internal/modules/cjs/loader.js:611
throw err;
^

Error: Cannot find module 'require-from-string'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:609:15)
at Function.Module._load (internal/modules/cjs/loader.js:535:25)
at Module.require (internal/modules/cjs/loader.js:663:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (/Users/kimgysen/Documents/zwoop/website/history/webpack-hot-server-middleware/src/index.js:5:27)
at Module._compile (internal/modules/cjs/loader.js:734:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:745:10)
at Module.load (internal/modules/cjs/loader.js:626:32)
at tryModuleLoad (internal/modules/cjs/loader.js:566:12)
at Function.Module._load (internal/modules/cjs/loader.js:558:3)

Node version: 11.9.0
I installed the packages using npm install (not using yarn).

I can see the npm package require-from-string in then node_modules folder though.

Note: if the project is not supported anymore, you should mark it as deprecated, as we don't want this to end up in production otherwise.

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