Skip to content

Nothing happen after execution - Java 17.0.1 - Node 16.14.0 - NPM 8.5.0 #2

Description

@charlyautomatiza

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions