Giter Site home page Giter Site logo

simulator show black screen about devkit HOT 4 OPEN

trantung998 avatar trantung998 commented on June 21, 2024
simulator show black screen

from devkit.

Comments (4)

MikaelDev avatar MikaelDev commented on June 21, 2024

Were you able to solve this? I had the exact same issue..

from devkit.

jasir avatar jasir commented on June 21, 2024

The same. Is this project alive? I am just trying it, 2 hours and no success... (windows :( )

from devkit.

synaestheory avatar synaestheory commented on June 21, 2024

As a temporary work-around, you can edit the modules/devkit-core/src/aclientapi/index.js file lines 129 and 138 to empty objects.
var spritesheets = {}
and
var soundMap = {};

This does NOT fix the JSON.parse error and is definitely not intended to be a complete solution to the issue. If the you're expecting your spritesheets map or sound map to load, this will not resolve the issue. I'm trying to dig through the source code right now to see if there's a way to properly resolve the issue.

from devkit.

synaestheory avatar synaestheory commented on June 21, 2024

After further investigation, this appears to be an issue with the variable assignment of GLOBAL.CACHE on windows. The built code is looking for GLOBAL.CACHE['spritesheets/map.json'] but the cache member as it is assigned is GLOBAL.CACHE['spritesheets\map.json'].

I'm still trying to track down where and how the cache gets set. I am hoping to fully track down this issue and get this squared away with a PR asap.

from devkit.

Related Issues (20)

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.