editor-js / embed

Embed Tool for Editor.js
MIT License
149 stars 107 forks source link

Parcel error #26

Open evgeniyPP opened 4 years ago

evgeniyPP commented 4 years ago
...\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"
  }
}
amittttt commented 4 years ago

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

Isaac-Svi commented 3 years ago

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. :/