module 'socket.http' not found

Just switched to 2018.3279.

A HTML5 build that work just fine in earlier version is now failing on both localhost and proper webserver.

I have removed these lines from my code

– local http = require(“socket.http”)

– local ltn12 = require(“ltn12”)

This is what I get.

module 'socket.http' not found:resource (socket.http.lu) does not exist in archive no field package.preload['socket.http'] no file '//socket/http.lua' no file '//socket/http.lua' no file './socket/http.so' no file '//socket/http.so' no file './socket.so' no file '//socket.so' stack traceback: [C]: in function 'require' ?: in function 'require' ?: in main chunk [C]: in function 'require' ?: in function 'require' ?: in main chunk

Hi,

Have you made sure to completely clear out your HTML5 output directory before building with the updated version? Also check browser cache.

-dev

‘socket’ plugin is not ported yet to html5, sorry.

I know socket isn’t ported.

I tried a new browser, one that hasn’t seen the files before. Even renamed the folder on my server in case cached data is still available via ISP.

So, can anyone say what could trigger this? I have commented out any socket and ltn12 code.

Anything in build.settings?

I have removed plugins.

OK, found it, please ignore.

I was also using urlOperations = require(“socket.url”)

Hi,

Have you made sure to completely clear out your HTML5 output directory before building with the updated version? Also check browser cache.

-dev

‘socket’ plugin is not ported yet to html5, sorry.

I know socket isn’t ported.

I tried a new browser, one that hasn’t seen the files before. Even renamed the folder on my server in case cached data is still available via ISP.

So, can anyone say what could trigger this? I have commented out any socket and ltn12 code.

Anything in build.settings?

I have removed plugins.

OK, found it, please ignore.

I was also using urlOperations = require(“socket.url”)