Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve windows support #4

Open
ptrthomas opened this issue Apr 5, 2022 · 3 comments
Open

improve windows support #4

ptrthomas opened this issue Apr 5, 2022 · 3 comments

Comments

@ptrthomas
Copy link
Contributor

we've already had 2 reports of this process not working on windows

karatelabs/karate-npm#1
karatelabs/karate-npm#2

at the very least we need a way to show a log of some sort when the install fails

any creative options to get this possible on windows would be great !

@ptrthomas
Copy link
Contributor Author

a user has confirmed that a manual install on windows serves as a work-around: karatelabs/karate-npm#2 (comment)

@rahulmr
Copy link

rahulmr commented Apr 10, 2022

Not sure if this is same issue but I am getting below error when I am trying from powershell.

PS D:\personal\karate_projects\karate-npm> pwsh --version
PowerShell 7.2.2

npm details ::

PS D:\personal\karate_projects\karate-npm> npm -v
8.6.0
PS D:\personal\karate_projects\karate-npm> node -v
v17.8.0
PS D:\personal\karate_projects\karate-npm>

When I clone this repo and perform npm i I am getting below issue.

PS D:\personal\karate_projects\karate-npm> npm i

> @karatelabs/[email protected] preinstall
> node preinstall.js

pre-installing karate ...
using jbang: com.intuit.karate:karate-core:LATEST:all
[jbang] Resolving dependencies...
[jbang] com.intuit.karate:karate-core:jar:all:LATEST
[jbang] [ERROR] Could not resolve dependencies from mavencentral=https://repo1.maven.org/maven2/
Unable to collect/resolve dependency tree for a resolution due to: Could not find artifact com.intuit.karate:karate-core:jar:all:LATEST, caused by: Could not find artifact com.intuit.karate:karate-core:jar:all:LATEST
  Could not find artifact com.intuit.karate:karate-core:jar:all:LATEST
[jbang] Run with --verbose for more details
pre-install of karate complete

up to date, audited 22 packages in 3s

4 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
PS D:\personal\karate_projects\karate-npm>

I check the url for maven => https://repo1.maven.org/maven2/
But there is karate or karate-core folder in it.

image

@ptrthomas
Copy link
Contributor Author

@rahulmr commented in the right issue: karatelabs/karate-npm#2 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants