I am having some troubles after executing my angular application with npm start
, 'ChainExpression' & 'ImportExpression'members of ESTree interface are not exported causing errors...
Please check image below:
I am using Angular 12
and next node dependencies in my package.json, please see below:
{
...
"@types/node": "12.11.1",
"eslint": "7.10.0",
"ts-node": "8.3.0",
"tslib": "2.2.0",
"tslint": "6.1.0",
"typescript": "4.2.4",
...
}
Do you have any idea about this problem? I will appreciate any kind of help.
I had the same problem and could see there was a problem with my node modules @types: eslint was referring to ChainExpression and ImportExpression which were missing from estree. compared these with a new angular12 project and then fixed by updating my estree like so:
npm install @types/[email protected]
I had the same problem running typedoc.
This fixed it.
npm install @types/estree@latest
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With