[ERROR] native-run was not found on your PATH. Please install it globally:

I constantly get this error when I run the code ionic cordova run android,

[ERROR] native-run was not found on your PATH. Please install it globally:
npm i -g native-run

Even though I got this,


Ionic CLI : 5.0.2 (/usr/local/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 4.5.0
@angular-devkit/build-angular : 0.13.9
@angular-devkit/schematics : 7.3.9
@angular/cli : 7.3.9
@ionic/angular-toolkit : 1.5.1


Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : not available
Cordova Plugins : not available


cordova-res : 0.3.0
native-run : 0.2.5


Android SDK Tools : 26.1.1 (/Users/Camila/Library/Android/sdk/)
NodeJS : v12.4.0 (/usr/local/Cellar/node/12.4.0/bin/node)
npm : 6.9.0
OS : macOS Mojave

Which means that native-run is installed, but I don’t have it on my path?

I need to fix this, because I want to emulate my app from VS code and I think it has to be in order to publish my anroid app.

1 Like

Install native-run globaly, use this command: npm i -g native-run

1 Like

I have tried that, but it doesn’t work.

Try this ‘npm i -g native-run’ its 100% working;

I did the same just now, seems there are blank spaces between native and run;
Good luck mate

I have tried that. It will install native-run, as I can see by running “ionic info”, but I cannot use native-run in VS code.

Form me, show erro:

npm WARN npm npm does not support Node.js v10.16.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can’t make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8.
npm WARN npm You can find the latest version at https://nodejs.org/
WARNING: You are likely using a version of node-tar or npm that is incompatible with this version of Node.js.
Please use either the version of npm that is bundled with Node.js, or a version of npm (> 5.5.1 or < 5.4.0) or node-tar (> 4.0.1) that is compatible with Node.js 9 and above.
npm[17920]: c:\ws\src\node_zlib.cc:551: Assertion `args.Length() == 7 && “init(windowBits, level, memLevel, strategy, writeResult, writeCallback,” " dictionary)"’ failed.
1: 00007FF70EB9C6AA v8::internal::GCIdleTimeHandler::GCIdleTimeHandler+4506
2: 00007FF70EB77416 node::MakeCallback+4534
3: 00007FF70EB774CF node::MakeCallback+4719
4: 00007FF70EAD653D v8::internal::ParseInfo::end_position+93005
5: 00007FF70F0A4382 std::vector<v8::internal::compiler::MoveOperands * __ptr64,v8::internal::ZoneAllocator<v8::internal::compiler::MoveOperands * __ptr64> >::_Umove+79442
6: 00007FF70F0A580D std::vector<v8::internal::compiler::MoveOperands * __ptr64,v8::internal::ZoneAllocator<v8::internal::compiler::MoveOperands * __ptr64> >::_Umove+84701
7: 00007FF70F0A4866 std::vector<v8::internal::compiler::MoveOperands * __ptr64,v8::internal::ZoneAllocator<v8::internal::compiler::MoveOperands * __ptr64> >::_Umove+80694
8: 00007FF70F0A474B std::vector<v8::internal::compiler::MoveOperands * __ptr64,v8::internal::ZoneAllocator<v8::internal::compiler::MoveOperands * __ptr64> >::_Umove+80411
9: 00000385C6EDC5C1

I have the same problem. I test successful in Windows and not in MacOs…So sad for waiting !!!