Open trantung998 opened 8 years ago
Were you able to solve this? I had the exact same issue..
The same. Is this project alive? I am just trying it, 2 hours and no success... (windows :( )
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.
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.
hi i'm try to build hello world project, but the simulator show nothing this is log:
this is the screen shoot
Console log: