ionic-team / ionic-team/ionic-cli

Blank Project ERR_FILE_NOT_FOUND

Open
#4,421 9 comments 0 reactions 0 assignees View on GitHub
triage
Dominant language
TypeScript
Stars
2k
Forks
682
PR merge metrics
No merged PRs in 30d

Description

**Description:**
When creating a blank cordova project with the latest Ionic cli (6.7.0) and running it on android
the app doesn't load.

**Steps to Reproduce:**
```
ionic start project-name blank --cordova --type=angular
ionic cordova platform add android
ionic cordova build android
```

Then check the chrome console and see:
```
Failed to load resource: net::ERR_FILE_NOT_FOUND /polyfills-es2015.js:1
Failed to load resource: net::ERR_FILE_NOT_FOUND /styles-es2015.js:1
Failed to load resource: net::ERR_FILE_NOT_FOUND cordova.js:1
Failed to load resource: net::ERR_FILE_NOT_FOUND /vendor-es2015.js:1
Failed to load resource: net::ERR_FILE_NOT_FOUND /main-es2015.js:1
Failed to load resource: net::ERR_FILE_NOT_FOUND /assets/icon/favicon.png:1
```

**My `ionic info`:**

```
Ionic:

Ionic CLI : 6.7.0 (/Users/mluz/.npm/_npx/67980/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 5.1.0
@angular-devkit/build-angular : 0.803.26
@angular-devkit/schematics : 8.3.26
@angular/cli : 8.3.26
@ionic/angular-toolkit : 2.2.0

Cordova:

Cordova CLI : 7.0.1
Cordova Platforms : android 6.2.3
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 4 other plugins)

Utility:

cordova-res : 0.14.0
native-run : 1.0.0

System:

Android SDK Tools : 26.1.1 (/Users/mluz/Library/Android/sdk)
ios-deploy : 1.9.1
ios-sim : 6.0.0
NodeJS : v14.0.0 (/Users/mluz/.nvm/versions/node/v14.0.0/bin/node)
npm : 6.14.4
OS : macOS Mojave
Xcode : Xcode 11.3.1 Build version 11C504
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.