remorses / dokz

Effortless documentation with Next.js and MDX
466 stars 40 forks source link

Throws "Invalid Hook Call" on init #54

Closed ensorep closed 2 years ago

ensorep commented 3 years ago

when creating a project via npm init dokz-app the follow is generated when spinning up a dev server (npm run dev)

image

Working in a new directory, with nothing but an npm i command run previously.

remorses commented 3 years ago

This message means there are 2 different react version installed, try deleting all node_modules and reinstalling

ensorep commented 3 years ago

@remorses I did, here are my complete steps, starting from creating a fresh dir:

image image

deleting the node_modules in the directory doesn't work

remorses commented 2 years ago

It should be fixed now