Doesn't work with nuxt, w3c-keyname error
See original GitHub issueDescribe the bug
Added tiptap to existing project via npm, when trying to call a component that holds the editor, I get "No valid exports main found for '[project-path]\node_modules\w3c-keyname'"
Created fresh nuxt project, added tiptap again, same error.
Created fresh vue-cli project, added tiptap, works fine.
Tried this solution with nuxt, didn’t help either.
At this point can’t seem to get tiptap working with nuxt at all.
Screenshots
Environment
- OS: Win10
- Browser Chrome
- Version 1.27.0
- Mobile / Desktop: Desktop
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (1 by maintainers)
Top Results From Across the Web
Doesn't work with nuxt, w3c-keyname error · Issue #665 - GitHub
Describe the bug Added tiptap to existing project via npm, when trying to call a component that holds the editor, I get "No...
Read more >nuxtjs vuejs @error is not firing in a component when trying to ...
I have a component that I feed with props. When an image throws a 404 I want to load a fallback image. So...
Read more >w3c-keyname - npm
Start using w3c-keyname in your project by running `npm i w3c-keyname`. There are 48 other projects in the npm registry using w3c-keyname.
Read more >Prose Mirror, buildless! (ESM support)
Unfortunately, PM published NPM packages do not work buildless with modern web apps. ... prosemirror-keymap -> w3c-keyname.
Read more >package subpath is not defined by exports in - You.com
If problem persist, issue a npm install --save multiformats@9.9.0 and see if this correct your problem or not. Open side panel. Next-auth Package...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
If you are not doing server-side rendering of prosemirror document do not import ‘tiptap’ at serverside. Do following instead (not tested):
Or the easiest fix is to stick to version 2.2.2:
FYI @marijnh, @philippkuehn
This addition broke it, removing it fixes the issue: https://github.com/marijnh/w3c-keyname/blob/e9fe840569bd2e090a4686436b918aa30ac49d51/package.json#L7-L10
w3c-keyname
is imported byprosemirror-keymap
I am using v13.5 and also get the same error