Giter Site home page Giter Site logo

Comments (19)

abdallahokasha avatar abdallahokasha commented on August 21, 2024 6

After deploying Nodejs project on heroku The error was

Application error
An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the commandheroku logs --tail

And the solution was:

(1) Editing port in app.js to be let port = process.env.PORT || 1234;
instead of just static port let port = 1234; Answer on Stackoverflow

(2) Add start script to package.json "start": "node app.js" Heroku changelog

This's solved the problem with me.

@SmikaKhan you can check this answer.

from startbootstrap-freelancer.

KPreetha avatar KPreetha commented on August 21, 2024 2

Application error
An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command
heroku logs --tail

i dono why iam getting this

from startbootstrap-freelancer.

shaneyvincent avatar shaneyvincent commented on August 21, 2024 1

I think I am having the same issue, I built my app using the MEAN stack, and I have gulp watching for changes. in the backend folder of my app , I run node server.js and I get listening on port 5000
conected to mongo, then from the main project folder I run gulp serve from the terminal and my angular blog works, when I try to push this to heroku I receive a blank screen that says application error, when I run heroku logs --tail the error says Error: Failed to lookup view "pages/index" in views directory "/app/views". I think we are stuck on the same thing

server.js

var express = require('express');
var app = express();
var bodyParser = require('body-parser');
var mongoose = require('mongoose');

var auth = require('./controllers/auth');
var message = require('./controllers/message');
var checkAuthenticated = require('./services/checkAuthenticated');
var cors = require('./services/cors');

//Middleware

app.use(bodyParser.json());

app.use(cors);

//Requests

app.get('/api/message', message.get);


app.post('/api/message',checkAuthenticated, message.post );

app.post('/auth/register', auth.register);

//Connection

mongoose.connect("mongodb://localhost:27017/test", function(err,db){
  if(!err){
    console.log("Shaneys conected to mongo");
  }
})

var server = app.listen(5000, function(){
  console.log('listening on port ', server.address().port);
})

index .js

var express = require('express');
var app = express();

app.set('port', (process.env.PORT || 5000));

app.use(express.static(__dirname + '/public'));

// views is directory for all template files

app.set('views', __dirname + '/views');
app.set('view engine', 'ejs');

app.get('/', function(request, response) {
  response.render('pages/index');
});

app.listen(app.get('port'), function() {
  console.log('Node app is running on port', app.get('port'));
});

I tried setting the app port to

var port    =   process.env.PORT || 8080;

to let the port be set by heroku, but that did not work either, when I inspect the page it does not load ,and just says internal error,

from startbootstrap-freelancer.

ZachyDev avatar ZachyDev commented on August 21, 2024 1

@abdallahokasha - that worked for me as well - thanks so much

from startbootstrap-freelancer.

brianyan avatar brianyan commented on August 21, 2024

You can install packages via npm.
npm install cool-ascii-faces will do the trick

from startbootstrap-freelancer.

HarshaLaxman avatar HarshaLaxman commented on August 21, 2024

I did this locally but I can't commit the changes because the working directory is clean

from startbootstrap-freelancer.

brianyan avatar brianyan commented on August 21, 2024

That's fine. https://docs.npmjs.com/getting-started/installing-npm-packages-locally

from startbootstrap-freelancer.

HarshaLaxman avatar HarshaLaxman commented on August 21, 2024

Okay so I did an add -f so that pushed the node_modules that were hidden to github. Now I get internal server error on the Heroku app.

heroku logs show

Error: Failed to lookup view "pages/index" in views directory "/app/views"

and my process was terminated by a SIGTERM.

from startbootstrap-freelancer.

brianyan avatar brianyan commented on August 21, 2024

I think your pages/index route is not routing to the correct file. Run node index.js and you'll see the same error.

Also, your index.html works fine for now. In terminal, run open index.html. What you need to do is route your pages/index to one of those 2

from startbootstrap-freelancer.

HarshaLaxman avatar HarshaLaxman commented on August 21, 2024

I get Node app is running on port 5000

And running open index.html gives:
Couldn't get a file descriptor referring to the console

