embed icon indicating copy to clipboard operation
embed copied to clipboard

Parcel error

Open evgeniyPP opened this issue 4 years ago • 2 comments

...\node_modules\@editorjs\embed\dist\bundle.js:1:5165: Unexpected token (1:5165)

I get this error when I

import Embed from '@editorjs/embed';

and run

parcel serve main.js

package.json:

{
  ...
  "devDependencies": {
    "@editorjs/editorjs": "^2.17.0"
  },
  "dependencies": {
    "@editorjs/embed": "^2.3.1",
    "@editorjs/header": "^2.4.1",
    "@editorjs/list": "^1.4.0"
  }
}

evgeniyPP avatar May 02 '20 10:05 evgeniyPP

Yes.. I am also facing the same error :( Did you get any luck here?

amittttt avatar May 31 '20 18:05 amittttt

Yup, same issue over here. Tried it with the CDN on codepen, and it works great. When I try using it with parcel, youtube refuses to connect. :/

Isaac-Svi avatar Oct 06 '21 18:10 Isaac-Svi