Got latest from the TFS, working with Windows 10
(If you want to be sure not to hurt current branch – create a branch.)

in angular.js
-> projects – Changed the name of the app
-> “outputPath”: “www”,

In package.js
-> “name”: “eezyimport”, – to fit angular.js

In tsconfig.js

-> target changed to ES2015 from es5


PS D:\dev\CBY.client\CBY> npm run install
PS D:\dev\CBY.client\CBY> ng add @ionic/angular
PS D:\dev\CBY.client\CBY> ionic init
PS D:\dev\CBY.client\CBY> npm install

Not working – ng run app:ionic-cordova-build –platform=android exited with exit code 127. – project doesn’t exist message.

[error] Error: Project does not exist.
    at WorkspaceNodeModulesArchitectHost.findProjectTarget (D:\dev\CBY.client\CBY\node_modules\@angular-devkit\architect\node\node-modules-architect-host.js:122:19)
    at WorkspaceNodeModulesArchitectHost.getBuilderNameForTarget (D:\dev\CBY.client\CBY\node_modules\@angular-devkit\architect\node\node-modules-architect-host.js:23:39)
    at RunCommand.runSingleTarget (D:\dev\CBY.client\CBY\node_modules\@angular\cli\models\architect-command.js:174:55)
    at RunCommand.runArchitectTarget (D:\dev\CBY.client\CBY\node_modules\@angular\cli\models\architect-command.js:217:35)
    at (D:\dev\CBY.client\CBY\node_modules\@angular\cli\commands\run-impl.js:14:25)
    at RunCommand.validateAndRun (D:\dev\CBY.client\CBY\node_modules\@angular\cli\models\command.js:134:39)
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at Function.Module.runMain (internal/modules/cjs/loader.js:744:11)
    at startup (internal/bootstrap/node.js:285:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)

Tried in several folders
PS D:\dev\CBY.client\CBY> ionic cordova run android –project=”eezyimport” –verbose
PS D:\dev\CBY.client\CBY\src> ionic cordova run android –project=”eezyimport” –verbose

Then, just followed the terminal propositions to install ionic globally:

PS D:\dev\CBY.client\CBY>npm i -g ionic
PS D:\dev\CBY.client\CBY>ionic cordova build
PS D:\dev\CBY.client\CBY>npm i -g native-run


It started running, but fails.. One of the options, maybe circular references??


Not working –

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed

Good post with a lot of directions to solve the issue of


PS D:\dev\CBY.client\CBY>set NODE_OPTIONS=–max_old_space_size=8096
PS D:\dev\CBY.client\CBY>ionic cordova run android –project=”eezyimport” –verbose –build-optimizer=true –aot=true

They are saying we need to upgrade to Node 12

PS D:\dev\CBY.client\CBY> node -v


At the end upgraded through this post
Needed to run cmd as admin
Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force
npm install -g npm-windows-upgrade

No VS becomes irresponsive and fails.