Closed ayacoub1 closed 1 month ago
I am getting following error when trying to install npm: npm ERR! 401 Unauthorized - GET https://npm.pkg.github.com/download/@uzufly/cesium-ifc- viewer/0.11.0/75e0fd1d4673c5512996a8845b65328afad91655 - authentication token not provided
same!
any update guys? do we need to pay or do something to use the ifc-viewer package?
update: i found out that the package is available in Github Package. to setup i just followed this guide in the docs.
@ted-dino Hi!! i'm having the same problem, can you please give detalis or share in how did you manage to make it work?
@ted-dino Hi!! i'm having the same problem, can you please give detalis or share in how did you manage to make it work?
hey @mrestrepoj10 ! have you figured it out yet? for my case, i read and followed this document and i also found this helpful blog post with a quick google search. i hope this helps!
hi @ayacoub1, @matteo-pupa, @mrestrepoj10. I stumbled onto this issue in a cooldown cycle, while reviewing the PRs; sorry for the late answer.
You don't need to pay anything to use the @uzufly/cesium-ifc-viewer package: it was open-sourced, as part as a joint exploratory project with the School of Architecture, Civil and Environmental Engineering (ENAC) which is part of the EPFL.
As @ted-dino correctly pointed out, your core issue is that we published the @uzufly/cesium-ifc-viewer in the GitHub Package Registry (GHP) instead of NPM.js default registry. And the GitHub Package Registry always requires anyone to authenticate, with its GitHub account — GHP requires this.
In short, to use the GHP, you need to:
One way to configure your NPM is to manually edit your ~/.npmrc
, in the following form:
//npm.pkg.github.com/:_authToken=‹YOUR_PERSONAL_ACCESS_TOKEN›
@uzufly:registry=https://npm.pkg.github.com/
Please note: I won't further support setting up your NPM environment; please figure it out. Note: ‹YOUR_PERSONAL_ACCESSTOKEN› starts with `ghp`.
I am pleased to see this experiment rose your interest and I owe you a more complete update about the status of this project. We should probably archive this repository, as it is not actively maintained.
Again, thanks for your interest and sorry for the annoyance of the deployment on GHP.
Some background info
Status
Features
Future work
Would you be interested in knowing more, please reach out to me or start a discussion here; I would love to hear what you were expecting from this experiment: https://github.com/uzufly/showcase-cesium-ifc/discussions
I am getting following error when trying to install npm: npm ERR! 401 Unauthorized - GET https://npm.pkg.github.com/download/@uzufly/cesium-ifc- viewer/0.11.0/75e0fd1d4673c5512996a8845b65328afad91655 - authentication token not provided