The “src/stone_diffuse.jpg” texture does not show on the ground plane with Node.js server and there is no error on the console, but it will appear with WAMP server.
(Edit) To reproduce it:
Open the project folder with VS Code
Install the dependencies with “npm install” command
Run it with “npm start” command
(Edit) The following environment texture does not appear with Node.js as well and it comes with “Not a babylon environment map” error, but it will appear with WAMP server:
I tried the environment texture below, which does not appear with Node.js as well and it comes with “Not a babylon environment map ” error, but it will appear with WAMP server:
I took the test again with not_a_babylon_env_map_error_with_node_js.zip as you listed.
As a result, the creation of the texture fails, and the declaration of the inspector (even just the import) starts giving errors.
Also, the url, path, etc. for model import are unknown.
I think the reason for this may be a problem with the structure of wepack - build, etc.
It’s a problem with the settings of parcel I think.
If you try to get any resource (http://localhost:1234/XXXX), parcel will always serve the index.html page. So, http://localhost:1234/src/stone_diffuse.jpg will also return this page and not the picture.
i’m sorry, i might have missed it - is there some product reproduction I can test out?
This might be the server configuration is wrong. However, I am pretty sure that the src folder is not published by the server. There should be some form of static hosting, but for sure not the src folder.