I've tried following along multiple Meteor tutorials, and I keep getting the same issue, although I haven't been able to find a solution when searching for answers.
When I try to import html files in my client/main.js, it keeps telling me it can't find those modules. For example, I have the following file:
imports/app.svelte
<header>
<h1>Yo!</h1>
</header>
Then in my main.js:
client/main.js
import { Meteor } from 'meteor/meteor';
import App from '../imports/App.svelte';
Meteor.startup(() => {
new App({
target: document.getElementById("app"),
});
});
And now I keep getting this error:
Uncaught Error: Cannot find module '../imports/App.svelte'
I'm following along a LevelUpTuts tutorial, so I'm certain I've installed the right packages etc. And as mentioned, the same happened when I tried to do the Meteor official tutorial as well as the Vue tutorial. I'm suspecting this might have something to do with Ubuntu?