example-nextjs icon indicating copy to clipboard operation
example-nextjs copied to clipboard

Quickstart instructions fail

Open mtbc opened this issue 5 months ago • 0 comments

$ git clone https://github.com/magiclabs/example-nextjs
$ cd example-nextjs
$ mv .env.local.example .env.local // enter your Magic API keys in your env variables
$ yarn install
$ yarn dev // starts app in http://localhost:3000

gives me,

$ yarn dev
yarn run v1.22.22
$ next
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/parser' is not defined by "exports" in /tmp/example-nextjs/node_modules/next/node_modules/postcss/package.json
...
error Command failed with exit code 1.

mtbc avatar Sep 03 '24 13:09 mtbc