lvarayut / relay-fullstack

:point_up::running: Modern Relay Starter Kit - Integrated with Relay, GraphQL, Express, ES6/ES7, JSX, Webpack, Babel, Material Design Lite, and PostCSS
https://lvarayut.github.io/relay-fullstack/
MIT License
985 stars 126 forks source link

ERROR in TypeError: Cannot read property 'request' of undefined #100

Closed webmobiles closed 6 years ago

webmobiles commented 7 years ago

when i execute npm install i got errors

Actual Behavior

ERROR in TypeError: Cannot read property 'request' of undefined

lvarayut commented 7 years ago

I can't reproduce the error on MacOS, I cloned the fresh project and successfully run npm install. Could you explain the steps to reproduce the error? This https://github.com/jantimon/html-webpack-plugin/issues/705 would be a great resource as well.

protobuff3r commented 7 years ago

I have the same error on Linux Mint with yarn and yarn start. npm install and npm start working successfully. Delete the yarn.lock, than yarn also works.

manh-vv commented 7 years ago

It seem that yarn is not good here.

-- works
rm -rf node_modules
npm install
npm start

I have the same error when

yarn && yarn start
Neitsch commented 7 years ago

Probably need to update html-webpack-plugin and yarn. Try this and let me know whether it works please :) https://github.com/facebookincubator/create-react-app/issues/2352

webmobiles commented 7 years ago

this repo , it works very well: https://github.com/jferrettiboke/react-auth-app-example

lvarayut commented 6 years ago

The issue should be solved in https://github.com/lvarayut/relay-fullstack/commit/904d83e8036961ca16dc7e83cc21e4fa1aa4056a. Please feel free to let us know if you still experienced the problem.