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
1
vote
0 answers
i can´t use ng serve angular cli problems with my version of node
when i try to use ng serve i recived this messagge:
As a forewarning, we are moving the CLI npm package to "@angular/cli" with the next release,
which will only support Node 6.9 and greater. This package will be officially deprecated
shortly…

Francisco Muñoz
- 19
- 1
1
vote
2 answers
JSON data is not received on POST request?
I am Trying to insert data into Database using post request as follows
127.0.0.1:3000/api/users?fname=asd&lname=edc&emailid=asdas.asds@gmail.com&userpass=dasd
but in database blank data is entered. I am using MongoDB for database.
I am doing this…

AviatorX
- 492
- 1
- 7
- 17
1
vote
4 answers
Second laravel project(v5.4) PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 262144 bytes)
this is my second laravel project running on the same machine. the first works just fine.
I use xampp for the projects.
after I install another fresh new version(5.4) laravel, when I run
artisan serve
phpstorm tell me
PHP Fatal error: Allowed…

user228
- 67
- 2
- 10
1
vote
2 answers
How do i serve 410 status code over 404 in joomla?
How do i serve 410 status code over 404 in joomla? So that google will de-index my pages from serach results.
Please provide all methods in detail.

Yatin Arora
- 21
- 2
1
vote
3 answers
Laravel-5.3 use without artisan serve command?
I have a problem about laravel run without use php artisan serve command. I'm working in xampp/htdocs/works folder. I created a blog under htdocs/works folder and if i use php artisan not problem but i want to use without php artisan like…

Hanik
- 317
- 2
- 6
- 25
1
vote
2 answers
Laravel Homestead: 'php artisan serve' not working
When I run the command php artisan serve in the directory /home/vagrant/Code/Laravel/ it appears to work. (/Laravel is my project directory)
Screenshot of Terminal
But when I open up localhost:8000 in the browser, I get this:
Error Page Image…

Simon Richard
- 43
- 1
- 6
1
vote
1 answer
Serving media files in Django
I am running Django in development. In settings.py I have set up the MEDIA_URL
MEDIA_ROOT = os.path.join(BASE_DIR, 'fileuploader/uploaded_files')
MEDIA_URL = 'fileuploader/uploaded_files/'
Then in ursl.py I have,
if settings.DEBUG:
urlpatterns…

Shane G
- 3,129
- 10
- 43
- 85
1
vote
3 answers
Run a file locally in java (reach with 'localhost')
I've been requested at work to run a file (server app) locally (so I will have it in localhost) and then send http get requests as I desire.
(I'm using get requests in the form "wget ..... http://localhost:4567/XXXX"
XXXX contains the name of the…

Jayn
- 45
- 1
- 3
- 10
0
votes
1 answer
Ionic framework error: spawn unknown error
When I try to run this command:ionic serve, then I got the following error in the terminal.
at ChildProcess.spawn (node:internal/child_process:413:11)
at Object.spawn (node:child_process:757:9)
at spawn…

Shehan Mario
- 1
- 2
0
votes
0 answers
Gatsby SSR docker image size is coming too large
I am facing issue while deploying Gatsby SSR code to GCP using docker as an image container.
The image size is coming more than 3.0GB which is heavy for handling load and autoscaling in GCP resultuing into 503 errors while accessing the…
0
votes
2 answers
i can't access my files of my angular project during deployment
i'm trying to deploy my web application with frontend: angular
but i can't access my JSON file in assets folder
so this is the funstion to get data from JSON file
getLanguage()
{
let language=localStorage.getItem('language')
if…

Roudeina Hamdi
- 11
- 1
0
votes
0 answers
Mlflow model serve command Error: Bad object name 'app'
I am using MlFlow and am trying to serve a model that has been saved in the model registry. I ran the command
mlflow model serve -m models:/registered_model_name/1.
But I am getting the error: Error: Bad object name 'app'.
Also the error contains a…

Jiwan
- 1
- 2
0
votes
1 answer
Why my DockerFile is unable to read and write data to any directory on server even it exists, while locally working ok on my system
In the above my server is unable to read and write data to any directory on server while directory exists but it shows no such file or directory open and error shows. While it's working ok on my system locally.

Haider Ali
- 3
- 2
0
votes
0 answers
ServeCommand undefined array key 0 at requestPool Error in Laravel 10
I have recently installed Laravel 10 on my windows 8.1, and the server crashes after 2-3 times reload. At first it was an error of undefined array 1 at matches array on serveCommand.php, and after when I fixed that, now I am getting this error. Is…

Inam
- 241
- 2
- 6
- 20
0
votes
1 answer
why vite build and npm serve not working together?
I recently migrated from CRA to VITE. But I am running into a serve issue.
I build my app by running vite build . and to serve it I use Vite serve and everything works just fine.
Tho, I need to be using npm's serve command. Whenever I run vite…