When installing and running the project the interface NetworkInformation does not exist --> Error: node_modules/botframework-directlinejs/lib/directLineStreaming.d.ts:13:26 - error TS2304: Cannot find name 'NetworkInformation'. 13 networkInformation?: NetworkInformation; ~~~~~~~~~~~~~~~~~~
Activity
GusLAN commentedon Feb 26, 2024
+1
brolo1313 commentedon Mar 18, 2024
and what is solution? the same
igor-h commentedon May 10, 2024
I'm facing same issue:
Cannot find any solution.
I'm using Angular 16.2.
And Typescript 5.1.3
igor-h commentedon May 10, 2024
did you found any solution for it guys?
phyr0s Andrew Yupin (@brolo1313) Gustavo Lanza Duarte (@GusLAN)
phyr0s commentedon Nov 18, 2024
Hello, any information about this issue William Wong (@compulim) ?
Thanks
VilleFTW commentedon Jan 19, 2025
The same issue is encountered in Angular 17.3
As a temporary fix, you can install the following types
npm add -D network-information-typesThen, if you are using Angular, make sure to add it to your ts.config under compilerOptions
"types": [ "./node_modules/network-information-types" ]Else; then make sure you bundle the types along with the build
Tjitse commentedon Aug 5, 2025
Same issue and VilleFTW s workaround did not work