All Questions
15 questions
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": ...
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 ...
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: "...
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\...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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/...