question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Duplicate use of selection JSON ID cell

See original GitHub issue

前几天npm install 之后 npm run dev console出现这样的错误,页面无法加载请问是tiptap-extensions 的问题么?

Uncaught RangeError: Duplicate use of selection JSON ID cell
    at Function.jsonID (webpack-internal:///./node_modules/prosemirror-state/dist/index.es.js:200)
    at eval (webpack-internal:///./node_modules/tiptap-extensions/node_modules/prosemirror-tables/dist/index.es.js:631)
    at Object../node_modules/tiptap-extensions/node_modules/prosemirror-tables/dist/index.es.js (app.js:3341)
    at __webpack_require__ (app.js:708)
    at fn (app.js:113)
    at eval (webpack-internal:///./node_modules/tiptap-extensions/dist/extensions.esm.js:40)
    at Object../node_modules/tiptap-extensions/dist/extensions.esm.js (app.js:3333)
    at __webpack_require__ (app.js:708)
    at fn (app.js:113)
    at Object.eval (webpack-internal:///./node_modules/element-tiptap/lib/element-tiptap.esm.js:38)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
FranzTscharfcommented, Jan 12, 2022

Please reopen this issue for npm users it is still not fixed.

for me only the following resolved the problem:

  1. Add dependency: “prosemirror-utils”: “^1.0.0-0",
  2. Run “npm prone” after npm install
  3. Set node version to v14

But since there is the new npm version npm v8.3.0 which has a equivalent to yarn resolutions. There should be a fix for that: https://stackoverflow.com/questions/52416312/npm-equivalent-of-yarn-resolutions

Maybe of using something like this style with the mentioned deps:

{ “overrides”: { “foo”: “1.0.0” } }

0reactions
chjanscommented, Jun 18, 2022

Still appearing on Node. Wanted to switch from Webpack (via Laravel-Mix) to Vite… TipTap only thing not working… crashes 20h of work.

Reproduction: System: OSX ARM NPM: 8.5.0

clone https://github.com/ryuhojin/vite-vue2-simple-starter

in main.js

import ElementUI from ‘element-ui’; import {ElementTiptapPlugin} from ‘element-tiptap’ Vue.use(ElementTiptapPlugin, {}); import ‘element-tiptap/lib/index.css’;

Working fine in dev-mode-server. Crashes Production though. Fixes not working.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Question] How to fix "Duplicate use of selection JSON ID cell ...
The main tiptap module works fine when I create a simple editor-content component, as in the README. However, as soon as I attempt...
Read more >
Duplicate use of selection JSON ID cell error - Discuss
The most likely cause is that you're accidentally loading two different versions of prosemirror-tables, both of which are trying to register " ...
Read more >
[Question] How to fix "Duplicate use of selection JSON ID cell ...
I have installed the tiptap and tiptap-extensions modules. I also installed the prosemirror-tables module based on NPM's insistence.
Read more >
引入tiptap之后直接报错Duplicate use of selection JSON ID cell
id ) {... 使用element-tiptap报错Duplicate use of selection JSON ID cell解决办法! 给数组去除重复值Array.prototype.distinct = function() { var arr = this, result = ...
Read more >
element-tiptap - NPM Package Overview - Socket.dev
fix "Duplicate use of selection JSON ID cell" (ac098d7), ... that's easy to use, friendly to developers, fully extensible and clean in ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found