geosolutions-it / mapstore-project

Scripts to manage MapStore projects
Other
0 stars 7 forks source link

npm 6.14.15 doesn't support branch for dependencies #18

Open offtherailz opened 2 years ago

offtherailz commented 2 years ago

c105-cgd works using 6.14.13 , doesn't work using npm 6.14.15

"dependencies": {
    "mapstore": "git+https://github.com/geosolutions-it/MapStore2.git#c105-cgd",
    "leaflet-rotatedmarker": "0.2.0",
    "react-checkbox-tree": "^1.7.1"
  },

Tested by @sycured on CI servers. Need to check if it is a regression of npm or a change of API.

offtherailz commented 2 years ago

@sycured can you confirm the problematic version is the one indicated ?

sycured commented 2 years ago

@sycured can you confirm the problematic version is the one indicated ?

Yes, it was exactly with node 14.18.1 / npm 6.14.15

CI fixed downgrading to node 14.17.0 / npm 6.14.13

Note: CI server uses nvm to have node/npm