Meteor run Android

I have successfully installed all the tools needed to build android meteorites. When I launched the meteor run android

following error occurred

Error while running for mobile platforms: spawn EACCES

      

And when I run sudo command like

sudo meteor run android

I am getting the following error:

Error while running for mobile platforms: Error running /Users/black_monk/.meteor/packages/meteor-tool/.1.0.35.wql4jh++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/cordova-scripts/cordova.sh
Current working directory is not a Cordova-based project.

      

What's wrong?

+3


source to share


5 answers


Did this,

changed all directories to 777 resolution

sudo find / Users / black_monk / meteor_examples / todos / .meteor / local / -type d -exec chmod 777 {} \;



and also all files inside it at 777

sudo find / Users / black_monk / meteor_examples / todos / .meteor / local / -type f -exec chmod 777 {} \;

0


source


I got this to work in a ubuntu VM hosted on Windows 8.1, but when I tried directly on Linux Mint 17, I got the same error.

This worked when I started working on a Linux hosted partition while I work on a different drive and it is probably an NTFS permission issue or something.



What OS are you using?

0


source


You need cd

to complete your meteor project.

cd <your_meteor_project>

      

Then run

sudo meteor run android

      

0


source


delete the directory .meteor

and check it out back from source control.

0


source


I got the same error when I tried to launch my android mobile app in ubuntu 14.04.

I got this error because I created a project on the ntfs disk. I can access this drive on Linux, but I got the same error as yours due to a permission issue.

Then when I tried to create a project on my desktop, the error was resolved. So use your Linux disk to build and run your project.

0


source







All Articles