Open jannismain opened 3 years ago
Thanks for reporting, and for the package-lock! That will help a lot.
This is new behavior, and it's not anything you've done.
Could you tell us which version of Chrome you're using?
@jannismain I am noticing that express-ws
does not appear in your package-lock.json
. My package-lock.json
shows express-ws
version 4.0.0. Not quite sure what this means yet, but is it possible you have express-ws
installed globally? Or did you remove the express-ws
dependency from your package.json
before you ran npm install
?
I have tried it with the following Browsers:
The browser console at time of the crash shows the following:
XHR GEThttp://localhost:8080/history/prop.fuel?start=1634803885565&end=1634804785565
Uncaught TypeError: req.getResponseHeader(...) is null
generateResponse http://localhost:8080/lib/http.js:21
onreadystatechange http://localhost:8080/lib/http.js:36
promise http://localhost:8080/lib/http.js:33
xhr http://localhost:8080/lib/http.js:28
get http://localhost:8080/lib/http.js:50
request http://localhost:8080/historical-telemetry-plugin.js:17
request http://localhost:8080/node_modules/openmct/dist/openmct.js:335
fetch http://localhost:8080/node_modules/openmct/dist/openmct.js:346
load http://localhost:8080/node_modules/openmct/dist/openmct.js:346
loadSeriesData http://localhost:8080/node_modules/openmct/dist/openmct.js:346
n http://localhost:8080/node_modules/openmct/dist/openmct.js:17
handleWindowResize http://localhost:8080/node_modules/openmct/dist/openmct.js:346
n http://localhost:8080/node_modules/openmct/dist/openmct.js:17
p http://localhost:8080/node_modules/openmct/dist/openmct.js:11
y http://localhost:8080/node_modules/openmct/dist/openmct.js:11
g http://localhost:8080/node_modules/openmct/dist/openmct.js:11
http.js:21:13
Regarding the package-lock.json
I might have given you the wrong one (from openmct
instead of openmct-tutorial
). Sorry about that.
Here is the correct one: package-lock.json.zip
Whenever I try to click on any telemetry source for the Example Spacecraft, the server crashes with the following output:
The issue seems related to the
express-ws
module. Anything I could have done differently to cause this? I know that the tutorial used to work for me in the past...I have already tried the following
I have attached my
package-lock.json
in case it is related to some rogue dependency that might need to be pinned (zipped because GitHub won't allow uploading json files).package-lock.json.zip
/edit: updated
package-lock.json
file