"pnpm i" exit with " ERROR pattern.replace is not a function" #3780
johann-taberlet
started this conversation in
General
Replies: 1 comment 1 reply
-
Ok my bad, it must be related with my pnpm workspaces thing because outside of it, it works as intended... Sorry for that, you can delete it if you like. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey there,
because I'm still learning a lot of things, I'm not able to determine if it's a real bug or if it's something related to my config so I first post here before opening an issue.
What I did :
pnpm create adonis-ts-app hello-world
And I get this instantly
ERROR pattern.replace is not a function
I know packages are already installed during the creation of the project but I was testing this command in a context of a pnpm monorepo by deleting package-lock.json and ./node_modules folder. But either by creating a "normal" project without deleting. anything, I have the same problem.
MacOS Monterey 12.4 with M1 Pro chip
Any ideas on whats wrong here ?
Beta Was this translation helpful? Give feedback.
All reactions