Giter Site home page Giter Site logo

j-puls / domain-destroyer Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 3.0 459 KB

A modern spin-off of the timeless Desktop Destroyer game developed by Miroslav Němeček

License: MIT License

TypeScript 96.73% CSS 2.95% JavaScript 0.32%
ing miroslav-nemecek typescript react reactjs game desktop-destroyer mini-game browser-game html-game retro vintage 90s

domain-destroyer's Issues

Expected a JavaScript module script but the server responded with a MIME type of "video/webm"

I'll preface to say that I'm a typescript novice and it's possible I'm just making a rookie mistake but I'm having a hard time implementing this project. I'm trying to follow the README in an otherwise blank typescript boilerplate project and then run in a local dev server can't get it to run so thought I'd try reaching out.

Specifically, I'm seeing the following error in the browser console which seems to take issue with the import hammer_1 from "./hammer_1.webm"; lines in the sounds index.js file

hammer_1.webm:1 Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "video/webm". Strict MIME type checking is enforced for module scripts per HTML spec.

Any idea on how to resolve this one? My googling couldn't dig up much.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.