When I run love.js, the resulting game.js file shows absolute paths for the game's files instead of relative paths (e.g. C:\\Users\\CogentInvalid\\Documents\\love\\game\\main.lua instead of /main.lua). This makes the game error out as soon as it loads. Fixing the paths causes the game to run correctly.
EDIT: Looking into this further, it looks like the results differ based on how love-js is called. If I provide it the full paths:
When I run love.js, the resulting game.js file shows absolute paths for the game's files instead of relative paths (e.g. C:\\Users\\CogentInvalid\\Documents\\love\\game\\main.lua instead of /main.lua). This makes the game error out as soon as it loads. Fixing the paths causes the game to run correctly.
EDIT: Looking into this further, it looks like the results differ based on how love-js is called. If I provide it the full paths:
love-js C:/Users/CogentInvalid/Documents/love/game C:/Users/CogentInvalid/Documents/love/build
It gives the result described above. But if I run love-js from within the game folder and use relative paths:
love-js . ../build
The resulting game.js file has empty strings for all the filenames and '/' for all the file paths, and the game still crashes.