Unable to parse package.json

Nirvis

---
Veteran
Joined
Feb 7, 2016
Messages
74
Reaction score
2
First Language
English
Primarily Uses
So before proceeding in building my game I decided to try to deploy the project and see if it works out, and it did not.
I got this message:

upload_2017-4-29_20-24-24.png

upload_2017-4-29_20-25-14.png

Here is the package.json on the notepad:

upload_2017-4-29_20-26-0.png

The game works fine on the editor, but doesn't once deployed.
 

Attachments

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,359
Reaction score
7,672
First Language
German
Primarily Uses
RMMV
[move]MV Deployment[/move]

What do you deploy to (system/OS), where do you save the deployed game (full path please, beginning from drive letter to the index.html file)

Because from what I can see on your screenshots, you deployed it to a folder that does not conform to networking rules, and that is an absolute requirement for deployment due to the fact that it uses HTML5 as a basis.
Windows provides an override that redirects a wrong path on itself (that is why the editor can load illegal paths and filenames), but that does not work after deployment (when full HTML/network rules are required)
 

Nirvis

---
Veteran
Joined
Feb 7, 2016
Messages
74
Reaction score
2
First Language
English
Primarily Uses
[move]MV Deployment[/move]

What do you deploy to (system/OS), where do you save the deployed game (full path please, beginning from drive letter to the index.html file)

Because from what I can see on your screenshots, you deployed it to a folder that does not conform to networking rules, and that is an absolute requirement for deployment due to the fact that it uses HTML5 as a basis.
Windows provides an override that redirects a wrong path on itself (that is why the editor can load illegal paths and filenames), but that does not work after deployment (when full HTML/network rules are required)
The platform is Windows.
I used the default path: C:\Users\Asus\Documents\Output

C:\Users\Asus\Documents\Output\Hexaj.exe

Looks like the on I launched was an .exe

I went into the www folder and opened index.html, which also failed due to failing to load Actors.json. But does this mean I can't play the game as standalone? I need the browser and internet?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,359
Reaction score
7,672
First Language
German
Primarily Uses
RMMV
that sounds as if the data got corrupted while deploying - please try to deploy again, and if that doesn't work try to reinstall the editor

The deployment packs the game into a standalone browser, so that you can play it without internet
 

Nirvis

---
Veteran
Joined
Feb 7, 2016
Messages
74
Reaction score
2
First Language
English
Primarily Uses
that sounds as if the data got corrupted while deploying - please try to deploy again, and if that doesn't work try to reinstall the editor

The deployment packs the game into a standalone browser, so that you can play it without internet
I tried redeployment and it failed again, I'll try to reinstall the editor.

EDIT: I have reinstalled it and updated it to 1.4, it works. Thanks for the help.
 
Last edited:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c

Forum statistics

Threads
105,857
Messages
1,017,018
Members
137,563
Latest member
MinyakaAeon
Top