Akryum/meteor-vue2-example

Cannot find module

Opened this issue · 6 comments

Hi, I open the project today and I get Cannot find module './Chat.vue'; in the App.vue.
But the file is in the same folder as App, I did no changes at that level.. Have you ever got this behaviour?

Thanks
Marc

Try '/imports/ui/Chat.vue‘

I already tried. Still does not work. And if normal:
if I do import Chat from '/imports/ui/Chat.vue'; it gives Cannot find module './Chat.vue'
if I do import Chat from '../imports/ui/Chat.vue'; it gives Cannot find module '../imports/ui/Chat.vue'

When did this bug appear to you? To me, only Yesterday.

But weardly, when I do change the file name in both the code and on disk, it does not reflect in the console, even if I restart the server and refresh browser:
import Chat from './Chat2.vue'; it gives Uncaught Error: Cannot find module './Chat.vue'

Try download this project again and running meteor update --release 1.4.2.4-rc.1 .My project is running.

Did you try with Meteor 1.4.3.1?

I have the same problem in my project with Meteor 1.5.2.1: if I change the name of a file, the console get stuck on the old name. Is there a necessity to name all components when using meteor-component?