Skip to content

Invalid path when consuming Electrium from npm #1

@DinisCruz

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions