angular - Uncaught TypeError: this._input.charCodeAt is not a function -


i created angular 2 project using angular 2 cli , used ng build --prod command , got no errors.

when upload dist folder website, following error when app loads:

enter image description here

uncaught typeerror: this._input.charcodeat not function_tokenizer._advance @ main .688167 c….bundle.js: 1716 _tokenizer @ main .688167 c….bundle.js: 1716 tokenize @ main .688167 c….bundle.js: 1709 parser.parse @ main .688167 c….bundle.js: 219 htmlparser.parse @ main .688167 c….bundle.js: 380 directivenormalizer.normalizeloadedtemplate @ main .688167 c….bundle.js: 598 directivenormalizer.normalizetemplatesync @ main .688167 c….bundle.js: 598 directivenormalizer.normalizedirective @ main .688167 c….bundle.js: 598 runtimecompiler._createcompiledtemplate @ main .688167 c….bundle.js: 1090(anonymous function) @ main .688167 c….bundle.js: 1090(anonymous function) @ main .688167 c….bundle.js: 1090 runtimecompiler._compilecomponents @ main .688167 c….bundle.js: 1090 runtimecompiler._compilemoduleandcomponents @ main .688167 c….bundle.js: 1090 runtimecompiler.compilemoduleasync @ main .688167 c….bundle.js: 1090 platformref_._bootstrapmodulewithzone @ main .688167 c….bundle.js: 717 platformref_.bootstrapmodule @ main .688167 c….bundle.js: 717(anonymous function) @ main .688167 c….bundle.js: 1509 __webpack_require__ @ inline.js: 1(anonymous function) @ main .688167 c….bundle.js: 2131 __webpack_require__ @ inline.js: 1 window.webpackjsonp @ inline.js: 1(anonymous function) @ main .688167 c….bundle.js: 1 

i'm using latest angular 2 cli webpack , angular 2 rc.7

what have gone wrong?

the this._input.charcodeat used in angular compiler folder below: enter image description here

might caused loading component code instead of template, i.e.

templateurl: 'my.component' 

instead of

templateurl: 'my.component.html' 

Comments

  1. Angular - Uncaught Typeerror: This._Input.Charcodeat Is Not A Function - >>>>> Download Now

    >>>>> Download Full

    Angular - Uncaught Typeerror: This._Input.Charcodeat Is Not A Function - >>>>> Download LINK

    >>>>> Download Now

    Angular - Uncaught Typeerror: This._Input.Charcodeat Is Not A Function - >>>>> Download Full

    >>>>> Download LINK ve

    ReplyDelete

Post a Comment

Popular posts from this blog

php - isset function not working properly -

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -