Skip to content

Invalid path when consuming Electrium from npm #1

Description

@DinisCruz

This is what happens when invoking start (the problem is that the .bin/electrium path is not found due to the fact that is exists on the top level node_modules folder (vs the electrium's node_module's folder)

image

here is a test that isolates the issue

image

here is a test that replicates the problem

  it 'open', (done)->

    Spectron_API = require('electrium').Spectron_API

    spectron = new Spectron_API();
    spectron.setup().start().catch (err)->
      err.message.assert_Contains "ENOENT: no such file or directory"
      done()


    return

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