ritz078 / embed-js

🌻 A lightweight plugin to embed emojis, media, maps, tweets, code and more. ✨
https://codesandbox.io/s/Wp5OlNMn
MIT License
1.27k stars 89 forks source link

Installing embed.js with meteor (meteor+react stack) #211

Closed niko-h closed 7 years ago

niko-h commented 7 years ago

I installed embedjs via meteor npm install --save embed-js and the module seems to be installed properly @4.1.13. Requiring it via import EmbedJS from 'embed-js'; does not work though. It gives me an

Uncaught Error: Cannot find module 'embed-js'

It is probably a meteor thing and maybe there'd be need for some wrapper package.

ritz078 commented 7 years ago

Can you create a minimal repo with reproduction ?

niko-h commented 7 years ago

Hi, while creating a new repo for reproduction it now finds the module and doesnt complain any longer...also in my actual project. No clue why this didnt work in the first place, but apparently its ok now, so no need (and also no way) to reproduce. Thanks anyway for your attention.

ritz078 commented 7 years ago

Glad it worked for you.