Angular 10.2.0 not supported yet?
antonio-castellon opened this issue · comments
Hello,
Courrently I have the following application running in Angular 10.2.0
...
"@angular/cli": "^10.2.0",
"@angular/compiler-cli": "^10.2.0",
"@angular/language-service": "^10.2.0",
...
"codelyzer": "^5.1.2",
...
But for my surprise, I cannot install the last version of Plotly because it's stuck to the 10.0.0
> npm install angular-plotly.js plotly.js
npm WARN tar EINVAL: invalid argument, futime
npm WARN tar EINVAL: invalid argument, futime
npm WARN tar EINVAL: invalid argument, futime
npm WARN codelyzer@5.2.2 requires a peer of @angular/compiler@>=2.3.1 <10.0.0 || >9.0.0-beta <10.0.0 || >9.1.0-beta <10.0.0 || >9.2.0-beta <10.0.0 but none is installed. You must insta
ll peer dependencies yourself.
npm WARN codelyzer@5.2.2 requires a peer of @angular/core@>=2.3.1 <10.0.0 || >9.0.0-beta <10.0.0 || >9.1.0-beta <10.0.0 || >9.2.0-beta <10.0.0 but none is installed. You must install p
eer dependencies yourself.
npm WARN keycloak-angular@7.3.1 requires a peer of @angular/common@>= 9.0.0 < 10 but none is installed. You must install peer dependencies yourself.
npm WARN keycloak-angular@7.3.1 requires a peer of @angular/core@>= 9.0.0 < 10 but none is installed. You must install peer dependencies yourself.
npm WARN keycloak-angular@7.3.1 requires a peer of @angular/router@>= 9.0.0 < 10 but none is installed. You must install peer dependencies yourself.
npm WARN keycloak-angular@7.3.1 requires a peer of tslib@^1.10.0 but none is installed. You must install peer dependencies yourself.
npm ERR! code ENOENT
npm ERR! syscall rename
npm ERR! path D:\app\node_modules\hsluv
npm ERR! dest D:\app\node_modules\.hsluv.DELETE
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, rename 'D:\app\node_modules\hsluv' -> 'D:\app\node_modules\.hsluv.D
ELETE'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
Any way to use it in 10.2.0 at least?
Best regards
Antonio
Hello @antonio-castellon , it doesn't look like an error on angular-plotly.js
nor plotly.js
themselves, but with the current installation of the node_modules
.
Seeing the error message (no such file or directory, rename 'D:\app\node_modules\hsluv'-> 'D:\app\node_modules\.hsluv.DELETE'
) I googled and see that, sometimes, the dependency installation might break for no reason. Please check this thread: TryGhost/node-sqlite3#900 (comment)
Another point is, update keycloak-angular
to use version 8.x which is the one recommended to angular 10.x (see: https://www.npmjs.com/package/keycloak-angular/v/8.0.1)
Gonna close this issue, but feel free to reopen if you have more issues/doubts 😸