Skip to content
This repository was archived by the owner on Jun 28, 2021. It is now read-only.
This repository was archived by the owner on Jun 28, 2021. It is now read-only.

[Now specific] Cannot find module '/home/nowuser/.bitpay/config.json' #92

@ksullivan91

Description

@ksullivan91

I followed the instructions while setting up the bitpay client and have no trouble running this in my local environment. However, when deploying to now.sh, I am receiving the error:

`

module.js:557
throw err;
^
Error: Cannot find module '/home/nowuser/.bitpay/config.json'
at Function.Module._resolveFilename (module.js:555:15)
at Function.Module._load (module.js:482:25)
at Module.require (module.js:604:17)
at require (internal/module.js:11:18)
`

I have used the overloading configuration option specified in the documentation but it still tries to load the config.json file. I've created a folder named .bitpay in the root and it still isn't able to find the file.

Typically the deployment is served from '/home/nowuser/src' and bitpay is looking for the .bitpay file one level up at 'home/nowuser/.bitpay'

Any help would be appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions