question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue type

I’m submitting a … (check one with “x”)

[x] bug report

  • feature request
  • question about the decisions made in the repository

Issue description

Current behavior: Good afternoon, guys! I have certain problem: I can’t wrap your project with Electron.js, If u know how to make ngx-admin for Desktop in another way, Please help me

Expected behavior: The program will be launched

Steps to reproduce:

Related code:

“Failed to load module script: The server responded with a non-JavaScript MIME type of "". Strict MIME type checking is enforced for module scripts per HTML spec.”
It had been happened with libraries which contain '<script type="module">'

Other information:

npm, node, OS, Browser

<!--
Node, npm: `node --version` and `npm --version`
OS: Windows 10
Browser: Chrome
-->

Angular, Nebular

<!--
Check your `package-lock.json` or locate a `package.json` in the `node_modules` folder.
-->

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
jamesmikesellcommented, Nov 25, 2019

I was able to solve this problem by setting the crossOrigin property in the Angular build as referenced in this Angular defect.

Note this fix worked because my files were being served from a remote server, not locally. If your Angular files are being served locally, this likely won’t fix anything and you’ll like have to resort to downgrading to an es5 build.

0reactions
ArtemRomanovskycommented, Nov 12, 2019

hi @BiggyBill! We don’t have a plan to release the ngx-admin on desktop. Try to look here, seems, it can resolve the issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

Electron: Build cross-platform desktop apps with JavaScript ...
Electron is an open source project maintained by the OpenJS Foundation and an active community of contributors. Desktop development made easy. Electron takes ......
Read more >
Electron - Wikipedia
) is a subatomic particle with a negative one elementary electric charge. ... Electrons belong to the first generation of the lepton particle...
Read more >
Electron | Definition, Mass, & Facts - Britannica
electron, lightest stable subatomic particle known. It carries a negative charge of 1.602176634 × 10 −19 coulomb, which is considered the ...
Read more >
electron: Build cross-platform desktop apps with ... - GitHub
The Electron framework lets you write cross-platform desktop applications using JavaScript, HTML and CSS. It is based on Node.js and Chromium and is...
Read more >
What is an electron? - TechTarget
An electron is a negatively charged subatomic particle that together with protons and neutrons form an atom's nucleus. Learn why electrons are unique....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found