Open sjm00010 opened 2 weeks ago
Hey,
I've set up my entire project using pnpm
and haven't encountered any problems so far. Notably, pnpm
utilizes the same package library as npm
, meaning it's unlikely to cause package issues.
Maybe take a look at Bun, it's the only difference between my project and yours.
Hi @MatthewDlr,
I have created a demo and when I run the script with pnpm
I still get the same error. I have tried it on another machine to make sure that it is not a problem of my computer and its happen again.
https://github.com/sjm00010/test-pnpm
Thanks.
Describe the bug When the package installation is done with
pnpm
the installed package does not work, giving the following error when trying to run it (the example is usingpnpm run dev
but it has been replicated withbun
andnpm
and gave the same error).However, if you delete the node_modeles folder and install using
bun
ornpm
the execution works correctly.To Reproduce Steps to reproduce the behavior:
bunx create-hono my-app
pnpm install @supabase/supabase-js
// EXAMPLE: Create a single supabase client for interacting with your database const supabase = createClient('https://xyzcompany.supabase.co', 'public-anon-key')
const app = new Hono()
app.get('/', (c) => { return c.text('Hello Hono!') })
export default app
Screenshots
System information