Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Magellan not loading executors #225

Open
jtheodore-rent opened this issue May 23, 2017 · 1 comment
Open

Magellan not loading executors #225

jtheodore-rent opened this issue May 23, 2017 · 1 comment

Comments

@jtheodore-rent
Copy link

Magellan was working fine for me until recently.

Now, however, when I attempt to run magellan, it fails to load my executors. I'm not sure what I changed that caused this to start happening, but this is the error I am getting:

[ERROR] [Magellan] There are errors in loading executors
[ERROR] [Magellan] Error: Cannot find module './lib/executor'
[ERROR] [Magellan] Error: Cannot find module './lib/executor'

This is what my magellan.json looks like:

{
  "framework": "testarmada-magellan-nightwatch-plugin",
  "executors": [
    "testarmada-magellan-saucelabs-executor",
    "testarmada-magellan-local-executor"
  ]
}

Kind of stuck since the error message doesn't tell me much - please help.

@archlichking
Copy link
Contributor

[ERROR] [Magellan] Error: Cannot find module './lib/executor'
[ERROR] [Magellan] Error: Cannot find module './lib/executor'

Magellan executors are supposed to be installed via npm. My guess is the whole npm install failed because each executor will do "postinstall": "npm run build" to create ./lib folder inside its own folder in ./node_modules/magellan-xxx-executor after a successful npm install. Please delete ./node_modules and do a fresh npm install.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants