ng-toolkit icon indicating copy to clipboard operation
ng-toolkit copied to clipboard

Uncaught SyntaxError: Unexpected token '<'

Open rajatTemaniya opened this issue 4 years ago • 0 comments

I'm submitting a...


[x] Bug report  
[ ] Feature request
[ ] Documentation issue or request

In package


[ ] @ng-toolkit/init
[ ] @ng-toolkit/serverless
[x] @ng-toolkit/universal
[ ] @ng-toolkit/pwa
[ ] @ng-toolkit/firebug

Current behavior

Uncaught SyntaxError: Unexpected token '<' at runtime.91315f09efaa9929d82a.js Uncaught SyntaxError: Unexpected token '<' at main.200717749fb503b53096.js

Expected behavior

Minimal reproduction of the problem with instructions

my package.json is: "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e", "build:server:prod": "ng run hotel-jobber:server && webpack --config webpack.server.config.js --progress --colors", "build:browser:prod": "ng build --prod", "build:prod": "npm run build:server:prod && npm run build:browser:prod", "server": "node local.js" }, "private": true, "dependencies": { "@angular/animations": "^6.1.10", "@angular/cdk": "^6.4.7", "@angular/common": "^6.1.0", "@angular/compiler": "^6.1.0", "@angular/core": "^6.1.0", "@angular/fire": "^5.2.1", "@angular/forms": "^6.1.0", "@angular/http": "^6.1.0", "@angular/material": "^6.4.7", "@angular/platform-browser": "^6.0.0", "@angular/platform-browser-dynamic": "^6.1.0", "@angular/platform-server": "^6.0.0", "@angular/pwa": "^0.8.9", "@angular/router": "^6.1.0", "@angular/service-worker": "^6.1.0", "@ng-toolkit/universal": "^1.1.40", "@nguniversal/express-engine": "^6.0.0", "@nguniversal/module-map-ngfactory-loader": "^6.0.0", "@ngx-loading-bar/core": "^4.2.0", "@ngx-loading-bar/router": "^4.2.0", "@sweetalert2/ngx-sweetalert2": "^5.1.0", "angular-6-social-login": "^1.1.1", "angular-upload-files": "^1.5.303", "bootstrap": "^3.3.7", "core-js": "^2.5.4", "cors": "~2.8.4", "firebase": "^6.1.1", "hammerjs": "^2.0.8", "jw-angular-social-buttons": "^1.0.0", "material-design-icons": "^3.0.1", "ng2-image-compress": "^7.0.7", "ng5-slider": "^1.1.12", "ngx-bootstrap": "^3.1.2", "ngx-chips": "^2.0.2", "ngx-gallery": "^5.9.1", "ngx-image-compress": "^8.0.3", "ngx-image-cropper": "^1.3.8", "ngx-infinite-scroll": "^6.0.0", "ngx-select-ex": "^3.6.8", "ngx-spinner": "^7.0.0", "rxjs": "~6.2.0", "sweetalert2": "^8.12.2", "time-ago-pipe": "^1.3.2", "ts-loader": "4.2.0", "webpack-cli": "^2.1.4", "xmlhttprequest": "^1.8.0", "zone.js": "~0.8.26" }, "devDependencies": { "@angular-devkit/build-angular": "~0.8.0", "@angular/cli": "^6.2.9", "@angular/compiler-cli": "^6.1.0", "@angular/language-service": "^6.1.0", "@types/jasmine": "~2.8.8", "@types/jasminewd2": "~2.0.3", "@types/node": "~8.9.4", "codelyzer": "~4.3.0", "jasmine-core": "~2.99.1", "jasmine-spec-reporter": "~4.2.1", "karma": "~3.0.0", "karma-chrome-launcher": "~2.2.0", "karma-coverage-istanbul-reporter": "~2.0.1", "karma-jasmine": "~1.1.2", "karma-jasmine-html-reporter": "^0.2.2", "protractor": "~5.4.0", "ts-node": "~7.0.0", "tslint": "~5.11.0", "typescript": "~2.9.2", "webpack-cli": "^3.3.5" }

Example repository

What is the motivation / use case for changing the behavior?

Environment


Angular version: 6


- Node version: 8.11.2  
- Platform:  Windows 

Others:

rajatTemaniya avatar Feb 29 '20 12:02 rajatTemaniya