k6-example-data-generation icon indicating copy to clipboard operation
k6-example-data-generation copied to clipboard

Import didn't work in the latest K6 version

Open rakeshnambiar opened this issue 1 year ago • 1 comments

Import didn't work in the latest K6 version.

  "devDependencies": {
    "faker": "^5.5.3"
  }
ERRO[0000] GoError: The moduleSpecifier "faker/locale/en_US" couldn't be recognised as something k6 supports.
        at go.k6.io/k6/js.(*requireImpl).require-fm (native)

rakeshnambiar avatar Jan 01 '24 22:01 rakeshnambiar

I also tried with https://www.npmjs.com/package/@faker-js/faker

rakeshnambiar avatar Jan 01 '24 22:01 rakeshnambiar