Open krugar opened 5 years ago
Since yarn was ignoring the private registry in .npmrc, we tried adding the following to .yarnrc:
"@csegames:registry" "http://registry.camelotunchained.com"
This doesn't seem to work.
While working with Salty, we found that everything breaks again if Node is upgraded to 12.x. The above workarounds only work with Node 10.x.
Right, I should have stated that I tried this with LTS/Dubnium
(v10.17.0 at time of writing), given that the project requires v7.4.X
, which I would read as LTS/Carbon
(v8.16.2 atm)?
edit: btw, CircleCI failed because hatcheryapi was down broken at the time:
@csegames/camelot-unchained: nps is executing
definitions
: download https://hatcheryapi.camelotunchained.com/codegen/definitions.ts > ./src/webAPI/definitions.ts @csegames/camelot-unchained: HTTPError: Response code 500 (Internal Server Error)
Additionally to what's in the PR,
I had to manually run
npm i --save @csegames/camelot-unchained
inCamelot-Unchained/game/hud
, as that correctly uses the private registry, even ifyarn
doesn't.I also had to set
"forceConsistentCasingInFileNames": false
in mytsconfig.json
to squash TS1149 errors with import statements fromhud/...
, due to the directory on disk being namedHUD
.I've not included either in the PR because it might be somehow specific to my setup here.