johnsusek / praeco

Elasticsearch alerting made simple.
GNU General Public License v3.0
549 stars 88 forks source link

change-case 4.1.2 to 5.x #613

Closed nsano-rururu closed 7 months ago

nsano-rururu commented 10 months ago

The test will start to fail. It is necessary to investigate what changed from 4.1.2 to 5.x. https://github.com/blakeembrey/change-case

sano3@U-2D13W42JHXSRM:~/dkwork3/praeco$ ./node_modules/.bin/vue-cli-service test:unit tests/unit/specs/alert/ConfigYamlIris.spec.js
  [                         ] 0% () WEBPACK  Compiling...

  [=========================] 98% (emitting)

 ERROR  Failed to compile with 1 error

 error  in ./src/components/FolderTree.vue?vue&type=script&lang=js

Module not found: Error: Package path . is not exported from package /home/sano3/dkwork3/praeco/node_modules/change-case (see exports field in /home/sano3/dkwork3/praeco/node_modules/change-case/package.json)

  [=========================] 99% (done) WEBPACK  Failed to compile with 3 error(s)

Error in ./src/components/FolderTree.vue?vue&type=script&lang=js

  Module not found: Package path . is not exported from package /home/sano3/dkwork3/praeco/node_modules/change-case (see exports field in /home/sano3/dkwork3/praeco/node_modules/change-case/package.json)

Error in ./src/views/Alerts.vue?vue&type=script&lang=js

  Module not found: Package path . is not exported from package /home/sano3/dkwork3/praeco/node_modules/change-case (see exports field in /home/sano3/dkwork3/praeco/node_modules/change-case/package.json)

Error in ./src/views/RuleView.vue?vue&type=script&lang=js

  Module not found: Package path . is not exported from package /home/sano3/dkwork3/praeco/node_modules/change-case (see exports field in /home/sano3/dkwork3/praeco/node_modules/change-case/package.json)

  [=========================] 100% (completed)

 ERROR  Error: mochapack exited with code 1.
Error: mochapack exited with code 1.
    at ChildProcess.<anonymous> (/home/sano3/dkwork3/praeco/node_modules/@vue/cli-plugin-unit-mocha/index.js:86:18)
    at ChildProcess.emit (node:events:526:35)
    at ChildProcess._handle.onexit (node:internal/child_process:294:12)