vuestorefront-community / odoo

https://docs.vuestorefront.io/odoo/
MIT License
66 stars 26 forks source link

[Bug]: Getting this error in Heroku builds #50

Closed bootsmann1995 closed 1 year ago

bootsmann1995 commented 2 years ago

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

dduarte-odoogap commented 2 years ago

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