Open brrock opened 13 hours ago
What error are you getting? Can you share it?
Thanks for your response I was wondering if it worked. In package.json in the package manager section ( e.g where you would be pnpm)
And also for create next or whatever app why does that still run npm install instead deno install which is faster
And also for create next or whatever app why does that still run npm install instead deno install which is faster
Looks like the create-next-app
isn't aware that Deno exists: https://github.com/vercel/next.js/blob/9a1cd356dbafbfcf23d1b9ec05f772f766d05580/packages/create-next-app/helpers/get-pkg-manager.ts#L3-L18
export function getPkgManager(): PackageManager {
const userAgent = process.env.npm_config_user_agent || ''
if (userAgent.startsWith('yarn')) {
return 'yarn'
}
if (userAgent.startsWith('pnpm')) {
return 'pnpm'
}
if (userAgent.startsWith('bun')) {
return 'bun'
}
return 'npm'
}
I'm making a PR for next then
What about core pack and deno
I am liking Deno but I have one thing before I can switch, the ability to work with Turbo and put Deno as the package manager in my existing package.json