You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following the instructions on the https://panda-css.com/ homepage, I installed Panda on a fresh Nextjs app and ran npm run panda init -p. I got Missing script: "panda".
noah@Noahs-Laptop ~ % npx create-next-app@latest
✔ What is your project named? … repro-panda-script-error
✔ Would you like to use TypeScript? … No / Yes
✔ Would you like to use ESLint? … No / Yes
✔ Would you like to use Tailwind CSS? … No / Yes
✔ Would you like to use `src/` directory? … No / Yes
✔ Would you like to use App Router? (recommended) … No / Yes
✔ Would you like to customize the default import alias (@/*)? … No / Yes
Creating a new Next.js app in /Users/noah/repro-panda-script-error.
Using npm.
Initializing project with template: app
Installing dependencies:
- react
- react-dom
- next
Installing devDependencies:
- typescript
- @types/node
- @types/react
- @types/react-dom
- eslint
- eslint-config-next
added 315 packages, and audited 316 packages in 5s
125 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
Initialized a git repository.
Success! Created repro-panda-script-error at /Users/noah/repro-panda-script-error
noah@Noahs-Laptop ~ % cd repro-panda-script-error
noah@Noahs-Laptop repro-panda-script-error % npm i -D @pandacss/dev
added 123 packages, and audited 440 packages in 3s
144 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
noah@Noahs-Laptop repro-panda-script-error % npm run panda init -p
npm ERR! Missing script: "panda"
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR! npm run
npm ERR! A complete log of this run can be found in: /Users/noah/.npm/_logs/2024-05-13T23_33_07_189Z-debug-0.log
noah@Noahs-Laptop repro-panda-script-error %
noahlt
changed the title
"panda init -p" fails on fresh npx create-next-app
"panda init -p" fails with "Missing script: "panda"" on fresh npx create-next-app
May 14, 2024
Description
Following the instructions on the https://panda-css.com/ homepage, I installed Panda on a fresh Nextjs app and ran
npm run panda init -p
. I gotMissing script: "panda"
.Link to Reproduction
https://stackblitz.com/edit/vitejs-vite-8uhbie?file=package.json
Steps to reproduce
Shell transcript follows:
Here's the versions for everything:
JS Framework
React/NextJS with TS
Panda CSS Version
0.39.1
Browser
No response
Operating System
Additional Information
Happy to provide any extra information if it helps. BTW I'm really looking forward to using Panda, it looks great.
The text was updated successfully, but these errors were encountered: