-
-
Notifications
You must be signed in to change notification settings - Fork 755
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: The main Appium script does not exist at '/usr/local/lib/node_modules/appium/build/lib/main.js' #1889
Comments
is the appium server installed? is it installed globally? |
Yes, it is installed globally
…On Tue, Apr 18, 2023 at 6:49 PM Mykola Mokhnach ***@***.***> wrote:
is the appium server installed? is it installed globally?
—
Reply to this email directly, view it on GitHub
<#1889 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AP76T4TBWRLTPM3P7POGQSLXB2IGDANCNFSM6AAAAAAXCLL5NE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
where appium's main.js is actually located on your system? have you searched for it inside /usr/local/lib/node_modules? |
If it is not there then the server installation is probably broken. Have you tried to run appium from terminal? |
I'm having the same issue. Appium works but i cant find main.js any where, therefor cant start the server automatically. did u find any solution ? |
Same issue with me did you find any solution to this? |
my issue is it is adding my project directory with main js path e.g project_path/\usr\local\lib\node_modules\appium\build\lib\main.js' |
@mykola-mokhnach @dakshana-jayakumar anything on above comment? |
According to the NPM man page, npm gets its configuration information from 5 separate sources. When npm is launched on a *nix system without the user shell npm skips any configuration in the user's $HOME as well as ignores environment variables that might be set in the user's profile or environment. This resolves appium#1889 and @ZuhayrMerchant110's issue as well as mine where the project directory prefixing the appium path.
Is there an existing issue for this?
Current Behavior
Expected Behavior
To run the appium server and the application has to be installed in the android emulator as per the code
Environment
appium
CLI...appium --version
):node --version
):npm
version (output ofnpm --version
):appium
version which did not exhibit the problem:Link to Appium Logs
No response
Futher Information
No response
The text was updated successfully, but these errors were encountered: