-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Running the following command in a brand new package created using the shadcn init
gives this result:
npm install shadcn@latest add https://shadcn-editor.vercel.app/r/editor-x.json
npm warn tar TAR_ENTRY_INVALID checksum failure
npm warn tar TAR_ENTRY_INVALID checksum failure
npm warn tar TAR_ENTRY_INVALID checksum failure
npm warn tar TAR_ENTRY_INVALID checksum failure
Using npx instead of npm results in a similar error. Same with pnpm.
Affected component/components
rich-text-editor-plugin
How to reproduce
- Run the
npm
orpnpm
commands listed in https://shadcn-editor.vercel.app/docs/plugins/rich-text-editor - The errors will show up

Codesandbox/StackBlitz link
No response
Logs
14 silly packumentCache corgi:https://registry.npmjs.org/shadcn cache-miss
15 http fetch GET 200 https://registry.npmjs.org/shadcn 60ms (cache hit)
16 silly packumentCache corgi:https://registry.npmjs.org/shadcn set size:191607 disposed:false
17 warn tar TAR_ENTRY_INVALID checksum failure
18 silly tar TAR_ENTRY_INVALID checksum failure {
18 silly tar header: Header {
18 silly tar cksumValid: false,
18 silly tar needPax: false,
18 silly tar nullBlock: false,
18 silly tar block: null,
18 silly tar path: '{\n' +
18 silly tar ' "$schema": "https://ui.shadcn.com/schema/registry-item.json",\n' +
18 silly tar ' "name": "editor-x",\n' +
18 silly tar ' "type": "r',
18 silly tar mode: null,
18 silly tar uid: null,
18 silly tar gid: null,
18 silly tar size: null,
18 silly tar mtime: null,
18 silly tar cksum: null,
18 silly tar linkpath: 'lidraw",\n' +
18 silly tar ' "@lexical/code",\n' +
18 silly tar ' "@lexical/file",\n' +
18 silly tar ' "@lexical/hashtag",\n' +
18 silly tar ' "@lexical/link",\n' +
18 silly tar ' ',
18 silly tar uname: null,
18 silly tar gname: null,
18 silly tar devmaj: 0,
18 silly tar devmin: 0,
18 silly tar atime: null,
18 silly tar ctime: null,
18 silly tar [Symbol(type)]: 'a'
18 silly tar },
18 silly tar cwd: 'C:/Users/fniel/AppData/Local/npm-cache/_cacache/tmp/XE3DSC',
18 silly tar code: 'TAR_ENTRY_INVALID',
18 silly tar tarCode: 'TAR_ENTRY_INVALID'
18 silly tar }
The total log data is massive, so I've only included a clip here.
System Info
I'm using windows 11 Pro
Before submitting
- I've made research efforts and searched the documentation
- I've searched for existing issues
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working