Skip to content
This repository was archived by the owner on Jul 24, 2019. It is now read-only.
This repository was archived by the owner on Jul 24, 2019. It is now read-only.

Location file created with invalid path separators in Windows #820

@blastedt

Description

@blastedt

Version: 2.1.15
Node version: 8.9.x
OS: Windows 10 x64
After install, the module generates a location.js that looks like this:
module.exports.location = 'C:\ui\proj\node_modules\phantomjs-bin\bin\win32\phantomjs.exe';
It should instead generate like this:
module.exports.location = 'C:\\ui\\proj\\node_modules\\phantomjs-bin\\bin\\win32\\phantomjs.exe';

This causes launch to fail until you do something like this to your karma conf (pick your poison on test runners):
require('phantomjs-prebuilt').path = 'C:\\ui\\proj\\node_modules\\phantomjs-bin\\bin\\win32\\phantomjs.exe'

This issue occurs kind of inconsistently across machines but I've experienced it on at least two so far.

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