You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Errors throwed when installing rn-webview-rpc from npm.
Windows CMD doesn't support cp -r dist/* .
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `cp -r dist/* .`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Dell\AppData\Roaming\npm-cache\_logs\2020-04-09T15_15_34_677Z-debug.log
But something confuses me is when I check git://github.com/ronhe/comlink.git, you know, "postinstall" doesn't exist in the packages.json. Is this something magic...?
Sorry for poor grammar.
The text was updated successfully, but these errors were encountered:
Hi @Asuka109,
First, please note that WebView api is deprecated both in iOS and Android, so I advise you not to use it for new projects.
Seconds, notice #dist at the end of git://github.com/ronhe/comlink.git#dist. It means that the comlinkjs dependency is installed from the dist branch where the postinstall script exists.
Third, to solve your error easily, you can run npm install rn-webview-rpc inside a console emulator, such as cmder or Git BASH.
Errors throwed when installing rn-webview-rpc from npm.
Windows CMD doesn't support
cp -r dist/* .
But something confuses me is when I check git://github.com/ronhe/comlink.git, you know, "postinstall" doesn't exist in the packages.json. Is this something magic...?
Sorry for poor grammar.
The text was updated successfully, but these errors were encountered: