Typescript Error Duplicate identifier 'localforage'.

there is an Ionic project that can be run before, but the following error occurs after rerunning npm install.

Typescript Error Duplicate identifier "localforage".

I took a look. There are two places where Localforage is defined:
one is in the node_modules/@ionic directory

...ic/node_modules/@ionic/storage/node_modules/localforage/typings/localforage.d.ts

and

the other is in the node_modules directory

...ode/jiyuzhai/Shufadaquan_Ionic/node_modules/localforage/typings/localforage.d.ts

how to solve this kind of error? Do you want to delete one? I am not sure whether the deletion will affect the operation of the project, so I dare not delete it easily.


jiyuzhai/Shufadaquan_Ionic looks like a customized version of ionic, so your environment has two ionic coexisting?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e59d22-45566.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e59d22-45566.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?