You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm new to Node and web dev in general, so apologies if this is really basic.
I've implemented tutorial part A but all I get when I go to localhost:8080 is a blank page. Looking at the developer tools I see the following:
Content Security Policy: The page's settings blocked the loading of a resource at http://localhost:8080/favicon.ico ("default-src"). FaviconLoader.jsm:191:19
The resource from “http://localhost:8080/node_modules/openmct/dist/openmct.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
Loading failed for the <script> with source “http://localhost:8080/node_modules/openmct/dist/openmct.js”. localhost:8080:5:1
Uncaught ReferenceError: openmct is not defined
<anonymous> http://localhost:8080/:10
My index.html is in the root of my openmct-tutorial directory, although I've also tried it in the example-server directory (just in case).
What am I missing here please? (I assume the problem is with me because I don't see anyone else complaining about this)
The text was updated successfully, but these errors were encountered:
@gitLRD Do you have the directory 'openmct' inside the 'node_modules' directory? This is likely the issue, if it is, then just add it and the error should be resolved.
Hi guys,
I'm new to Node and web dev in general, so apologies if this is really basic.
I've implemented tutorial part A but all I get when I go to localhost:8080 is a blank page. Looking at the developer tools I see the following:
My index.html is in the root of my openmct-tutorial directory, although I've also tried it in the example-server directory (just in case).
What am I missing here please? (I assume the problem is with me because I don't see anyone else complaining about this)
The text was updated successfully, but these errors were encountered: