Skip to content

Error: Cannot find module 'browserstack-config.json' #152

Description

@rushby

I have a .env file:

BROWSERSTACK_CAPABILITIES_CONFIG_PATH="./browserstack-config.json"

the browserstack-config.json is in the top level directory in the project, when I run the tests with this environment variable the following error is thrown:

Error: Cannot find module './browserstack-config.json'

Removing the environment variable successfully runs the tests, am I missing something?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions