Note about oreczml-js-interface

Hey. Managed to get the oreczml-js-interface code running with an output from the oreczml-tutorials package, and I just wanted to say that in order to get the npm commands to run, I had to make a very minor edit to the package.json file. Basically I had to change the file locations from:

  "scripts": {
    "build": "node_modules\\.bin\\webpack --config webpack.config.js",
    "start": "node_modules\\.bin\\webpack-dev-server --config webpack.config.js --open",
    "postinstall": "node .\\scripts\\cesium-fix.js"
  },
  "scripts": {
    "build": "node_modules/.bin/webpack --config webpack.config.js",
    "start": "node_modules/.bin/webpack-dev-server --config webpack.config.js --open",
    "postinstall": "node ./scripts/cesium-fix.js"
  },

That might be a Windows → Linux change, or it might be something else. I’m not a javascript person, so running npm is tricky for me. Also, the ISS model seems to be missing from the actual cesium run. But I got the code running and am very happy. Thanks!

Update: Got the ISS in there. Just needed to put a copy of the image file in the right location :upside_down_face:

Hello @baubin,

This is indeed an issue related to which OS you are using. I think this is related to this issue : Find how to add universal caracters for path inside the package.json (#2) · Issues · Julien LEBLOND / OreCzml JS Interface · GitLab

Thank you for mentioning this !

Cheers,
Vincent

1 Like