1,624 questions
1 vote
0 answers
45 views
Where should I put my MongoDB connection string in Vue CLI project?
I am learning to build an MEVN project. I have a MongoDB connection string that looks like this "mongodb+srv://<username>:<password>@<clustername>.abcdefg.mongodb.net/?...
1 vote
0 answers
40 views
Error when building and launching vue project
My vue js project at server startup should be built with webpack and then run with exspress js, but I get the following error ERROR Error: Build failed with errors. Error: Build failed with errors. ...
1 vote
1 answer
173 views
Syntax Error: TypeError: Cannot read properties of undefined (reading 'styles')
I'm trying to build library with following command but get error "Syntax Error: TypeError: Cannot read properties of undefined (reading 'styles')": $ vue-cli-service build --target lib --...
0 votes
0 answers
136 views
Showing Network Host Unavailable in CMD
I'm working on a Vue.js project, and when I run the development server using npm run serve, the app starts successfully on http://localhost:8080/. However, the network is shown as "unavailable&...
0 votes
1 answer
1k views
How to use defineAsyncComponent with Vite and Vue component :is?
Could someone explain to me how to use defineAsyncComponent with vite component :is? I'm migrating from vue-cli to Vite and have uncountered an issue where component imported via defineAsyncComponent ...
1 vote
1 answer
2k views
How to handle path traversal vulnerability in webpack-dev-middleware with Vue CLI dependency constraints?
I'm dealing with a security vulnerability in webpack-dev-middleware reported as CVE-2024-29180, which involves insufficient URL validation that allows path traversal attacks. Dependabot flagged this ...
0 votes
0 answers
73 views
'vue-cli-service' is not recognized as an internal or external command, operable program or batch file
When I am trying to run my Vue js project its raising error like , 'Vue-cli-service' is not recognized as an internal or external command, operable program or batch file. Please help me to solve this ...
0 votes
0 answers
141 views
Uncaught ReferenceError: process is not defined (using vue_cli , vuetify and electron)
I have an Uncaught ReferenceError: process is not defined error in an electron application mixed with vue_cli and vuetify I'm new to Webpack and don't know where to start looking. Can anyone help? ...