auto-form icon indicating copy to clipboard operation
auto-form copied to clipboard

Error on Executing the Shadcn Library

Open vedantbhavsar26 opened this issue 10 months ago • 2 comments

on executing this

npx shadcn@latest add https://raw.githubusercontent.com/vantezzen/autoform/refs/heads/main/packages/shadcn/registry/autoform.json

this error pops up

Something went wrong. Please check the error below for more details.
If the problem persists, please open an issue on GitHub.

Cannot read properties of undefined (reading 'resolvedPaths')

vedantbhavsar26 avatar Jan 29 '25 10:01 vedantbhavsar26

The command you're looking for is npx shadcn@latest add https://raw.githubusercontent.com/vantezzen/auto-form/pure-shadcn/registry/auto-form.json

The branch is different

redalpha01 avatar Jan 29 '25 20:01 redalpha01

Your command is for the current version of AutoForm so it should work correctly.

I just tried on a new shadcn project with [email protected] and it seems to work fine - have you customized your shadcn in any way? Which shadcn version are you using?

vantezzen avatar Feb 04 '25 10:02 vantezzen