vee-validate icon indicating copy to clipboard operation
vee-validate copied to clipboard

<title> `Uncaught (in promise) ReferenceError: exports is not defined` in v4.15.0

Open WongSaang opened this issue 11 months ago • 2 comments

What happened?

In v4.15.0, the browser console reports an error: Uncaught (in promise) ReferenceError: exports is not defined. Rolling back to a previous version is fine.

Reproduction steps

import { useForm } from 'vee-validate'
const { handleSubmit } = useForm()

image

Version

Vue.js 3.x and vee-validate 4.x

What browsers are you seeing the problem on?

  • [ ] Firefox
  • [X] Chrome
  • [ ] Safari
  • [ ] Microsoft Edge

Relevant log output

No response

Demo link

sorry

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

WongSaang avatar Jan 09 '25 07:01 WongSaang

I'm facing same problem in my nuxt project. Forcing transpile for vee-validate package solves the problem.

zumm avatar Feb 01 '25 06:02 zumm

+1

kyumoon avatar Jun 23 '25 14:06 kyumoon