imodeljs / imodeljs-samples

MIT License
33 stars 25 forks source link

Failed node ./common/scripts/install-run-rush update #16

Closed I-Sokolov closed 4 years ago

I-Sokolov commented 4 years ago

 WARN  Fetching pkgs.dev.azure.com/@bentley/imodeljs-native/1.14.1 failed!  ERROR  sha512-Xy+3RJmh+ovq6/ntcf9WEUi8dGExaRf5cdZM4Eo7kPCPARJruw/sQIP/+/N18Y4Kf/o9j+G1VIsZHK3pqMtJPQ== integrity checksum failed when using sha512: wanted sha512-Xy+3RJmh+ovq6/ntcf9WEUi8dGExaRf5cdZM4Eo7kPCPARJruw/sQIP/+/N18Y4Kf/o9j+G1VIsZHK3pqMtJPQ== but got sha512-+yBBlRj6Z1+4AiLsVdK3tkZOSGIVcByMt4Zg4UnlhRNyt1jCpxh3Hjf7V2tJ+p0oAC+qa5rpQMI72FMMWoJ9cQ==. (11214 bytes)

calebmshafer commented 4 years ago

@I-Sokolov it looks like you're trying to pull the @bentley/imodeljs-native package from Azure Artifacts instead of npmjs.org. There's an issue with Azure Artifacts and npmjs calculating different checksums for the native package so when you switch between the two it causes this issue.

If you add @bentley:registry=https://registry.npmjs.org/ to the common/config/rush/.npmrc, in addition to the line that's already there, that should fix the issue without changing you user profile.

That line will override the @bentley:registry setting that you could have in your user profile for this repo only.