remorses / dokz

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

Impossible to install Dokz #41

Closed qlaffont closed 3 years ago

qlaffont commented 3 years ago

Hello, When I install Dokz with the command npm init dokz-app and npm install, I have this error :

> next dev

ready - started server on http://localhost:3000
[ info ]  generating mdx sidebar file
info  - automatically enabled Fast Refresh for 1 custom loader
error - ./node_modules/@chakra-ui/portal/dist/esm/portal.js
Attempted import error: 'useCallbackRef' is not exported from '@chakra-ui/hooks'.
wait  - compiling...
error - ./node_modules/@chakra-ui/portal/dist/esm/portal.js
Attempted import error: 'useCallbackRef' is not exported from '@chakra-ui/hooks'.
event - build page: /next/dist/pages/_error
wait  - compiling...
error - ./node_modules/@chakra-ui/portal/dist/esm/portal.js
Attempted import error: 'useCallbackRef' is not exported from '@chakra-ui/hooks'.
TypeError: (0 , _utils.compose) is not a function

Thanks ^^. Quentin

remorses commented 3 years ago

I cannot reproduce, maybe you were using the next command installed globally, try using npm run dev instead