Sam  K
Sam K
NNuxt
Created by Sam K on 8/11/2024 in #❓・help
Nuxt Test Utils, mountSuspended error
has anyone solved this in nuxt-test-utils
[Vue warn]: Cannot mutate <script setup> binding "error" from Options API.
at <MountSuspendedComponent type="number" label="Enter a number" name="number-input" ... >
at <MountSuspendedHelper>
at <Anonymous ref="VTU_COMPONENT" >
at <VTUROOT>
[Vue warn]: Cannot mutate <script setup> binding "error" from Options API.
at <MountSuspendedComponent type="number" label="Enter a number" name="number-input" ... >
at <MountSuspendedHelper>
at <Anonymous ref="VTU_COMPONENT" >
at <VTUROOT>
related issue: https://github.com/nuxt/test-utils/issues/871
1 replies
NNuxt
Created by Sam K on 6/21/2024 in #❓・help
How to add new hooks to Nuxt from a module?
Is there a place in the docs that shows how to add new hooks from a module so the module users can hook into it and extend it? Thanks
3 replies
NNuxt
Created by Sam K on 6/24/2023 in #❓・help
Typescript warning after updating to Nuxt 3.6
After updating to nuxt 3.6 in the console even I don't have typescript or @typescript-eslint/typescript-estree installed or mentioned in my package.json, but it appears in pnpm-lock or package-lock this typescript warning started to show: WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree. You may find that it works just fine, or you may not. SUPPORTED TYPESCRIPT VERSIONS: >=3.3.1 <5.1.0 YOUR TYPESCRIPT VERSION: 5.1.3 Please only submit bug reports when using the officially supported version. Any idea if this will affect production sites with external libraries?
5 replies
NNuxt
Created by Sam K on 12/21/2022 in #❓・help
Typescript complains about props not being used in the template if not used as props.theprop
No description
5 replies
NNuxt
Created by Sam K on 12/4/2022 in #❓・help
[vite] Internal server error Cannot read properties of undefined (reading 'length')
No description
5 replies