Thanks to visit codestin.com
Credit goes to github.com

Skip to content

IED installer with phantomJS or with phantomjs-prebuilt #198

@tigran1997

Description

@tigran1997
  • Version:
  • Platform:
  • Subsystem:

Ied installer which installs parallel sub-dependencies have an issue with phantomjs/pahtnomjs-prebuilt.
Problem is that custom npm installer install's package with phantomjs (downloads from github if it does not exist in pc/virtual machine) and sets the path of it in location.js in lib folder which also not exists due to ied installer.
You can view it on lib/phantomjs.js file

try {
  var location = require('./location')
  exports.path = path.resolve(__dirname, location.location)
  exports.platform = location.platform
  exports.arch = location.arch
} catch(e) {
  // Must be running inside install script.
  exports.path = null
}

@alexanderGugel please review this.
You can view it also in StackOverflow
https://stackoverflow.com/questions/45031555/ied-installer-with-phantomjs-phantomjs-prebuilt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions