Appium. Cannot find module 'appium-base-driver'
My appium GUI was working perfectly fine until today. When I tried to start appium I am getting this error. I don't know how to get around it. So any suggestions / solutions highly appreciated.
Launching Appium with command: '/Applications/Appium.app/Contents/Resources/node/bin/node' appium/build/lib/main.js --pre-launch --debug-log-spacing --automation-name "Appium" --platform-name "Android" --platform-version "6.0" --app "/Users/iamtheuser/fitbit/automation/artifacts/myapp.apk" --language "en" --locale "US"
Error: Cannot find module 'appium-base-driver'
at Function.Module._resolveFilename (module.js:339:15)
at Function.Module._load (module.js:290:25)
at Module.require (module.js:367:17)
at require (internal/module.js:16:19)
at Object.<anonymous> (lib/main.js:7:58)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Function.Module.runMain (module.js:447:10)
at startup (node.js:146:18)
at node.js:404:3
android appium npm-install python-appium
add a comment |
My appium GUI was working perfectly fine until today. When I tried to start appium I am getting this error. I don't know how to get around it. So any suggestions / solutions highly appreciated.
Launching Appium with command: '/Applications/Appium.app/Contents/Resources/node/bin/node' appium/build/lib/main.js --pre-launch --debug-log-spacing --automation-name "Appium" --platform-name "Android" --platform-version "6.0" --app "/Users/iamtheuser/fitbit/automation/artifacts/myapp.apk" --language "en" --locale "US"
Error: Cannot find module 'appium-base-driver'
at Function.Module._resolveFilename (module.js:339:15)
at Function.Module._load (module.js:290:25)
at Module.require (module.js:367:17)
at require (internal/module.js:16:19)
at Object.<anonymous> (lib/main.js:7:58)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Function.Module.runMain (module.js:447:10)
at startup (node.js:146:18)
at node.js:404:3
android appium npm-install python-appium
1
Maybe reinstall Appium.app would fix your error
– Xiao
Jun 17 '16 at 4:10
What version are you using ?
– Vijeta Mehra
Oct 10 '17 at 4:47
add a comment |
My appium GUI was working perfectly fine until today. When I tried to start appium I am getting this error. I don't know how to get around it. So any suggestions / solutions highly appreciated.
Launching Appium with command: '/Applications/Appium.app/Contents/Resources/node/bin/node' appium/build/lib/main.js --pre-launch --debug-log-spacing --automation-name "Appium" --platform-name "Android" --platform-version "6.0" --app "/Users/iamtheuser/fitbit/automation/artifacts/myapp.apk" --language "en" --locale "US"
Error: Cannot find module 'appium-base-driver'
at Function.Module._resolveFilename (module.js:339:15)
at Function.Module._load (module.js:290:25)
at Module.require (module.js:367:17)
at require (internal/module.js:16:19)
at Object.<anonymous> (lib/main.js:7:58)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Function.Module.runMain (module.js:447:10)
at startup (node.js:146:18)
at node.js:404:3
android appium npm-install python-appium
My appium GUI was working perfectly fine until today. When I tried to start appium I am getting this error. I don't know how to get around it. So any suggestions / solutions highly appreciated.
Launching Appium with command: '/Applications/Appium.app/Contents/Resources/node/bin/node' appium/build/lib/main.js --pre-launch --debug-log-spacing --automation-name "Appium" --platform-name "Android" --platform-version "6.0" --app "/Users/iamtheuser/fitbit/automation/artifacts/myapp.apk" --language "en" --locale "US"
Error: Cannot find module 'appium-base-driver'
at Function.Module._resolveFilename (module.js:339:15)
at Function.Module._load (module.js:290:25)
at Module.require (module.js:367:17)
at require (internal/module.js:16:19)
at Object.<anonymous> (lib/main.js:7:58)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Function.Module.runMain (module.js:447:10)
at startup (node.js:146:18)
at node.js:404:3
android appium npm-install python-appium
android appium npm-install python-appium
edited Jul 2 '18 at 3:12
Jafar Raza
977
977
asked Jun 16 '16 at 19:01
Mysterio ManMysterio Man
1,0921917
1,0921917
1
Maybe reinstall Appium.app would fix your error
– Xiao
Jun 17 '16 at 4:10
What version are you using ?
– Vijeta Mehra
Oct 10 '17 at 4:47
add a comment |
1
Maybe reinstall Appium.app would fix your error
– Xiao
Jun 17 '16 at 4:10
What version are you using ?
– Vijeta Mehra
Oct 10 '17 at 4:47
1
1
Maybe reinstall Appium.app would fix your error
– Xiao
Jun 17 '16 at 4:10
Maybe reinstall Appium.app would fix your error
– Xiao
Jun 17 '16 at 4:10
What version are you using ?
– Vijeta Mehra
Oct 10 '17 at 4:47
What version are you using ?
– Vijeta Mehra
Oct 10 '17 at 4:47
add a comment |
6 Answers
6
active
oldest
votes
It seems you might :
- updated appium version
- might updated all other installed/removed gems/dependancies like nodeJS
Do you remember what activity have you done?
add a comment |
Install Appium Doctor and investigate whats wrong in it.
Install Appium Doctor by below command:
npm install appium-doctor -g
Use Appium Doctor by below command:
appium-doctor -h
add a comment |
Try
Intall gulp with npm install -g gulp
add a comment |
The issue has happened because you might have updated java-client but not the appium server.
Say if your java-client version is 6.0.0-BETA4, you need to use Appium v1.7.2
Please update how you resolved this issue.
add a comment |
@Mysterio Man, hi . Could You please share what versions: java-client/appium GUI do You use ?
I'd recommend to try the following alternatives:
- Install gulp using
npm -g gulp
- check for versions of appium GUI
- check for java-client versions ; Maven repo
In my proj I'm using dependency
<dependency>
<groupId>io.appium</groupId>
<artifactId>java-client</artifactId>
<version>7.0.0</version>
</dependency>
Works fine for me.
And also installing appium i accurately followed this step-by-step setup instruction . Didnt face any issues.
In worst case- might be helpful to reinstall everything from scratch.
Let me know if You have resolved the issue.
Regards,
Eugene
add a comment |
You can install the base driver by below command:
npm i appium-base-driver
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f37867413%2fappium-cannot-find-module-appium-base-driver%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
6 Answers
6
active
oldest
votes
6 Answers
6
active
oldest
votes
active
oldest
votes
active
oldest
votes
It seems you might :
- updated appium version
- might updated all other installed/removed gems/dependancies like nodeJS
Do you remember what activity have you done?
add a comment |
It seems you might :
- updated appium version
- might updated all other installed/removed gems/dependancies like nodeJS
Do you remember what activity have you done?
add a comment |
It seems you might :
- updated appium version
- might updated all other installed/removed gems/dependancies like nodeJS
Do you remember what activity have you done?
It seems you might :
- updated appium version
- might updated all other installed/removed gems/dependancies like nodeJS
Do you remember what activity have you done?
answered Jun 24 '16 at 17:33
NarendraCNarendraC
484716
484716
add a comment |
add a comment |
Install Appium Doctor and investigate whats wrong in it.
Install Appium Doctor by below command:
npm install appium-doctor -g
Use Appium Doctor by below command:
appium-doctor -h
add a comment |
Install Appium Doctor and investigate whats wrong in it.
Install Appium Doctor by below command:
npm install appium-doctor -g
Use Appium Doctor by below command:
appium-doctor -h
add a comment |
Install Appium Doctor and investigate whats wrong in it.
Install Appium Doctor by below command:
npm install appium-doctor -g
Use Appium Doctor by below command:
appium-doctor -h
Install Appium Doctor and investigate whats wrong in it.
Install Appium Doctor by below command:
npm install appium-doctor -g
Use Appium Doctor by below command:
appium-doctor -h
answered Oct 22 '18 at 8:37
Vitthal BobadeVitthal Bobade
6110
6110
add a comment |
add a comment |
Try
Intall gulp with npm install -g gulp
add a comment |
Try
Intall gulp with npm install -g gulp
add a comment |
Try
Intall gulp with npm install -g gulp
Try
Intall gulp with npm install -g gulp
answered Dec 18 '17 at 4:35
Kiran AntonyKiran Antony
197
197
add a comment |
add a comment |
The issue has happened because you might have updated java-client but not the appium server.
Say if your java-client version is 6.0.0-BETA4, you need to use Appium v1.7.2
Please update how you resolved this issue.
add a comment |
The issue has happened because you might have updated java-client but not the appium server.
Say if your java-client version is 6.0.0-BETA4, you need to use Appium v1.7.2
Please update how you resolved this issue.
add a comment |
The issue has happened because you might have updated java-client but not the appium server.
Say if your java-client version is 6.0.0-BETA4, you need to use Appium v1.7.2
Please update how you resolved this issue.
The issue has happened because you might have updated java-client but not the appium server.
Say if your java-client version is 6.0.0-BETA4, you need to use Appium v1.7.2
Please update how you resolved this issue.
answered Apr 9 '18 at 12:09
Benz MPBenz MP
12
12
add a comment |
add a comment |
@Mysterio Man, hi . Could You please share what versions: java-client/appium GUI do You use ?
I'd recommend to try the following alternatives:
- Install gulp using
npm -g gulp
- check for versions of appium GUI
- check for java-client versions ; Maven repo
In my proj I'm using dependency
<dependency>
<groupId>io.appium</groupId>
<artifactId>java-client</artifactId>
<version>7.0.0</version>
</dependency>
Works fine for me.
And also installing appium i accurately followed this step-by-step setup instruction . Didnt face any issues.
In worst case- might be helpful to reinstall everything from scratch.
Let me know if You have resolved the issue.
Regards,
Eugene
add a comment |
@Mysterio Man, hi . Could You please share what versions: java-client/appium GUI do You use ?
I'd recommend to try the following alternatives:
- Install gulp using
npm -g gulp
- check for versions of appium GUI
- check for java-client versions ; Maven repo
In my proj I'm using dependency
<dependency>
<groupId>io.appium</groupId>
<artifactId>java-client</artifactId>
<version>7.0.0</version>
</dependency>
Works fine for me.
And also installing appium i accurately followed this step-by-step setup instruction . Didnt face any issues.
In worst case- might be helpful to reinstall everything from scratch.
Let me know if You have resolved the issue.
Regards,
Eugene
add a comment |
@Mysterio Man, hi . Could You please share what versions: java-client/appium GUI do You use ?
I'd recommend to try the following alternatives:
- Install gulp using
npm -g gulp
- check for versions of appium GUI
- check for java-client versions ; Maven repo
In my proj I'm using dependency
<dependency>
<groupId>io.appium</groupId>
<artifactId>java-client</artifactId>
<version>7.0.0</version>
</dependency>
Works fine for me.
And also installing appium i accurately followed this step-by-step setup instruction . Didnt face any issues.
In worst case- might be helpful to reinstall everything from scratch.
Let me know if You have resolved the issue.
Regards,
Eugene
@Mysterio Man, hi . Could You please share what versions: java-client/appium GUI do You use ?
I'd recommend to try the following alternatives:
- Install gulp using
npm -g gulp
- check for versions of appium GUI
- check for java-client versions ; Maven repo
In my proj I'm using dependency
<dependency>
<groupId>io.appium</groupId>
<artifactId>java-client</artifactId>
<version>7.0.0</version>
</dependency>
Works fine for me.
And also installing appium i accurately followed this step-by-step setup instruction . Didnt face any issues.
In worst case- might be helpful to reinstall everything from scratch.
Let me know if You have resolved the issue.
Regards,
Eugene
edited Mar 2 at 7:59
answered Mar 2 at 7:54
eugene.polschikoveugene.polschikov
6,19422239
6,19422239
add a comment |
add a comment |
You can install the base driver by below command:
npm i appium-base-driver
add a comment |
You can install the base driver by below command:
npm i appium-base-driver
add a comment |
You can install the base driver by below command:
npm i appium-base-driver
You can install the base driver by below command:
npm i appium-base-driver
edited Nov 14 '18 at 10:21
Udhav Sarvaiya
2,30571929
2,30571929
answered Nov 14 '18 at 9:13
zuzeaczuzeac
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f37867413%2fappium-cannot-find-module-appium-base-driver%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Maybe reinstall Appium.app would fix your error
– Xiao
Jun 17 '16 at 4:10
What version are you using ?
– Vijeta Mehra
Oct 10 '17 at 4:47