-
Notifications
You must be signed in to change notification settings - Fork 236
Closed
Description
Hi,
I just update right now from 4.3.0 to 4.4.0,...and:
TypeError: ts.isStringLiteralLike is not a function
at SelectorValidatorWalker.validateProperty (/home/one/master/hfw-core/node_modules/codelyzer/selectorNameBase.js:136:19)
at /home/one/master/hfw-core/node_modules/codelyzer/selectorNameBase.js:111:85
at Array.filter (<anonymous>)
at SelectorValidatorWalker.validateSelector (/home/one/master/hfw-core/node_modules/codelyzer/selectorNameBase.js:111:14)
at SelectorValidatorWalker.validateDecorator (/home/one/master/hfw-core/node_modules/codelyzer/selectorNameBase.js:102:18)
at Array.forEach (<anonymous>)
at SelectorValidatorWalker.visitClassDeclaration (/home/one/master/hfw-core/node_modules/codelyzer/selectorNameBase.js:95:45)
at SelectorValidatorWalker.SyntaxWalker.visitNode (/home/one/master/hfw-core/node_modules/tslint/lib/language/walker/syntaxWalker.js:314:22)
at /home/one/master/hfw-core/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:63
at visitEachNode (/home/one/master/hfw-core/node_modules/typescript/lib/typescript.js:15956:30)
TypeError: ts.isStringLiteralLike is not a function
at Object.exports.isSimpleTemplateString (/home/one/master/hfw-core/node_modules/codelyzer/util/utils.js:5:15)
at /home/one/master/hfw-core/node_modules/codelyzer/util/astQuery.js:33:57
at /home/one/master/hfw-core/node_modules/codelyzer/util/function.js:20:59
at Maybe.bind (/home/one/master/hfw-core/node_modules/codelyzer/util/function.js:17:54)
at Maybe.fmap (/home/one/master/hfw-core/node_modules/codelyzer/util/function.js:20:21)
at Object.getStringInitializerFromProperty (/home/one/master/hfw-core/node_modules/codelyzer/util/astQuery.js:33:10)
at /home/one/master/hfw-core/node_modules/codelyzer/angular/metadataReader.js:42:55
at Maybe.bind (/home/one/master/hfw-core/node_modules/codelyzer/util/function.js:17:54)
at MetadataReader.readDirectiveMetadata (/home/one/master/hfw-core/node_modules/codelyzer/angular/metadataReader.js:42:14)
at MetadataReader.readComponentMetadata (/home/one/master/hfw-core/node_modules/codelyzer/angular/metadataReader.js:49:38)
Any help is appreciate.
thank in advance
volago and dhilt
Activity
LukasKlement commentedon Jun 23, 2018
I'm experiencing the same issue, downgrading to version 4.3.0 fixes it. I'm using typescript@2.7.2
fix: regressions in 4.4.0
fix: regressions in 4.4.0
fix: regressions in 4.4.0 (#671)
mgechev commentedon Jun 24, 2018
Fixed in 4.4.1.