1,624 questions
1
vote
0
answers
44
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/?...
0
votes
1
answer
27
views
VUE CLI keeps sending sockjs-node info to the wrong url : /sockjs-node/info?t=1749513953510
I think my issue is quite similar to this one, but the answer doesn't solve the problem:Webpack devserver client polling URL does not match Webpack devServer.public setting
Vue/cli-service: 4.4.0
...
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.
...
0
votes
0
answers
20
views
vue cli installation error with windows 7 [duplicate]
I installed vue cli on my windows 7 and now check my vue version using vue --version command. but now got following error message here
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 ...
1
vote
1
answer
170
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 --...
1
vote
3
answers
108
views
Using 'vue create <projectname>', git add . doesn't seem to work
I was creating a new Vue app and used 'vue create testapp'. I selected the typical defaults and it initialized the directory for git. Fine. I changed the directory to the project's directory and ...
0
votes
0
answers
120
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
0
answers
138
views
Migrating from Vue-CLI to Vite getting "Uncaught SyntaxError: Unexpected token '<'" when deploying
When using Vue-CLI, users would get the error "Uncaught SyntaxError: Unexpected token '<'" each time we deployed an update until we included a base tag in the index.html file.
Now that we ...
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 ...
3
votes
3
answers
4k
views
Updating from vue-cli to Vite: TypeError: Cannot read properties of null (reading 'nextSibling')
I have updated my Vue 3 project to use Vite following these tutorials:
Vue School: How to Migrate from Vue CLI to Vite
Medium: Vue-cli -> Vite migration
The project is working and running with ...
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 ...
1
vote
1
answer
1k
views
How do I create a funnel chart in ChartJS 3.8.x
I'm trying to create a funnel with this chart, but I can't find a way to make it work. I'm using VueCLI (vue 2).
After doing npm install chart.js chartjs-chart-funnel an error appears on console even ...
0
votes
0
answers
71
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 ...
2
votes
1
answer
751
views
Getting Error during build: RollupError: expression expected after migrating from vue-cli to vite
I just migrated from vue-cli to vite. Serving locally works fine, but during the build, I got the following error:
x Build failed in 221ms
error during build:
RollupError: Expression expected
at ...
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?
...