DEV Community

Discussion on: Error: Invalid hook call.

 
jenbutondevto profile image
Jen

when I tried to do yarn start on your project, I kept getting errors to do with react-router-dom being missing. You may have added this with npm without the --save flag. without it, it won't be added to your package.json but still installed in node_modules.yarn add will do this automatically.

p.s. my dev.to handle is @jenbutondevto :)

Thread Thread
 
zacchnaa profile image
ZacchNaa

okay @jenbutondevto thank you very much