After following the steps to run on windows, nothing happen, there ir no error and no execution log.
After adding @karatelabs/karate dependency and install.
npm i
SO: Windows 10 Home
Java, NPM and Node version:
C:\dev\api>npm -v
8.5.0
C:\dev\api>node -v
v16.14.0
C:\dev\api>echo %JAVA_HOME%
C:\Program Files\Java\jdk-17.0.1
My test.js
#! /usr/bin/env node
const karate = require('@karatelabs/karate');
karate.exec();
My package.json.
{
"name": "api",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "node test.js"
},
"keywords": [],
"author": "CharlyAutomatiza",
"license": "ISC",
"devDependencies": {
"@karatelabs/karate": "^0.2.1"
}
}
But nothing happen when I run in cmd.
C:\dev\api>npm run test karate/httpbin.feature
> api@1.0.0 test
> node test.js "karate/httpbin.feature"
using curl + bash: com.intuit.karate:karate-core:1.2.0.RC5:all karate/httpbin.feature
C:\dev\api>
After following the steps to run on windows, nothing happen, there ir no error and no execution log.
After adding
@karatelabs/karatedependency and install.npm iSO: Windows 10 HomeJava, NPM and Node version:
My test.js
My package.json.
{ "name": "api", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "node test.js" }, "keywords": [], "author": "CharlyAutomatiza", "license": "ISC", "devDependencies": { "@karatelabs/karate": "^0.2.1" } }But nothing happen when I run in
cmd.