Skip to main content

All Questions

Tagged with
1 vote
1 answer
843 views

How to run Vue.js app locally & run Cypress tests against it sequentially using npm script

I am trying to run a Vue.js app locally (localhost:3000) & then run Cypress tests against it. Below are some npm scripts in my package.json: "dev": "nuxt", "cypress": ...
user9847788's user avatar
  • 2,433
1 vote
4 answers
7k views

npm ERR! Cannot read properties of undefined (reading 'stdin')

I have an error when running vue.js 3 with vite I added nodejs into Variable Environments before I have tried these things but not working using npm cache clear & npm cache clear --force but ...
Joker Dark Knight's user avatar
0 votes
0 answers
2k views

"npm run serve" giving error in windows cmd

In windows, when I run the command "npm run serve" in command prompt for viewing my vue js project it is showing some errors C:\Users\HOME\app>npm run serve npm ERR! Missing script: "...
user avatar
0 votes
1 answer
3k views

npm ERR! missing script: start Vue.js Error

When I install Vuetable. ( npm install vuetable-2@next --save ) I get the following error: npm ERR! missing script: start npm ERR! A complete log of this run can be found in: npm ERR! x\AppData\...
Jany Fossie's user avatar
6 votes
2 answers
2k views

npm run dev doesn't work in Laravel project : TypeError: program.parseAsync is not a function

I installed vue with npm in my current on-going laravel project to learn front-end dev with vue.js framework. After installing, the tutorial said I needed to run npm run dev to see the changes I made ...
Gediminas's user avatar
0 votes
2 answers
357 views

nuxt build pauses after upgrade to node 15

After I upgraded my nuxt application to Node 15, the build pauses indefinitely. The local dev server stays paused with a "Loading..." message. My problem here is --loglevel verbose is not ...
Naveen Karnam's user avatar
0 votes
1 answer
961 views

Prefix source paths in the output of `npm build`

I have created a small vue application using vue-cli. I use npm run build to produce the production version of the UI, which ends up with a bunch of CSS, js, and an HTML page file that has all of ...
orezvani's user avatar
  • 3,785
4 votes
0 answers
1k views

browsing is not detecting code changes after npm run serve

I have installed vue-cli (4.4.6). To run the project i am using "npm run serve". So, whenever I am doing any change in my code the npm compile the code but on browser changes are not ...
Sachin's user avatar
  • 176
1 vote
0 answers
18 views

npm build omits some vuetify elements

Was having some trouble with building a shared app/package in vueJS, the app is using vuetify, what is interesting is that the built code contains almost everything except for v-tooltip that is inside ...
Michael's user avatar
  • 5,058
0 votes
0 answers
520 views

Environment variables are not being set in npm scripts using cross-env

I am trying to run npm run test, where part of test is setting an environment variable using cross-env. However, in Cypress testing the environment variable is not actually changed. Thanks for the ...
tpinto's user avatar
  • 41
7 votes
1 answer
3k views

Chaining package.json scripts to start Express server and Vue app

I have built an app using Vue.js and express.js. Currently I have to open two terminal windows and run npm run serve in one and npm start in the other. I want to make the server run after the Vue.js ...
jaronow's user avatar
  • 113
1 vote
2 answers
6k views

Can't create a Vue project with vue/cli

I'm trying create a vuex application with Vue CLI. However, CLI freezes while fetching metadata ([email protected]): / fetchMetadata: sill resolveWithNewModule [email protected] checking installable ...
ibra's user avatar
  • 443
1 vote
1 answer
813 views

How to automate deploy of simple Vue WebApp (no server required)? (i.e. simple build chain with vue)

I have written a small Vue app and have been looking for a nice way to automate its deployment, i.e. call lint -> test -> build -> upload to some web space (stage and /or production) (sftp). Basically ...
Peter T.'s user avatar
  • 3,325
0 votes
2 answers
211 views

How to use npm package dependency

I am learning to create npm packages by creating a session check function sessionFn that will popup a modal 1 minute before the session expires. The function works as expected on the main app (a ...
Simo Mafuxwana's user avatar
3 votes
2 answers
5k views

Failed at the @ production script. Error running npm run production

I am facing issue while using the following command npm run production after execute following command i see following error ERROR Failed to compile with 5 errors error in ./resources/assets/...
Yasir Malik's user avatar