I have an error on my project when I try to run tests

$ yarn run test-server
yarn run v1.22.21
$ ts-mocha "test/**/*.js" "lib/flowmaster/**/*.ts" --exit
Error: Debug Failure. Output generation failed

and in the package.json

"webpack": "^1.13.1",

and yarn says 1.15 is installed

$ yarn list --pattern webpack
yarn list v1.22.21
warning Resolution field "transformers@3.1.0" is incompatible with requested version "transformers@2.1.0"
warning Resolution field "macaddress@0.5.2" is incompatible with requested version "macaddress@^0.2.8"
warning Resolution field "transformers@3.1.0" is incompatible with requested version "transformers@2.1.0"
├─ extract-text-webpack-plugin@1.0.1
├─ webpack-core@0.6.9
├─ webpack-dev-middleware@1.12.2
├─ webpack-dev-server@4.9.0
│  └─ webpack-dev-middleware@5.3.1
├─ webpack-hot-middleware@2.21.0
├─ webpack-sources@0.1.5
└─ webpack@1.15.0
Done in 0.51s.

and here https://github.com/NativeScript/NativeScript/issues/9300