You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error log:
[vite] Internal server error: unknown file: Property left of AssignmentExpression expected node to be of a type ["LVal","OptionalMemberExpression"] but instead got "CallExpression"
Plugin: vite:vue2-jsx
File: /home/projects/vitejs-vite-dnqewx/src/App.vue?vue&type=script&setup=true&lang.jsx
at Object.validate (file:///home/projects/vitejs-vite-dnqewx/node_modules/@babel/types/lib/definitions/utils.js:105:11)
at validateField (file:///home/projects/vitejs-vite-dnqewx/node_modules/@babel/types/lib/validators/validate.js:21:9)
at validate (file:///home/projects/vitejs-vite-dnqewx/node_modules/@babel/types/lib/validators/validate.js:15:3)
at validateNode (file:///home/projects/vitejs-vite-dnqewx/node_modules/@babel/types/lib/builders/validateNode.js:12:27)
at Object.assignmentExpression (file:///home/projects/vitejs-vite-dnqewx/node_modules/@babel/types/lib/builders/generated/index.js:269:36)
at genAssignmentCode (file:///home/projects/vitejs-vite-dnqewx/node_modules/@vue/babel-sugar-v-model/dist/plugin.js:1:2618)
at genDefaultModel (file:///home/projects/vitejs-vite-dnqewx/node_modules/@vue/babel-sugar-v-model/dist/plugin.js:1:8616)
at transformModel (file:///home/projects/vitejs-vite-dnqewx/node_modules/@vue/babel-sugar-v-model/dist/plugin.js:1:1626)
at JSXAttribute (file:///home/projects/vitejs-vite-dnqewx/node_modules/@vue/babel-sugar-v-model/dist/plugin.js:1:376)
at NodePath._call (file:///home/projects/vitejs-vite-dnqewx/node_modules/@babel/traverse/lib/path/context.js:46:20)
The text was updated successfully, but these errors were encountered:
example: https://stackblitz.com/edit/vitejs-vite-dnqewx?file=src%2FApp.vue
vue2.7.16中setup jsx语法中vModel无法绑定ref
error log:
[vite] Internal server error: unknown file: Property left of AssignmentExpression expected node to be of a type ["LVal","OptionalMemberExpression"] but instead got "CallExpression"
Plugin: vite:vue2-jsx
File: /home/projects/vitejs-vite-dnqewx/src/App.vue?vue&type=script&setup=true&lang.jsx
at Object.validate (file:///home/projects/vitejs-vite-dnqewx/node_modules/@babel/types/lib/definitions/utils.js:105:11)
at validateField (file:///home/projects/vitejs-vite-dnqewx/node_modules/@babel/types/lib/validators/validate.js:21:9)
at validate (file:///home/projects/vitejs-vite-dnqewx/node_modules/@babel/types/lib/validators/validate.js:15:3)
at validateNode (file:///home/projects/vitejs-vite-dnqewx/node_modules/@babel/types/lib/builders/validateNode.js:12:27)
at Object.assignmentExpression (file:///home/projects/vitejs-vite-dnqewx/node_modules/@babel/types/lib/builders/generated/index.js:269:36)
at genAssignmentCode (file:///home/projects/vitejs-vite-dnqewx/node_modules/@vue/babel-sugar-v-model/dist/plugin.js:1:2618)
at genDefaultModel (file:///home/projects/vitejs-vite-dnqewx/node_modules/@vue/babel-sugar-v-model/dist/plugin.js:1:8616)
at transformModel (file:///home/projects/vitejs-vite-dnqewx/node_modules/@vue/babel-sugar-v-model/dist/plugin.js:1:1626)
at JSXAttribute (file:///home/projects/vitejs-vite-dnqewx/node_modules/@vue/babel-sugar-v-model/dist/plugin.js:1:376)
at NodePath._call (file:///home/projects/vitejs-vite-dnqewx/node_modules/@babel/traverse/lib/path/context.js:46:20)
The text was updated successfully, but these errors were encountered: