ui icon indicating copy to clipboard operation
ui copied to clipboard

typescript module not found error while running "npx shadcn-ui@latest init"

Open bloodgroup-cplusplus opened this issue 2 years ago • 0 comments

while initializing shadcn-ui using the command "npx shadcn-ui@latest init" in nextjs using typescript an error is generated which says cons err= new Error(message); Error: cannot find module '@ts-morph/common'

Installed ts-morph using yarn ("yarn global add ts-morph) but the error still persists

bloodgroup-cplusplus avatar Jul 01 '23 00:07 bloodgroup-cplusplus