odoo icon indicating copy to clipboard operation
odoo copied to clipboard

[Bug]: Getting this error in Heroku builds

Open bootsmann1995 opened this issue 2 years ago • 1 comments

Expected Behavior

I set the PORT env variable in horoku but it doesnt apply to th listening port.

Works fine in localhost (npm run dev)

but npm run build && npm start gives the error shown in next section.

Actual Behavior

it listens to a whole other port than defined

image

process.env.PORT = 8000

Possible Solution

No response

Steps to reproduce

No response

What version of odoo integration are you using?

1.4.1

What version of Node.js are you using?

16.13

What browser (and version) are you using?

all

What operating system (and version) are you using?

windows / horoku

Relevant log output

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

bootsmann1995 avatar Sep 23 '22 11:09 bootsmann1995

Hi @bootsmann1995 I haven't tried using Heroku, but you should use the following node version: v14.19.0

dduarte-odoogap avatar Sep 23 '22 14:09 dduarte-odoogap