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

Unable to start server (incompatibility with Node >= v8?) - TypeError: hasOwnProperty #941

Closed
joshuamanns opened this issue Jun 29, 2017 · 1 comment

Comments

@joshuamanns
Copy link

joshuamanns commented Jun 29, 2017

After a fresh yo react-server, running npm start throws the following error.

TypeError: require.cache.hasOwnProperty is not a function
    at /mnt/c/dev/project/project/node_modules/react-server-cli/target/serverSideHotModuleReload.js:37:64
    at Array.map (native)
    at serverSideHotModuleReload (/mnt/c/dev/project/project/node_modules/react-server-cli/target/serverSideHotModuleReload.js:36:37)
    at Compiler.<anonymous> (/mnt/c/dev/project/project/node_modules/react-server-cli/target/compileClient.js:213:45)
    at Compiler.applyPlugins (/mnt/c/dev/project/project/node_modules/tapable/lib/Tapable.js:26:37)
    at Watching._done (/mnt/c/dev/project/project/node_modules/webpack/lib/Compiler.js:78:17)
    at Watching.<anonymous> (/mnt/c/dev/project/project/node_modules/webpack/lib/Compiler.js:61:18)
    at Compiler.emitRecords (/mnt/c/dev/project/project/node_modules/webpack/lib/Compiler.js:282:37)
    at Watching.<anonymous> (/mnt/c/dev/project/project/node_modules/webpack/lib/Compiler.js:58:19)
    at /mnt/c/dev/project/project/node_modules/webpack/lib/Compiler.js:275:11
npm ERR! code ELIFECYCLE
npm ERR! errno 1

I'm running the latest stable version of Node.

@dfadev
Copy link
Contributor

dfadev commented Aug 15, 2017

See PR #947

@drewpc drewpc closed this as completed Apr 23, 2019
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

3 participants