Expected ';' while running demo project in IE 11
- Dominant language
- TypeScript
- Stars
- 25.7k
- Forks
- 7.9k
- PR merge metrics
- No merged PRs in 30d
Description
### Issue type
**I'm submitting a ...** (check one with "x")
* [x] bug report
* [ ] feature request
* [ ] question about the decisions made in the repository
### Issue description
I have downloaded master.zip from the github and tried to run this project in IE but its showing only loading screen on the page so I have tried to resolve this issue by changing the target to es5 and added tsconfig-es5.app.json file into the solution and have run it using "ng server -config es5", "ng server -c es5" and "ng serve -c=es5" but for all this is providing same error.
**Current behavior:**
It's showing the loading page and displaying error in console.
**Expected behavior:**
It should load and properly working in IE
**Steps to reproduce:**
1. Downloaded master zip from the github
2. run "npm install"
3. npm start => it will not show any error and also not showing the pages except loading screen.
4. Create a new tsconfig tsconfig-es5.app.json next to tsconfig.app.json with the below contents
{
"extends": "./tsconfig.app.json",
"compilerOptions": {
"target": "es5"
}
}
In your angular.json add two new configuration section under the build and serve target to provide a new tsconfig.
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
...
},
"configurations": {
"production": {
...
},
"es5": {
"tsConfig": "./tsconfig-es5.app.json"
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
...
},
"configurations": {
"production": {
...
},
"es5": {
"browserTarget": "app:build:es5"
}
}
},
5. run "ng serve --configuration es5" command
### Other information:
Browser: IE
node -v => v10.15.0
npm -v => 6.14.2
ng -v =>
angular-cli: 1.0.0-beta.28.3
node: 10.15.0
os: win32 x64
@angular/animations: 9.0.4
@angular/cdk: 9.1.2
@angular/common: 9.0.4
@angular/compiler: 9.0.4
@angular/core: 9.0.4
@angular/forms: 9.0.4
@angular/google-maps: 9.1.0
@angular/platform-browser: 9.0.4
@angular/platform-browser-dynamic: 9.0.4
@angular/router: 9.0.4
@angular/cli: 9.0.4
@angular/compiler-cli: 9.0.4
@angular/language-service: 9.0.4
I am also attaching the master zip file which i got from the github
[ngx-admin-master.zip](https://github.com/akveo/ngx-admin/files/4763819/ngx-admin-master.zip)
Contributor guide
Assessment
This issue has not been assessed yet.