-
Notifications
You must be signed in to change notification settings - Fork 13
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
Api object recurrence causes an error when working with typescript. #37
Comments
Hi, Sorry for late response, but actually I cannot reproduce your issue. Thanks ! |
Here is: Steps:Create a project with this: vue-router, vuex, dart-sass, babel, typescript, pwa, eslint, unit-jest, e2e-cypress
Change package.json order: (
With my |
Hi, I've tested your procedure and I am able to only reproduce the first issue (blank page) but cannot reproduce the circular to JSON issue. Can you give me your NodeJS version ? |
Did you download my repo?, in my repo I've changed the package order. https://github.com/AliLozano/uvue-typescript-issue My node version is v10.16.0 |
Yep, I've take your repo and I'm on same node version. |
OK I've reproduced the issue but only with As a workaround, you can setup your module.exports = {
parallel: false,
}; I'll close your PR and I'll try find a better way to solve this issue. |
Thanks I'll be waiting :). |
Can you see why In default package order, |
It will be fixed in next version. As a workaround, you can put this in module.exports = {
chainWebpack(config) {
config.entryPoints
.get('app')
.clear()
.add(require.resolve('@uvue/core/client'));
},
}; (On next update of this plugin, you need to remove this code) |
Thanks :) |
Fixed in |
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Install
"@vue/cli-plugin-typescript": "^3.8.0"
and put uvue after it dependence in package.jsonExpected behavior
Run
npm run ssr:build
ornpm run build
It throw error
I don't know if is a typescript loader, but moving dependence, it fails,
I've identified that problem is this:
@uvue/vue-cli-plugin-ssr/uvue/index.js
and
@uvue/vue-cli-plugin-ssr/index.js
After the
PoolWorker
wants to serialize it and it fails.I have a solution, but it need to you evaluate it, and add a test. I will pull request.
The text was updated successfully, but these errors were encountered: