cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco error after update

olesea
Champ on-the-rise
Champ on-the-rise

Hello,

I updated alfresco 2.4.010 to 2.5.0 and I did exactly as it suggests in the article.

After I run the application after the update  I receive this error.

ERROR in node_modules/@alfresco/adf-core/utils/file-utils.d.ts(18,13): error TS2304: Cannot find name 'WebKitFileEntry'.

Does anyone know how to fix it?

1 ACCEPTED ANSWER

dvuika
Star Collaborator
Star Collaborator

You have probably installed the most recent version of typescript instead of the one coming with the project.

See this article for more details on deprecated features in typescript 3: Breaking Changes · Microsoft/TypeScript Wiki · GitHub 

View answer in original post

5 REPLIES 5

dvuika
Star Collaborator
Star Collaborator

You may have an outdated version of Typescript, try running "npm i -D typescript@latest" in your project

olesea
Champ on-the-rise
Champ on-the-rise

I did run it, and I have the same problem.

dvuika
Star Collaborator
Star Collaborator

You have probably installed the most recent version of typescript instead of the one coming with the project.

See this article for more details on deprecated features in typescript 3: Breaking Changes · Microsoft/TypeScript Wiki · GitHub 

sai401
Champ in-the-making
Champ in-the-making

I am also facing same issue. 

Please see the Denys Vuika‌ Comment above