When running it in dev mode, npm start runs localhost, but when I open it I get a message inside the window
"Unable to load Gdevelop. Please check your network connectivity, close the tab and reopen"
Start gdevelop in dev mode in the usual way described in the readme
tried opening up port 3000 on windows firewall, no luck
What's shown in the console where you run npm start?
I just tested it on linux as well, getting this
index.js:1 Unable to load GDevelop. Please check your internet connectivity, close the tab and reopen it. raw error: TypeError: pixi_js_legacy__WEBPACK_IMPORTED_MODULE_1__.Texture.fromImage is not a function
at Module.<anonymous> (PixiResourcesLoader.js:11)
at Module../src/ObjectsRendering/PixiResourcesLoader.js (PixiResourcesLoader.js:19)
at __webpack_require__ (bootstrap:790)
at fn (bootstrap:150)
at Module.<anonymous> (ObjectsRenderingService.js:2)
at Module../src/ObjectsRendering/ObjectsRenderingService.js (ObjectsRenderingService.js:26)
at __webpack_require__ (bootstrap:790)
at fn (bootstrap:150)
at Module../src/ObjectsList/ObjectSelector.js (NewObjectDialog.js:61)
at __webpack_require__ (bootstrap:790)
at fn (bootstrap:150)
at Module../src/EventsSheet/ParameterFields/ObjectField.js (MouseField.js:61)
at __webpack_require__ (bootstrap:790)
at fn (bootstrap:150)
at Module.<anonymous> (ParameterRenderingService.js:3)
at Module../src/EventsSheet/ParameterRenderingService.js (ParameterRenderingService.js:118)
at __webpack_require__ (bootstrap:790)
at fn (bootstrap:150)
at Module.<anonymous> (EventsRenderingService.js:11)
at Module../src/EventsSheet/EventsTree/Instruction.js (Instruction.js:310)
at __webpack_require__ (bootstrap:790)
at fn (bootstrap:150)
at Module../src/EventsSheet/EventsTree/InstructionsList.js (Instruction.js:310)
at __webpack_require__ (bootstrap:790)
at fn (bootstrap:150)
at Module.<anonymous> (RepeatEvent.js:34)
at Module../src/EventsSheet/EventsTree/Renderers/StandardEvent.js (StandardEvent.js:23)
at __webpack_require__ (bootstrap:790)
at fn (bootstrap:150)
at Module../src/EventsSheet/EventsTree/EventsRenderingService.js (EventsRenderingService.js:1)
at __webpack_require__ (bootstrap:790)
at fn (bootstrap:150)
at Module.<anonymous> (fold.png:1)
at Module../src/EventsSheet/EventsTree/index.js (index.js:231)
at __webpack_require__ (bootstrap:790)
at fn (bootstrap:150)
at Module.<anonymous> (ToolbarCommands.js:97)
at Module../src/EventsSheet/index.js (index.js:161)
at __webpack_require__ (bootstrap:790)
at fn (bootstrap:150)
at Module../src/MainFrame/EditorContainers/EventsEditorContainer.js (DebuggerEditorContainer.js:101)
at __webpack_require__ (bootstrap:790)
at fn (bootstrap:150)
at Module../src/MainFrame/EditorTabsHandler.js (index.js:235)
at __webpack_require__ (bootstrap:790)
at fn (bootstrap:150)
at Module.<anonymous> (UpdaterTools.js:50)
at Module../src/MainFrame/index.js (index.js:2238)
at __webpack_require__ (bootstrap:790)
at fn (bootstrap:150)
This might be a result of rebasing my tilemap branch to the latest master, but looking at the dif, I dont understand what in it is causing this
I am starting to think it is caused by my changes in PixiResourcesLoader.js
Will try to fix it and close this issue asap
npm install maybe?
I cleaned node_modules and re-ran npm install - no change
could it be this line here
pixi_js_legacy__WEBPACK_IMPORTED_MODULE_1__.Texture.fromImage is not a function
Check the way you import stuff in your changes, are you properly doing import * as PIXI from 'pixi.js-legacy';?
fromImage is deleted in v5, use from instead, or read the migration guide on pixi repo in wiki tab.
Thanks @Bouh! I guess we can close this @blurymind?
I am not sure where it being imported, I dont think I am importing it anywhere in my pr.
Ok I opened a WIP pr so its easier to see it. I need to fix some conflicts on it too
https://github.com/4ian/GDevelop/pull/1901
There has been a lot of changes on master and I might have migrated them wrong or something. I want to get this back up running to complete its development with pixi5
@Bouh good observation, it now compiles after rebasing it again