Simple 5 minute command-line file / directory server built with connect, inspired by nodejitsu's http-server to show off the simplicity and flexibility of connect as a modular server.
Questions tagged [serve]
272 questions
2
votes
1 answer
Browser Cant Display GULP SERVE SharePoint Workbench
Browser Cant Display GULP SERVE SharePoint Workbench
I am trying to create a SharePoint 2016 web-part using Visual Studio CODE (version 1.22.2) and I've been struggling to get the dev environment to work in both Windows 7 and Windows Server 2012 R2…

ASpulak
- 21
- 3
2
votes
2 answers
Angular app never start
I'm trying to work with Angular 2, but when I try to start the server with the command ng serve nothing happened. The command does nothing, no error message, no status message, anything.
Im running on Windows 10 64-bit, and I think there could be a…

Lucas Penén
- 41
- 2
- 6
2
votes
3 answers
Cannot get correct static files after refreshing except index page
When I refresh page on index route (/) and login page (/login), it works fine.
However, my website gets error as I refresh on other routes, for example /user/123456.
Because no matter what the request is, the browser always gets HTML…

SHZhao74
- 73
- 9
2
votes
1 answer
Add Captured Images in an Array and show in Collection View and upload to server iOS
I need to captured multiple images one by one and store them in an array, show stored images in a collection view and later upload them to server.
I searched a lot about this concept but none of those solutions worked for me, array is null.
I tried…

Shikha Sharma
- 451
- 1
- 5
- 25
2
votes
2 answers
Is there any difference in the dist/ folder generated when ember build vs ember serve?
When I run ember serve, a new dist folder is generated every time. Is this folder the same as the one generated when I run ember build?

Jamiu Adeleke
- 43
- 5
2
votes
2 answers
What is the diffrence between user root and jenkins?
I had problem in capistrano installation : if I connect to the server from root and then switch to jenkins user ( su jenkins ) and I run this command (cap ) capistrano work just fin , but if I connect directly to jenkins user capistrano never work…

achour fourat
- 23
- 3
2
votes
0 answers
Ionic serve and Ionic run android livereload give timeout
recently I was unable to debug in serve mode or livereload... Does anyone have some suggestion because I'm a bit lost right now..
Ionic 1.2.1
Ionic CLI 1.7.9
Cordova 5.4.1
Screenshot

A. DC
- 1,413
- 2
- 10
- 10
2
votes
2 answers
Launch grunt serve with PM2
Is there a way to run grunt serve using PM2?
This way I could set up my environment to automatically start when my computer start up.
I found something like:
cd /path/to/project/
pm2 start grunt --name website -- serve
But that doesn't seem to…

mentinet
- 744
- 3
- 9
- 23
1
vote
0 answers
serve library trying to load js file as "text/html" on the cloud
I have a react typescript vite application.
the build and run commands are:
"build": "tsc && vite build",
"start:prod": "serve -s ./dist -p 8080"
locally it works just fine, no problem.
In the cloud (I am using openshift) it gives me the following…

Matan
- 73
- 2
- 14
1
vote
1 answer
React production build on Linux server
When I close putty after running 'serve -s build' session stops and my React app stops working
Hello!
I created a small React application using create-react-app. I want to deploy this app on Linux server, so I use the command npm run build, which…

aquam
- 11
- 2
1
vote
0 answers
How to service Gzip static files (React) through Azure app service linux, as app service only provides pm2 serve (no configuration exposure)
How to service Gzip static files (React) through Azure app service, as app service only provides pm2 serve (no configuration exposure)
I have already figured out a way to push gzip files to build folder, looking a way only to servce them through app…
1
vote
0 answers
ng --version pops the VS code instead of giving the version it opens a file called ng.js whenever I run any ng command
I tried deleting it with all cache and installing node js npm -g and angular all over againn I run the commands in cmd as administratore I tried vs code cmd terminal and powershell but all in vain I did that multiple of times I checked every…

Hadil Kraiem
- 11
- 1
1
vote
0 answers
How to add hot reloading module in react typescript with npm serve
I'm using the npm serve for react localhost with production build.
But when I made a changes, I need to stop the server and build again for serve -s build.
So how can I add hot reload with this serve?
I'm using typescript.

Moe Htet Oo
- 31
- 6
1
vote
0 answers
How to run npm serve with https?
I just had a index.html in my working directory, and typed npx serve.
I can access http://localhost:3000 but I want to host https://localhost:3000.
How to run 'serve' with https mode?
What option do I need?

watopin
- 163
- 9
1
vote
0 answers
React App slowly exhausts file descriptor limit on Ubuntu server and crashes in few days
I have a React App which I am running using serve command from Jenkins pipeline. One thing to note here is that I configured my Jenkins jobs to run indefinitely for logs. Below screenshot show how my app is running.
Aforesaid setup is running on…

Aditya T
- 1,566
- 2
- 13
- 26