Comments (9)
Count me in on this issue. By switching to always-auth=false
in .npmrc, I got past it. Would be nice to not have to remember to do that every time I upgrade alks. BTW - This is my personal GH account. If necessary, you can find me at eric.hall in Cox Auto land.
from alks-cli.
@aaron-seitz no, per my PR this is an issue with using always-auth=true
(required for private registries that need auth on GET
s) and having a generic URL as a dependency. If you use the shorthand for GitHub URLs, installs work perfectly.
If a GitHub dependency of the form Cox-Automotive/clortho#1.2.3
is causing issues with the build system, you can try using git+https://github.com/Cox-Automotive/clortho#1.2.3
to force downloading with https. Either way is perfectly valid syntax, and the build system should support it.
This has prevented us from updating alks-cli past version 3.0.5
.
Edit: Note that per the NPM documentation link above, https://github.com/Cox-Automotive/clortho/archive/1.2.3.tar.gz
is not a valid GitHub dependency format.
from alks-cli.
I'm running in to this issue as well. My naive assumption is that one could setup a custom registry and then npm
would check that first and the standard registry if the package is not foundf. Certainly there must be a solution to allow for both custom and default registry that isn't "swap your .npmrc
whenever you use npm
"?
from alks-cli.
so I have the same issue. Reading into node docs I suggest creating different profiles and using npmrc
to swap between company and public profiles. https://docs.npmjs.com/configuring-your-registry-settings-as-an-npm-enterprise-user
from alks-cli.
Hello! Looking into the issue, we believe this is actually a misconfigured custom npm registry (setup such that it doesn't know how to properly resolve GitHub links). Can you check and verify if this is the case?
from alks-cli.
I am trying to install the alks-cli on node v13.12.0 (nodejs stable), I am also getting the error message
Unable to authenticate, need: Basic realm="GitHub"
Is the alks-cli not compatible with node 13??
from alks-cli.
@rsturim we've also seen this issue recently, specifically here, where the issue ended up being that there are more than 1 alks instances found. Using the command which alks
to find if there are more than one can help resolve this issue.
from alks-cli.
I'm experiencing the same issue with a different repo and it is rather frustrating to swap npmrc files. There needs to be a better way of doing this.
from alks-cli.
This issue should be resolved for all users in versions 3.2.5 and up now that PR #191 has been deployed since we're no longer using github URLs for the clortho dependency. Please open another issue if any other issues occur as a result of this change
from alks-cli.
Related Issues (20)
- Please fix the engine section in cox's port of clortho package to >=4
- [FEATURE]: Support to use alks-cli as an external process with AWS CLI HOT 5
- Feature Request: Better errors when refresh token fails HOT 2
- Windows Users using GitBash Need Export Not Set HOT 2
- [FEATURE] Print OAuth Link to STDOUT HOT 1
- [BUG] Create Role function does not support Machine Identities HOT 1
- FEATURE REQUEST: Print human readable names in `alks sessions open` output
- Character Escaping
- [FEATURE] Make it easier to find a specific account in a list HOT 1
- Eliminate npm "update available" message
- Defautl / Custom Session Times HOT 1
- 31 high vulnerabilities in 3.7.3
- Make Login2fa non-interactive
- node 16 support
- Feature Request - add support for local configuration files (that override the user-level defaults) HOT 1
- Unhaldled error when trying to configure profile in WSL
- `alks sessions console` opens a new browser instance
- [feature] extend `alks sessions open` to use AWS profiles
- Deprecation Warning: punycode module is deprecated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alks-cli.