1THIS tip works :
2
3just delete package-lock.json file and then install package what you want all will works :-)
1//Remaining is same as before Android 10
2//Only this one extra attribute is required
3
4<application
5 android:requestLegacyExternalStorage="true">
1Have you created a package.json file? Maybe run this command first again.
2
3C:\Users\Nuwanst\Documents\NodeJS\3.chat>npm init
4
5It creates a package.json file in your folder.
6
7Then run,
8
9C:\Users\Nuwanst\Documents\NodeJS\3.chat>npm install socket.io --save
10
11The --save ensures your module is saved as a dependency in your package.json file.
1//Remaining is same as before Android 10
2
3
4<application
5 android:requestLegacyExternalStorage="true">
1//Remaining is same as before Android 10
2//Only this extra attribute is required
3
4<application
5 android:requestLegacyExternalStorage="true">