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
Running yarn install fails with the following error:
error /Users/yuriv/Temp/TerriaMap/node_modules/terriajs-cesium: Command failed.
Exit code: 1
Command: bash -c "if [ ! -d "./wwwroot/build" ]; then gulp -f gulpfile.cjs terria-prepare-cesium; fi"
Arguments:
Directory: /Users/yuriv/Temp/TerriaMap/node_modules/terriajs-cesium
Output:
[10:59:53] Using gulpfile ~/Temp/TerriaMap/packages/cesium/gulpfile.cjs
[10:59:53] Starting 'terria-prepare-cesium'...
[10:59:53] Starting 'prepare'...
[10:59:53] 'prepare' errored after 3.36 ms
[10:59:53] Error: Package subpath './dist/z-worker-pako.js' is not defined by "exports" in /Users/yuriv/Temp/TerriaMap/node_modules/@zip.js/zip.js/package.json
at new NodeError (node:internal/errors:371:5)
at throwExportsNotFound (node:internal/modules/esm/resolve:440:9)
at packageExportsResolve (node:internal/modules/esm/resolve:692:3)
at resolveExports (node:internal/modules/cjs/loader:482:36)
at Function.Module._findPath (node:internal/modules/cjs/loader:522:31)
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
at Function.resolve (node:internal/modules/cjs/helpers:108:19)
at /Users/yuriv/Temp/TerriaMap/packages/cesium/gulpfile.cjs:390:13
at taskWrapper (/Users/yuriv/Temp/TerriaMap/node_modules/undertaker/lib/set-task.js:13:15)
at bound (node:domain:421:15)
at runBound (node:domain:432:12)
How can I get yarn install to work with packages/cesium linked?
The problem I am trying to solve by doing so is the WMS highlight issue, which has partly been solved in the mentioned version of terrains-cesium but not in the version 8.0.0, which comes out of the box now.
The text was updated successfully, but these errors were encountered:
I am trying to enable a custom custom version of Cesium, following the documentation:
The commands that I use:
The versions I use are:
In
TerriaMap/package.json
I made the following modifications:In
TerriaMap/packages/terriajs/package.json
, I set the same version ofterria-cesium
as well:Running
yarn install
fails with the following error:How can I get
yarn install
to work withpackages/cesium
linked?The problem I am trying to solve by doing so is the WMS highlight issue, which has partly been solved in the mentioned version of
terrains-cesium
but not in the version8.0.0
, which comes out of the box now.The text was updated successfully, but these errors were encountered: