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
kirimase starts boilerplating & tries to install packages
ℹ Installing Dependencies 7:20:39 PM
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: skylark@0.1.0
npm ERR! Found: react@18.3.1
npm ERR! node_modules/react
npm ERR! peer react@"^18.2.0" from next@14.2.3
npm ERR! node_modules/next
npm ERR! next@"14.2.3" from the root project
npm ERR! peer react@"^18.3.1" from react-dom@18.3.1
npm ERR! node_modules/react-dom
npm ERR! peer react-dom@"^18.2.0" from next@14.2.3
npm ERR! node_modules/next
npm ERR! next@"14.2.3" from the root project
npm ERR! react-dom@"^18" from the root project
npm ERR! 2 more (styled-jsx, the root project)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! drizzle-orm@"*" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: react@18.2.0
npm ERR! node_modules/react
npm ERR! peer react@"18.2.0" from react-native@0.74.1
npm ERR! node_modules/react-native
npm ERR! peer react-native@">0.73.0" from @op-engineering/op-sqlite@5.0.6
npm ERR! node_modules/@op-engineering/op-sqlite
npm ERR! peerOptional @op-engineering/op-sqlite@">=2" from drizzle-orm@0.30.10
npm ERR! node_modules/drizzle-orm
npm ERR! drizzle-orm@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /home/lexstefan/.npm/_logs/2024-05-08T16_20_39_841Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in: /home/lexstefan/.npm/_logs/2024-05-08T16_20_39_841Z-debug-0.log
An error occurred: command "npm install tailwindcss-animate class-variance-authority clsx tailwind-merge lucide-react next-themes drizzle-orm drizzle-zod @t3-oss/env-nextjs zod nanoid postgres @auth/core next-auth @auth/drizzle-adapter" exited with code undefined
ℹ Installing ShadcnUI Components 7:21:11 PM
✔ Done.
╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ 🚀 Thanks for using Kirimase to kickstart your Next.js app! │
│ │
│ The following packages are now installed and configured: │
│ - ORM: Drizzle (using postgresjs) │
│ - Authentication: Auth.js (with github providers) │
│ - Component Library: ShadcnUI │
│ │
│ [installed and configured in just 50.287 seconds] │
│ │
│ Next Steps │
│ 1. Add Environment Variables to your .env │
│ 2. Run npm run db:generate │
│ 3. Run npm run db:migrate │
│ 4. Run npm run dev │
│ 5. Open http://localhost:3000 in your browser │
│ 6. Build something awesome! │
│ │
│ Notes │
│ - github auth: create credentials at https://github.com/settings/apps │
│ (redirect URI: /api/auth/callback/github) │
│ - If you have any issues, please open an issue on GitHub │
│ (https://github.com/nicoalbanese/kirimase/issues) │
│ │
│ Hint: use kirimase generate to quickly scaffold entire entities for your application │
│ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
lexstefan
changed the title
packages not installed / because if drizzle fails to without --legacy-peer-deps
packages not installed / because drizzle fails to without --legacy-peer-deps
May 8, 2024
lexstefan
changed the title
packages not installed / because drizzle fails to without --legacy-peer-deps
NPM - packages not installed / because drizzle fails to without --legacy-peer-deps
May 8, 2024
Running into the exact same issue independent of kirimase, just by running npm update (found this while googling for the error). If I understand the output correctly, then react-native depends on exactly version 18.2.0 of react. Not sure if that is the problem or if the problem is op-sqlite@5.0.6 pulling in react-native in the first place. It seems out of place in a web project.
Config File
Describe the bug
npx create-next-app@latest
then follow the bellow stepsTo Reproduce
Steps to reproduce the behavior:
However, the package.json is:
Expected behavior
For the install after selecting settings to work.
Screenshots
Not Applicable
Desktop (please complete the following information):
Additional context
Works fine with bun.
The text was updated successfully, but these errors were encountered: