infor-cloud / m3-h5-sdk

https://infor-cloud.github.io/m3-h5-sdk/
34 stars 20 forks source link

can't run Webapp locally #132

Open walaareafaee opened 2 years ago

walaareafaee commented 2 years ago

Description

im getting this error as shown in attached image is's a web app on premise and ran Odin Serve the project structure is diffrent form the ones provided in odin new as shown in second attached w

image

Versions

Please include the version numbers of the software related to the question, if applicable. sssssssssssssssssssss

swuendri commented 2 years ago

Please provide the whole output of Odin serve @walaareafaee.

walaareafaee commented 2 years ago

Please provide the whole output of Odin serve @walaareafaee.

image

swuendri commented 2 years ago

Dear @walaareafaee, Failed to compile isn't the status that we want. Can you describe your steps creating this Odin application, so I can reproduce the error? Or can you provide po-shipment-tracking app to me?

walaareafaee commented 2 years ago

Dear @swuendri this when i ran it throught NodeJS webserver.js as you can see it's authuntication error , im trying to figure how to authounticate this app i tried everthing from documnetation

t

walaareafaee commented 2 years ago

Dear @walaareafaee, Failed to compile isn't the status that we want. Can you describe your steps creating this Odin application, so I can reproduce the error? Or can you provide po-shipment-tracking app to me?

Dear @swuendri this when i ran it throught NodeJS webserver.js as you can see it's authuntication error , im trying to figure how to authounticate this app i tried everthing from documnetation

swuendri commented 2 years ago

Dear @walaareafaee, I want help you but it's necessary that I can reproduce your error in my environment. Please let me know your configuration steps of the application or provide the whole application directory to me.

walaareafaee commented 2 years ago

Dear @walaareafaee, I want help you but it's necessary that I can reproduce your error in my environment. Please let me know your configuration steps of the application or provide the whole application directory to me. Dear @swuendri , i gave you access to repository

swuendri commented 2 years ago

Dear @walaareafaee, I got your repository link. But I can only find the transpiled js files. Can you also provide the project sources itself?

walaareafaee commented 2 years ago

Dear @swuendr unfortunately, that's all i got

swuendri commented 2 years ago

Dear @walaareafaee, but then odin serve will not work. odin serve starts an proxy to route request to M3 and additionally an Angular development server. But therefor you need an Angular project. What you got is the output of odin build. These files are part of the deployable web application (usually with environment set to production).

Please ask the sender to get Angular project. In other case I cannot help.