This is a continuation of my efforts to troubleshoot the problems shown here where I am trying to understand how to run a Node.js application which the author is saying that it can be run straight from the webserver (ES6 ?)
After diving into the sources of the app (which might be too much for my level) I am seeing this line
import editorTemplate from './templates/editorTemplate.html'
and the file in question is indeed a text/html file and there is nothing to import from there
The above strange (to me) import is attempted here
Is this a mistake ?
The key problem is that you are attempting to load the raw
src files. They are not runnable JS files. You will need to serve the bundled
distribution files that were output by the project's build pipeline.