Skip to main content
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/?...
lilyming's user avatar
  • 125
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 ...
Solaris_9's user avatar
  • 201
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. ...
ykoshevenko's user avatar
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 ...
Matakoththuwakoni's user avatar
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 --...
JohnSmith's user avatar
  • 498
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 ...
PKonstant's user avatar
  • 1,008
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&...
Zain Malik's user avatar
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 ...
waseber's user avatar
  • 251
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 ...
panqwork's user avatar
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 ...
Samball's user avatar
  • 879
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 ...
Muhammad Abubakar's user avatar
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 ...
MrJant's user avatar
  • 37
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 ...
Suraj Kumar's user avatar
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 ...
Hashim Saqib's user avatar
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? ...
mbayefall's user avatar

15 30 50 per page
1
2 3 4 5
109