So I have taken the course code, and am in the process of using it to build a project of my own. Working on the premise that it will be better than I can write myself, at this time
However, I am currently getting the above issue, which I have tied down to the use of the import commands within /src/server.js
From what I have deduced it is related to a piece of functionality related to a babel dev dependency, something that would create .babelrc… I would prefer not to install every dev dependency without a broad understanding of what it does.
If you can let me know how it’s what babel is doing in this case, to allow the import to work
Otherwise I may just import the who thing, but that doesn’t potentially help in the long run Or maybe recode the imports to requires.
PS - Why was there a swap from require to import in the code?