but clicking index.html in the file explorer opens the file fine.

from startbootstrap-freelancer.

brianyan avatar brianyan commented on August 21, 2024

localhost:5000 works for you?

from startbootstrap-freelancer.

HarshaLaxman avatar HarshaLaxman commented on August 21, 2024

No:

This site can’t be reached

localhost refused to connect.
Search Google for localhost 5000
ERR_CONNECTION_REFUSED

from startbootstrap-freelancer.

clarmso avatar clarmso commented on August 21, 2024

@HarshaLaxman I think your issue is unrelated to the template. Instead, your issue is in your index.js. I got the template working for me. This is my interim result: https://clarmsohome.herokuapp.com/

from startbootstrap-freelancer.

agupta26boston avatar agupta26boston commented on August 21, 2024

AH02429: Response header name 'Location ' contains invalid characters, aborting request

fwd="73.69.142.239" dyno=web.1 connect=2ms service=1ms status=404 bytes=373 protocol=http
2018-01-15T19:29:31.730196+00:00 heroku[router]: at=info method=GET path="/" host=ayushguptaboston.herokuapp.com request_id=c8a5c575-d9b9-4ac9-a249-69dbedb3b3c8 fwd="73.69.142.239" dyno=web.1 connect=0ms service=2ms status=500 bytes=683 protocol=http
2018-01-15T19:30:34.643230+00:00 app[web.1]: [Mon Jan 15 19:30:34.642796 2018] [http:error] [pid 116:tid 140026444760832] [client 10.146.44.229:21615] AH02429: Response header name 'Location ' contains invalid characters, aborting request
2018-01-15T19:30:34.643454+00:00 app[web.1]: 10.146.44.229 - - [15/Jan/2018:19:30:34 +0000] "GET / HTTP/1.1" 500 528 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36
2018-01-15T19:30:34.643422+00:00 heroku[router]: at=info method=GET path="/" host=ayushguptaboston.herokuapp.com request_id=ac151b98-30b2-435f-873e-c49a5e561d2b fwd="73.69.142.239" dyno=web.1 connect=0ms service=2ms status=500 bytes=683 protocol=http
2018-01-15T19:30:45.268759+00:00 app[web.1]: [Mon Jan 15 19:30:45.267874 2018] [http:error] [pid 117:tid 140026427975424] [client 10.13.221.137:36606] AH02429: Response header name 'Location ' contains invalid characters, aborting request
2018-01-15T19:30:45.268948+00:00 app[web.1]: 10.13.221.137 - - [15/Jan/2018:19:30:45 +0000] "GET / HTTP/1.1" 500 528 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36
2018-01-15T19:30:45.388158+00:00 app[web.1]: 10.109.172.215 - - [15/Jan/2018:19:30:45 +0000] "GET /favicon.ico HTTP/1.1" 404 209 "https://ayushguptaboston.herokuapp.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36
2018-01-15T19:30:45.391486+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=ayushguptaboston.herokuapp.com request_id=6f3ef83d-eb9b-4c50-8d86-a1e1925de36f fwd="73.69.142.239" dyno=web.1 connect=7ms service=6ms status=404 bytes=373 protocol=https
2018-01-15T19:30:45.268109+00:00 heroku[router]: at=info method=GET path="/" host=ayushguptaboston.herokuapp.com request_id=69a7ca79-4ada-4137-a643-1ad771d13918 fwd="73.69.142.239" dyno=web.1 connect=0ms service=2ms status=500 bytes=683 protocol=https
2018-01-15T19:31:28.886987+00:00 app[web.1]: [Mon Jan 15 19:31:28.886336 2018] [http:error] [pid 118:tid 140026555713280] [client 10.109.172.215:10555] AH02429: Response header name 'Location ' contains invalid characters, aborting request
2018-01-15T19:31:28.891037+00:00 app[web.1]: 10.109.172.215 - - [15/Jan/2018:19:31:28 +0000] "GET / HTTP/1.1" 500 528 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36
2018-01-15T19:31:28.887795+00:00 heroku[router]: at=info method=GET path="/" host=ayushguptaboston.herokuapp.com request_id=eecf253b-1c81-484a-8701-a61a7708bf2a fwd="73.69.142.239" dyno=web.1 connect=0ms service=3ms status=500 bytes=683 protocol=https
2018-01-15T19:31:30.802598+00:00 app[web.1]: [Mon Jan 15 19:31:30.798650 2018] [http:error] [pid 118:tid 140026547320576] [client 10.13.219.114:37527] AH02429: Response header name 'Location ' contains invalid characters, aborting request
2018-01-15T19:31:30.802933+00:00 app[web.1]: 10.13.219.114 - - [15/Jan/2018:19:31:30 +0000] "GET / HTTP/1.1" 500 528 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36

