You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the socket.io-client@^2.0.4 dependency depends on engine.io-client@~3.1.0, ending up as 3.1.4, and the socket.io@~2.0.4 pulls in engine.io@~3.1.0 (again ending up as 3.1.4).
But hackmd depends on engine.io-client@^1.8.2, ending up as 1.8.5 - which does not work with engine.io@3.1.4.
I think the engine.io-client@^1.8.2 dependency should be removed, and modulesDirectories should be set to only contain node_modules, not absolute paths (see webpack/webpack#472 (comment)); that way webpack should still find engine.io-client.
It seems webpack needs more memory and more time that way, but maybe you can figure out why (perhaps its including some modules more than once, and the dependencies should get fixed further to have only one version of those).
As a start increasing the engine.io-client dependency to engine.io-client@^3.1.0 should workaround the problem, but that is NOT a longterm solution!
The text was updated successfully, but these errors were encountered:
It seems path.resolve(__dirname, 'node_modules') is also needed; without that it complains about undefined eve (more might be missing, I think it stopped there).
But it works without path.resolve(__dirname, 'src') (I don't think that directory exists anyway).
In a fresh install:
Right now the
socket.io-client@^2.0.4
dependency depends onengine.io-client@~3.1.0
, ending up as3.1.4
, and thesocket.io@~2.0.4
pulls inengine.io@~3.1.0
(again ending up as3.1.4
).But
hackmd
depends onengine.io-client@^1.8.2
, ending up as1.8.5
- which does not work withengine.io@3.1.4
.I think the
engine.io-client@^1.8.2
dependency should be removed, andmodulesDirectories
should be set to only containnode_modules
, not absolute paths (see webpack/webpack#472 (comment)); that way webpack should still findengine.io-client
.It seems webpack needs more memory and more time that way, but maybe you can figure out why (perhaps its including some modules more than once, and the dependencies should get fixed further to have only one version of those).
As a start increasing the
engine.io-client
dependency toengine.io-client@^3.1.0
should workaround the problem, but that is NOT a longterm solution!The text was updated successfully, but these errors were encountered: