Cannot Run Dev server
chaudharykiran opened this issue · 1 comments
chaudharykiran commented
Module not found: Can't resolve 'base64-js'
I cloned this repo using
npx create-next-app ts-next -e https://github.com/jpedroschmitz/typescript-nextjs-starter
yarn
yarn dev
I am getting Module not found error when trying to open page in localhost.
My Node version is
v18.16.0
Anyhint how to solve this error?
jpedroschmitz commented
This template uses pnpm as a package manager. Please take a look at this section on how to switch to Yarn: https://github.com/jpedroschmitz/typescript-nextjs-starter#switch-to-yarnnpm
You're also using the wrong create command. It should be:
yarn create next-app -e https://github.com/jpedroschmitz/typescript-nextjs-starter