Can anyone help me with how to fix this?

from startbootstrap-freelancer.

SmikaKhan avatar SmikaKhan commented on August 21, 2024

An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command
heroku logs --tail
getting this error after successfull deployment

from startbootstrap-freelancer.

vikasdc avatar vikasdc commented on August 21, 2024

An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command
heroku logs --tail

app.js file

const express = require('express')
const bodyParser = require('body-parser')
const path = require('path')
const app = express();
const admin = require('./routes/admin')
const shop = require('./routes/shop')

app.use(bodyParser.urlencoded({'extended':false}))

app.set('view engine','pug')
app.set('views','views')
app.use(shop)
app.use('/admin',admin)

app.use((req,res,next)=>{
// res.sendFile(path.join(__dirname,'views','notfound.html'))
res.render('notfound')
})
app.listen(process.env.PORT || 3000);

from startbootstrap-freelancer.

venkatesh-m-xelp avatar venkatesh-m-xelp commented on August 21, 2024

let port = process.env.PORT || 1234;

Thank you @abdallahokasha , It worked for me.

from startbootstrap-freelancer.

AdarshPan avatar AdarshPan commented on August 21, 2024

Hey Everyone I have the same issue in Django .
here is my log details::
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\windows\system32>heroku logs --tail --app healtech
2020-06-05T14:35:35.590224+00:00 heroku[run.8561]: Awaiting client
2020-06-05T14:35:36.013410+00:00 heroku[run.8561]: Starting process with command
bash
2020-06-05T14:41:12.742336+00:00 heroku[run.8561]: Client connection closed. Sen
ding SIGHUP to all processes
2020-06-05T14:41:13.270766+00:00 heroku[run.8561]: Process exited with status 12
9
2020-06-05T14:41:13.315415+00:00 heroku[run.8561]: State changed from up to comp
lete
2020-06-05T14:41:28.825721+00:00 app[api]: Starting process with command bash
by user [email protected]
2020-06-05T14:41:29.557936+00:00 heroku[run.5576]: State changed from starting t
o up
2020-06-05T14:41:29.900493+00:00 heroku[run.5576]: Awaiting client
2020-06-05T14:41:30.528542+00:00 heroku[run.5576]: Starting process with command
bash
2020-06-05T14:44:23.288905+00:00 heroku[run.5576]: Client connection closed. Sen
ding SIGHUP to all processes
2020-06-05T14:44:23.817154+00:00 heroku[run.5576]: Process exited with status 12
9
2020-06-05T14:44:23.862202+00:00 heroku[run.5576]: State changed from up to comp
lete
2020-06-07T12:54:34.000000+00:00 app[api]: Build started by user sahiceooftextbo
[email protected]
2020-06-07T12:58:28.000000+00:00 app[api]: Build failed -- check your build outp
ut: https://dashboard.heroku.com/apps/211695e4-cd94-4cb2-94a8-33df339c9faa/activ
ity/builds/61348f57-8d4f-4f4e-a1e3-42e714a0f258
2020-06-07T13:15:43.000000+00:00 app[api]: Build started by user sahiceooftextbo
[email protected]
2020-06-07T13:19:58.000000+00:00 app[api]: Build failed -- check your build outp
ut: https://dashboard.heroku.com/apps/211695e4-cd94-4cb2-94a8-33df339c9faa/activ
ity/builds/e4935cbb-a8c0-4155-9dc4-7caa0ab2c458
2020-06-11T09:22:46.000000+00:00 app[api]: Build started by user sahiceooftextbo
[email protected]
2020-06-11T09:27:18.648189+00:00 app[api]: Attach DATABASE (@ref:postgresql-clos
ed-10519) by user [email protected]
2020-06-11T09:27:18.648189+00:00 app[api]: Running release v4 commands by user s
[email protected]
2020-06-11T09:27:18.662658+00:00 app[api]: Release v5 created by user sahiceooft
[email protected]
2020-06-11T09:27:18.662658+00:00 app[api]: @ref:postgresql-closed-10519 complete
d provisioning, setting DATABASE_URL. by user [email protected]
2020-06-11T09:27:19.016745+00:00 app[api]: Deploy c9325167 by user sahiceooftext
[email protected]
2020-06-11T09:27:19.016745+00:00 app[api]: Release v6 created by user sahiceooft
[email protected]
2020-06-11T09:27:19.041157+00:00 app[api]: Scaled to web@1:Free by user sahiceoo
[email protected]
2020-06-11T09:27:51.345692+00:00 heroku[web.1]: Starting process with command g unicorn HealTech.wsgi --log-file -
2020-06-11T09:27:53.980767+00:00 app[web.1]: [2020-06-11 09:27:53 +0000] [4] [IN
FO] Starting gunicorn 20.0.4
2020-06-11T09:27:53.981346+00:00 app[web.1]: [2020-06-11 09:27:53 +0000] [4] [IN
FO] Listening at: http://0.0.0.0:6905 (4)
2020-06-11T09:27:53.981456+00:00 app[web.1]: [2020-06-11 09:27:53 +0000] [4] [IN
FO] Using worker: sync
2020-06-11T09:27:53.986379+00:00 app[web.1]: [2020-06-11 09:27:53 +0000] [10] [I
NFO] Booting worker with pid: 10
2020-06-11T09:27:53.992660+00:00 app[web.1]: [2020-06-11 09:27:53 +0000] [10] [E
RROR] Exception in worker process
2020-06-11T09:27:53.992661+00:00 app[web.1]: Traceback (most recent call last):
2020-06-11T09:27:53.992662+00:00 app[web.1]: File "/app/.heroku/python/lib/pytho
n3.6/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker
2020-06-11T09:27:53.992663+00:00 app[web.1]: worker.init_process()
2020-06-11T09:27:53.992663+00:00 app[web.1]: File "/app/.heroku/python/lib/pytho
n3.6/site-packages/gunicorn/workers/base.py", line 119, in init_process
2020-06-11T09:27:53.992664+00:00 app[web.1]: self.load_wsgi()
2020-06-11T09:27:53.992664+00:00 app[web.1]: File "/app/.heroku/python/lib/pytho
n3.6/site-packages/gunicorn/workers/base.py", line 144, in load_wsgi
2020-06-11T09:27:53.992665+00:00 app[web.1]: self.wsgi = self.app.wsgi()
2020-06-11T09:27:53.992665+00:00 app[web.1]: File "/app/.heroku/python/lib/pytho
n3.6/site-packages/gunicorn/app/base.py", line 67, in wsgi
2020-06-11T09:27:53.992665+00:00 app[web.1]: self.callable = self.load()
2020-06-11T09:27:53.992666+00:00 app[web.1]: File "/app/.heroku/python/lib/pytho
n3.6/site-packages/gunicorn/app/wsgiapp.py", line 49, in load
2020-06-11T09:27:53.992667+00:00 app[web.1]: return self.load_wsgiapp()
2020-06-11T09:27:53.992667+00:00 app[web.1]: File "/app/.heroku/python/lib/pytho
n3.6/site-packages/gunicorn/app/wsgiapp.py", line 39, in load_wsgiapp
2020-06-11T09:27:53.992667+00:00 app[web.1]: return util.import_app(self.app_uri
)
2020-06-11T09:27:53.992668+00:00 app[web.1]: File "/app/.heroku/python/lib/pytho
n3.6/site-packages/gunicorn/util.py", line 358, in import_app
2020-06-11T09:27:53.992668+00:00 app[web.1]: mod = importlib.import_module(modul
e)
2020-06-11T09:27:53.992669+00:00 app[web.1]: File "/app/.heroku/python/lib/pytho
n3.6/importlib/init.py", line 126, in import_module
2020-06-11T09:27:53.992669+00:00 app[web.1]: return _bootstrap._gcd_import(name[
level:], package, level)
2020-06-11T09:27:53.992670+00:00 app[web.1]: File "
", line 994, in _gcd_import
2020-06-11T09:27:53.992670+00:00 app[web.1]: File "
", line 971, in _find_and_load
2020-06-11T09:27:53.992671+00:00 app[web.1]: File "
", line 941, in _find_and_load_unlocked
2020-06-11T09:27:53.992671+00:00 app[web.1]: File "
", line 219, in _call_with_frames_removed
2020-06-11T09:27:53.992671+00:00 app[web.1]: File "
", line 994, in _gcd_import
2020-06-11T09:27:53.992672+00:00 app[web.1]: File "
", line 971, in _find_and_load
2020-06-11T09:27:53.992672+00:00 app[web.1]: File "
", line 953, in _find_and_load_unlocked
2020-06-11T09:27:53.992677+00:00 app[web.1]: ModuleNotFoundError: No module name
d 'HealTech'
2020-06-11T09:27:53.992826+00:00 app[web.1]: [2020-06-11 09:27:53 +0000] [10] [I
NFO] Worker exiting (pid: 10)
2020-06-11T09:27:54.028863+00:00 app[web.1]: [2020-06-11 09:27:54 +0000] [4] [IN
FO] Shutting down: Master
2020-06-11T09:27:54.028955+00:00 app[web.1]: [2020-06-11 09:27:54 +0000] [4] [IN
FO] Reason: Worker failed to boot.
2020-06-11T09:27:54.083635+00:00 heroku[web.1]: Process exited with status 3
2020-06-11T09:27:54.127308+00:00 heroku[web.1]: State changed from starting to c
rashed
2020-06-11T09:27:54.130260+00:00 heroku[web.1]: State changed from crashed to st
arting
2020-06-11T09:28:27.523947+00:00 heroku[web.1]: Starting process with command g unicorn HealTech.wsgi --log-file -
2020-06-11T09:28:30.236184+00:00 app[web.1]: [2020-06-11 09:28:30 +0000] [4] [IN
FO] Starting gunicorn 20.0.4
2020-06-11T09:28:30.237111+00:00 app[web.1]: [2020-06-11 09:28:30 +0000] [4] [IN
FO] Listening at: http://0.0.0.0:23389 (4)
2020-06-11T09:28:30.237245+00:00 app[web.1]: [2020-06-11 09:28:30 +0000] [4] [IN
FO] Using worker: sync
2020-06-11T09:28:30.242529+00:00 app[web.1]: [2020-06-11 09:28:30 +0000] [10] [I
NFO] Booting worker with pid: 10
2020-06-11T09:28:30.248964+00:00 app[web.1]: [2020-06-11 09:28:30 +0000] [10] [E
RROR] Exception in worker process
2020-06-11T09:28:30.248965+00:00 app[web.1]: Traceback (most recent call last):
2020-06-11T09:28:30.248966+00:00 app[web.1]: File "/app/.heroku/python/lib/pytho
n3.6/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker
2020-06-11T09:28:30.248966+00:00 app[web.1]: worker.init_process()
2020-06-11T09:28:30.248967+00:00 app[web.1]: File "/app/.heroku/python/lib/pytho
n3.6/site-packages/gunicorn/workers/base.py", line 119, in init_process
2020-06-11T09:28:30.248967+00:00 app[web.1]: self.load_wsgi()
2020-06-11T09:28:30.248967+00:00 app[web.1]: File "/app/.heroku/python/lib/pytho
n3.6/site-packages/gunicorn/workers/base.py", line 144, in load_wsgi
2020-06-11T09:28:30.248968+00:00 app[web.1]: self.wsgi = self.app.wsgi()
2020-06-11T09:28:30.248968+00:00 app[web.1]: File "/app/.heroku/python/lib/pytho
n3.6/site-packages/gunicorn/app/base.py", line 67, in wsgi
2020-06-11T09:28:30.248969+00:00 app[web.1]: self.callable = self.load()
2020-06-11T09:28:30.248969+00:00 app[web.1]: File "/app/.heroku/python/lib/pytho
n3.6/site-packages/gunicorn/app/wsgiapp.py", line 49, in load
2020-06-11T09:28:30.248969+00:00 app[web.1]: return self.load_wsgiapp()
2020-06-11T09:28:30.248970+00:00 app[web.1]: File "/app/.heroku/python/lib/pytho
n3.6/site-packages/gunicorn/app/wsgiapp.py", line 39, in load_wsgiapp
2020-06-11T09:28:30.248970+00:00 app[web.1]: return util.import_app(self.app_uri
)
2020-06-11T09:28:30.248970+00:00 app[web.1]: File "/app/.heroku/python/lib/pytho
n3.6/site-packages/gunicorn/util.py", line 358, in import_app
2020-06-11T09:28:30.248971+00:00 app[web.1]: mod = importlib.import_module(modul
e)
2020-06-11T09:28:30.248971+00:00 app[web.1]: File "/app/.heroku/python/lib/pytho
n3.6/importlib/init.py", line 126, in import_module
2020-06-11T09:28:30.248972+00:00 app[web.1]: return _bootstrap._gcd_import(name[
level:], package, level)
2020-06-11T09:28:30.248972+00:00 app[web.1]: File "
", line 994, in _gcd_import
2020-06-11T09:28:30.248973+00:00 app[web.1]: File "
", line 971, in _find_and_load
2020-06-11T09:28:30.248973+00:00 app[web.1]: File "
", line 941, in _find_and_load_unlocked
2020-06-11T09:28:30.248973+00:00 app[web.1]: File "
", line 219, in _call_with_frames_removed
2020-06-11T09:28:30.248974+00:00 app[web.1]: File "
", line 994, in _gcd_import
2020-06-11T09:28:30.248974+00:00 app[web.1]: File "
", line 971, in _find_and_load
2020-06-11T09:28:30.248974+00:00 app[web.1]: File "
", line 953, in _find_and_load_unlocked
2020-06-11T09:28:30.248975+00:00 app[web.1]: ModuleNotFoundError: No module name
d 'HealTech'
2020-06-11T09:28:30.249065+00:00 app[web.1]: [2020-06-11 09:28:30 +0000] [10] [I
NFO] Worker exiting (pid: 10)
2020-06-11T09:28:30.285330+00:00 app[web.1]: [2020-06-11 09:28:30 +0000] [4] [IN
FO] Shutting down: Master
2020-06-11T09:28:30.285463+00:00 app[web.1]: [2020-06-11 09:28:30 +0000] [4] [IN
FO] Reason: Worker failed to boot.
2020-06-11T09:28:30.394520+00:00 heroku[web.1]: Process exited with status 3
2020-06-11T09:28:30.437870+00:00 heroku[web.1]: State changed from starting to c
rashed
2020-06-11T09:28:57.000000+00:00 app[api]: Build succeeded
2020-06-11T09:29:44.569931+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path="/" host=healtech.herokuapp.com request_id=d8df59d9-9ff6-4
bac-978d-c5c0940aab5e fwd="47.15.210.237" dyno= connect= service= status=503 byt
es= protocol=https
2020-06-11T09:29:51.153938+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path="/favicon.ico" host=healtech.herokuapp.com request_id=9c95
9fe6-e1ab-47b0-939b-f7d1223577fe fwd="47.15.210.237" dyno= connect= service= sta
tus=503 bytes= protocol=https

HealTech is my project root and it says that "no module named Heal Tech" .Strange!!
Any help would be great .
Best Regards,
Adarsh

from startbootstrap-freelancer.

fadyyeta avatar fadyyeta commented on August 21, 2024

I get the same 503 error when making an express. Js request.
I have
process.env.port || 5000
Also in Procfile
web: npm app.js
Still not working, any ideas?

from startbootstrap-freelancer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.