New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ws
node module throws warnings when webpack'd
#4133
Comments
I had this problem and it was fixed by I notice your output is from webpack, so I wonder if the bug report should read webpack failure related to ws. Is the idea that |
Ok, so my last comment was wrong. The error is from
|
Ok, these are warnings that I'll look into tweaking |
ws
node module fails to install at ToTws
node module throws warnings when webpack'd
I'll write down what I understood: WS library is used to connect to Arcs Explorer when running Arcs in Node (browser uses browser-provided WebSocket implementation). WS can be greatly sped up by including these 2 libraries. However both require a native component that can fail to compile depending on the developer's machine, so they are not required. @sjmiles change to the webpack config makes it explicit that we don't want webpack to include these libraries, which stops it from generating a warning. This is fine as we don't care so much about performance of the Runtime-Explorer on Node right now. |
@piotrswigon what caused these errors to arise, when we hadn't seen them previously? Do you know whether an involved module was updated? |
I was not able to correlate this warning with the version of webpack or ws. Are we confident these warnings just appeared now? @shaper how did you discover them? Did you notice them in the command line, or are they blocking travis? I want to understand whether they only appeared now or whether they were there for months / days. |
They appeared last week when I was building on my workstation. I don't think these blocked Travis as they were just warnings. I saw them on the command line and hadn't seen them previously, but had been building mainly on my Pixelbook for prior week or two. |
I thought this was all figured out re: my comment from 3 days ago and my patch. Why are we still talking about versions? |
My understanding is that we know how to fix it, but we don't know why it surfaced only now. I presume @shaper would like to understand the relationship between this issue and the lack of package-lock.json. |
webpack
step fails at ToT after a clean (rm node_modules, npm install, ./tools/sigh) today with error below. It's not immediately clear to me if this is due to a storageNG ramdisk dep, or devtools, or something else, see error detail below. Will seek thoughts from @piotrswigon but FYI @shansThe text was updated successfully, but these errors were encountered: