I recently acquired an outdated AngularJs application that still relies on the legacy tools: bower and grunt.
Upon executing grunt serve --reload
, I encounter the following warning message:
WARNING: You are currently running a version of TypeScript which is not officially supported by typescript-eslint-parser.
You may find that it works just fine, or you may not.
SUPPORTED TYPESCRIPT VERSIONS: ~2.3.2
YOUR TYPESCRIPT VERSION: 2.2.2
Please only submit bug reports when using the officially supported version.
It's strange because I have a recent version of Typescript installed:
tsc --version
Version 4.1.3
I assume that Typescript is installed locally. Is this possible?
How can I verify the versions of the installed tools (tsc
and eslint
)?
What is the process for upgrading? Is it worth it?
EDIT: Dependency list
> npm list
<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="84e2ebebc4b5b2aab5b3aab5b6">[email protected]</a> /Users/llaporte/workspace/foo
├── @types/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="4e2f20293b222f3c632f2027232f3a2b0e7f607b6077">[email protected]</a>
├── @types/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="ff9e91988a939e8dd2989a8b8b9a878bbfcdd1ced1cccd">[email protected]</a>
├── @types/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="13727d74667f72613e7e726776617a727f53223d223d262b">[email protected]</a>
├── @types/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="5e3f30392b323f2c732d3f30372a37243b1e6f706d7069">[email protected]</a>
├── @types/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="e5848b8290898497c8908cc8978a90918097a5d4cbd4cbd1d5">[email protected]</a>
├── @types/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="53323d34263f322113627d657d6760">[email protected]</a>
├── @types/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="9df8eeabb0eef5f4f0ddadb3aeacb3aea8">[email protected]</a>
├── @types/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="b3d9d2c0dedaddd6f3819d8b9d85">[email protected]</a>
├── @types/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="610b101404131821534f514f5558">[email protected]</a>
├── @types/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="eb998a868f8aabdbc5d9dec5deda">[email protected]</a>
├── @types/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="f98c979d9c8b8a9a968b9cd78a8d8b90979eb9c9d7c9d7cac9">[email protected]</a>
├── @types/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="51243f35342322323e233411607f697f66">[email protected]</a>
├── @types/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="afdaddc6c5dcef9e819e9a819c99">[email protected]</a>
├── @typescript-eslint/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="8feafce3e6e1fba2ffe3fae8e6e1cfbba1bebba1bd">[email protected]</a>
├── @typescript-eslint/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="4a3a2b38392f380a7e647b7e6478">[email protected]</a>
├── <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="87e0f5f2e9f3aae5e6f5c7b6a9b5a9b7">[email protected]</a> (git+http://xxx/xxx/grunt-bar.git#a6b7624aeea9ea324e92a9e8971feb67ab9d0346)
└── <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="24505d54415747564d545064100a150a17">[email protected]</a>
EDIT: grunt version
I am currently using an "older" version of grunt:
> grunt --version
grunt-cli v0.1.13
grunt v0.4.5