Closed miiihi closed 5 years ago
I think it's this part of the postinstall
script: npm i -g nativescript-app-sync-cli
.
Can you give 1.0.4 a spin? I've removed that command as it's already documented in the readme you should run this yourself anyway.
Agree, postinstall hook shouldn't do the global install. Will test soon.
Tested and confirmed as fixed. And kudos for one of the fastes fixes ever seen! Thanks!
And thanks you for the decent issue-report. That helped!
To recreate:
nativescript-app-sync
to the project (withtns plugin add nativescript-app-sync
The error looks the same as described here https://github.com/NativeScript/sidekick-feedback/issues/288, nativescript-app-sync's postinstall hook is trying to install something into '/usr/local/lib/node_modules', which it is not allowed...
Detailed sidekick log available here https://gist.github.com/miiihi/3967f3ced0210a1d7297fbfebc7e4016