jumpfm
jumpfm copied to clipboard
Building error
I'm trying to install the app on Debian 11 OS, unfortunately I'm getting the error bellow. Any idea? npm: 7.5.2 node: 12.22.5
node_modules/@types/node/index.d.ts:62:11 - error TS2300: Duplicate identifier 'IteratorResult'.
62 interface IteratorResult<T> { }
~~~~~~~~~~~~~~
../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2015.iterable.d.ts:41:6
41 type IteratorResult<T, TReturn = any> = IteratorYieldResult<T> | IteratorReturnResult<TReturn>;
~~~~~~~~~~~~~~
'IteratorResult' was also declared here.
../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2015.iterable.d.ts:41:6 - error TS2300: Duplicate identifier 'IteratorResult'.
41 type IteratorResult<T, TReturn = any> = IteratorYieldResult<T> | IteratorReturnResult<TReturn>;
~~~~~~~~~~~~~~
node_modules/@types/node/index.d.ts:62:11
62 interface IteratorResult<T> { }
~~~~~~~~~~~~~~
'IteratorResult' was also declared here.
I changed global prefix to ~/.npm, but the error remains..