When trying to build and deploy a sample, such as “Configurator”, I receive this error during build:
RollupError: The “fileName” or “name” properties of emitted chunks and assets must be strings that are neither absolute nor relative paths, received “…/…/…/…/…/…/roblkw/wkspaces/NeedleFive/Library/Needle/Sample/index.html”.
Original Post on Discord
by user 225092454464880640
The bug happens when trying to Build & Deploy: Prod to either FTP or Glitch
by user 225092454464880640
Needle Engine 3.11.0, Samples 0.8.1
by user 225092454464880640
And it seems to happen on all of the samples I’ve tried to build
by user 225092454464880640
marwie1
(marwi)
July 31, 2023, 12:00am
5
This is very likely related to the issue you’re having here Discord
marwie1
(marwi)
July 31, 2023, 12:00am
6
Interesting that rollup is failing here
marwie1
(marwi)
July 31, 2023, 12:00am
7
Can you check which vite version is currently installed at node_modules/vite/package.json
?
vite 4.3.9
by user 225092454464880640
Yeah, I wouldn’t be surprised if it’s related.
by user 225092454464880640
marwie1
(marwi)
July 31, 2023, 12:00am
10
And which rollup version?
This is the vite package.json
by user 225092454464880640
rollup 3.27.0
by user 225092454464880640
marwie1
(marwi)
July 31, 2023, 12:00am
13
marwie1
(marwi)
July 31, 2023, 12:00am
14
marwie1
(marwi)
July 31, 2023, 12:00am
15
Otherwise it should have failed on my side as well i think
I didn’t modify it, no.
by user 225092454464880640
Glitch build&deploy works on Linux Mint, using Needle Version 3.11.2
by user 225092454464880640
I’ll try again on my Windows computer now. Update (didn’t work, unfortunately)
by user 225092454464880640
Great to here it works on one. You don’t happen to have another windows machine you can test on, do you?