Using
VSCode v1.17.1
Workspace typescript v2.5.3
Workspace Angular v4.4.4
instead of showing template validation messages, language service extension is showing below error
"Cannot read property 'isSkipSelf' of null"

probably related to #183
Can you produce a project that reproduces this and supply a link to the repository?
Also facing this and it's happening in a lot of places. Renders the whole service unusable in the template, and very obtrusive.
@chuckjaz do you still need repro?
it will take me sometime to get this setup on repo. basically this is happening when you reference package libraries that are part of your repo and we update master tsconfig paths section to setup the definitions.
Ex: tsconfig
"compilerOptions": {
"target": "es5",
"module": "system",
"moduleResolution": "node",
"sourceMap": true,
"pretty": true,
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"noImplicitAny": true,
"noImplicitReturns": true,
"noImplicitUseStrict": false,
"noFallthroughCasesInSwitch": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"removeComments": false,
"suppressImplicitAnyIndexErrors": true,
"declaration": false,
"watch": false,
"noEmitHelpers": true,
"baseUrl": ".",
"paths": {
"@xyz/uxd": [
"app/xyz/uxd/public_api"
]
},
"types": [
"node",
"core-js",
"systemjs",
"jquery",
"custom",
"jasmine"
]
}
Any news on this? it's annoying :(
Seems related to https://github.com/angular/angular/issues/9332
This stopped happening after updating everything to latest. @matheo maybe check that you have updated the language service extension.
Just run on the same error
turns out I had error inside one of my custom components, it was mistake in import statement in TS file
after fixing the component TS import, the template error was gone
it would be nice to have better error message in this case
@mrahhal I had the latest extension version
but I had to install "@angular/language-service": "^5.2.8" on my Angular 4.4 app to make it work :)
Thanks!
Happened to me after moving a component and some classes to a different folder.
After fixing the imports the issue disappeared. (same as @myflowpl )
I disabled/reloaded and enabled/reloaded Angular Language Service and the error disappeared
IDEA 2018.1

I get the same error in VS Code (most recent version).
Using WebStorm, uninstalling @angular/language-service from the project fixed the problem (and no functionality seems to be lost)
Didn't work for me unfortunately in WebStorm
I have the isSkipSelf when building a library
same error here on a random file... any way to diagnose?
I was able to solve my issue installing the peerDependencies in the project containing my library. Somehow angular or material are interfering
Write the full dependency path(instead of reading it from a folder) which resolves my issue in Angular 6
import {YourService} from "../../services/your-service-name.service"
This error started happening randomly on a project (and templates that haven't been modified since) that was working perfectly with VS Code previous version.
Previously restarting the TS Server was enough to have the error disappear. This command is only available while in a TS file.
This is extremely disruptive.
For me unmet peer dependencies caused the problem. After installing them and restarting window everything is resolved.
I got the same issue after installed "Paste JSON as Code" extension in Visual Code. Disabled this extension fix for me the problem.
It happened to me today after adding a new dependency. Deleting node_modules and re-installing the packages solved it.
Just restart your machine after install all the dependencies.
I disabled/reloaded and enabled/reloaded Angular Language Service and the error disappeared
worked for me!!!
As others have said, the error is probably coming from somewhere else, it's just an unhelpful error message. What helped me, was running the native TS compiler (npx tsc) to see if there were any unresolved imports or similar (and fixing those).
Please tell me how to disable whatever it is that is causing the rendering of the red squigglies in my code.
I would rather not have the protection, than be forced to ignore the false negatives
Today I saw this error after confusing an @Input() parameter with a constructor parameter. I.e., it should have been
typescript
@Input()
public title: string;
constructor() {}
but for some reason I wrote
constructor(public title: string) {}
Is it possible to generate a more helpful message in this case?
The original issue Cannot read property "isSkipSelf" of null has been fixed in https://github.com/angular/angular/pull/30075
Just close your vs code editor and reopen.It worked for me.
Restart VS Code solved the error for me, not sure what happen but it just disappeared
How I was able to solve this problem was to update the import statement for a service in my component file, please check your imports :)
Check that all modules in your template file with the error are imported. That was my mistake.
One more "it worked for me" tip: Make sure baseUrl set correctly in tsconfig.json e.g ./src or whatever the case may be.
Close and reopen the VSCode
This was fixed in https://github.com/angular/angular/pull/30075
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._
Most helpful comment
I disabled/reloaded and enabled/reloaded Angular Language Service and the error disappeared