mobxjs / mobx-vue

🐉 Vue bindings for MobX
MIT License
475 stars 22 forks source link

`observer.js` missing from current dist/package #48

Closed doriandrn closed 4 years ago

doriandrn commented 4 years ago

Hello,

I've installed the package from npm and i was getting this error:

Module not found: Error: Can't resolve './observer' in '/Users/........./node_modules/mobx-vue/esm'

The file seems to be missing indeed from the package after checking node_modules.

Captură de ecran din 2020-08-05 la 09 24 15

This is just a heads-up! I had to (re)build the project and move the files manually to get it working. Other than that, nice job!

kuitos commented 4 years ago

Checked the npm package, it seems not missing https://unpkg.com/browse/mobx-vue@2.0.10/esm/observer.js

could you pls check your version of installed mobx-vue package?

doriandrn commented 4 years ago

Thanks for the suggestion, it seemed to be a problem with yarn installing it. After switching to npm, everything worked fine.