Comments (7)
@BobbieGoede please can you have a look at this for me?
from nuxt.
Would you be able to provide a reproduction? π
More info
Why do I need to provide a reproduction?
Reproductions make it possible for us to triage and fix issues quickly with a relatively small team. It helps us discover the source of the problem, and also can reveal assumptions you or we might be making.
What will happen?
If you've provided a reproduction, we'll remove the label and try to reproduce the issue. If we can, we'll mark it as a bug and prioritize it based on its severity and how many people we think it might affect.
If needs reproduction
labeled issues don't receive any substantial activity (e.g., new comments featuring a reproduction link), we'll close them. That's not because we don't care! At any point, feel free to comment with a reproduction and we'll reopen it.
How can I create a reproduction?
We have a couple of templates for starting with a minimal reproduction:
π https://stackblitz.com/github/nuxt/starter/tree/v3-stackblitz
π https://codesandbox.io/s/github/nuxt/starter/v3-codesandbox
A public GitHub repository is also perfect. π
Please ensure that the reproduction is as minimal as possible. See more details in our guide.
You might also find these other articles interesting and/or helpful:
from nuxt.
I have tried to remove the "culprit" code and even culprit files but attempts just lead to new culprits with more errors.
[vite:build-import-analysis] Failed to parse source for import analysis because the content contains invalid JS syntax. Install @vitejs/plugin-vue to handle .vue files.
file: D:/proj/components/details/Index.vue:205:64
203: onUnmounted(() => {
204: removeCardServiceSubscription(cardServicesSubscription)
205: :", removeCardServiceSubscription(cardServicesSubscription))
^
206: });
at getRollupEror (/D:/proj/node_modules/rollup/dist/es/shared/parseAst.js:375:41)
at error (/D:/proj/node_modules/rollup/dist/es/shared/parseAst.js:372:42)
at Object.error (/D:/proj/node_modules/rollup/dist/es/shared/node-entry.js:19394:20)
at Object.error (/D:/proj/node_modules/rollup/dist/es/shared/node-entry.js:18504:42)
at Object.transform (/D:/proj/node_modules/vite/dist/node/chunks/dep-jDlpJiMN.js:66235:22)
at async /D:/proj/node_modules/vite-plugin-inspect/dist/index.mjs:377:17
Leads me to believe it has to do with the nuxt and modules, note this code still runs fine just fails to build.
I need help to get unstuck. No easy way to create a reproduction, without adding lots of files involved.
from nuxt.
Solved it by creating another app and moving my code in bits and testing. Not sure what the source of this issue is.
from nuxt.
I have now been able to find the culprit.
Adding nuxtsecurity package back into the new code generated this error.
Issue reported here Baroshem/nuxt-security#390
- Operating System: Windows_NT
- Node Version: v20.11.1
- Nuxt Version: 3.10.3
- CLI Version: 3.10.1
- Nitro Version: 2.9.1
- Package Manager: [email protected]
- Builder: -
- User Config: runtimeConfig, devtools, modules, ui, css, app, supabase
- Runtime Modules: @nuxtjs/[email protected], @vueuse/[email protected], @pinia/[email protected], @nuxt/[email protected], @pinia-plugin-persistedstate/[email protected], [email protected], [email protected]
- Build Modules: -
from nuxt.
Issue confirmed.
For anyone else having same issue or similar, please follow this Baroshem/nuxt-security#390
from nuxt.
Let's track in Baroshem/nuxt-security#390 then π
from nuxt.
Related Issues (20)
- When createError is thrown in server middleware, custom error.vue is not used HOT 3
- Image src fails in production build HOT 3
- Provide a way to obtain the ongoing ViewTransition object
- Nuxt 3.10.3 ηζ¬δΈδ½Ώη¨ θ·―η±ιͺθ―validate εΊη°ιθ―― HOT 1
- Could not resolve "./dist/cpexcel.js" from "./dist/cpexcel.js?commonjs-external" HOT 2
- useSeoMeta: 'articleTag' just take in account the first item of the array HOT 6
- useAsyncData is running twice refetching data (server and client) HOT 1
- Add ability to disable the `NuxtLoadingIndicator` on some API calls HOT 5
- Dependencies in Nuxt Layer HOT 1
- Nuxt3 useCookie does not work on firebase for production HOT 2
- CSS is inlined and added as a blocking resource after production build HOT 1
- adding functions to comments in style tag throws [plugin:unctx:transform] error HOT 1
- fetch manifest returns 404 in dev mode HOT 1
- Using nuxt3, the source code has json data problems
- Error sharing a pnpm workspace package using nuxt layer HOT 2
- Transform function in data fetching can't use a filter declared in "global" scope HOT 4
- Route caching limitations - `nuxtApp.payload.path` HOT 1
- Server API fails to return a http 405 error when an incorrect method is used HOT 5
- Error on default installation template HOT 2
- [Nuxt3] How to return/render a `Page` through `Server Route` HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nuxt.