New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with Typescript project #245
Comments
Error occurs here: https://github.com/vuejs/vue-jest/blob/master/lib/utils.js#L69 In However, this package specifies WorkaroundInstall npm i -D vue-jest@4.0.0-beta.3 ts-jest@25.4.0 If you use Yarn, fix ts-jest@^25.2.1:
version "25.4.0"
resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-25.4.0.tgz#5ad504299f8541d463a52e93e5e9d76876be0ba4"
integrity sha512-+0ZrksdaquxGUBwSdTIcdX7VXdwLIlSRsyjivVA9gcO+Cvr6ByqDhu/mi5+HCcb6cMkiQp5xZ8qRO7/eCqLeyw==
dependencies:
bs-logger "0.x"
buffer-from "1.x"
fast-json-stable-stringify "2.x"
json5 "2.x"
lodash.memoize "4.x"
make-error "1.x"
micromatch "4.x"
mkdirp "1.x"
resolve "1.x"
semver "6.x"
yargs-parser "18.x" |
To solve this issue, we can take one of three approaches:
What should I do? |
I was running into this issue as well... tried workaround one and that did fix the issue |
I think sticking with version 3 is the safest bet. Would love to upgrade after beta is over. |
solved by #246 |
@lambda0xff or maintainer |
Issue is described here:
nuxt/create-nuxt-app#546
After a little digging, the problem is due to
vue-jest@4.0.0-beta.3
If I replace it with
vue-jest@4.0.0-beta.2
, the issue disappearsThe text was updated successfully, but these errors were encountered: