#user1352-error

1 messages · Page 1 of 1 (latest)

mint dome
#

Hello 👋
How can we help you?

dusk crest
#

I add the card.html and the related files for it too and there was no error until I upload the package.Json it show error

#

I add it to my publish website

#

This in the terminal error after add the packagejson just

#

The error late to this

#

Line 16 server.js

#

About STATIC_DIR

#

All the files now in different folder

#

All them in one folder

#

Inside publish website

mint dome
#

give me a moment to catch up on the thread

mint dome
#

Thank you for your patience
which guide are you following to add the payment?

dusk crest
#

This guid

#

Hi

mint dome
#

sorry for the delay
juggling between multiple threads
the error isn't really related to a Stripe API
Could you double check the link as its taking me to a file rather than a guide?

dusk crest
#

I already test the payment before I add it to my website it worked great but after I adding to my website

#

The error

#

The server.js line 16 it about .env file

#

The .env file have STATIC_DIC

mint dome
#

try console.log(PROCESS.ENV.STATIC_DIR) to see if its really showing you the path you want

dusk crest
#

It about Clint folder who has card.html I move the card.html to website so the are in one folder now

#

Do I have to edit the card html file or not

mint dome
#

The error screenshot that you attached shows line 16 which points to the STATIC_DIR path which it is having trouble loading

#

Do I have to edit the card html file or not
Not sure what you mean by this?