nstudio / nativescript-pulltorefresh

:recycle: NativeScript plugin for PullToRefresh controls
Other
144 stars 27 forks source link

Wrong version being downloaded by default #70

Open Whip opened 4 years ago

Whip commented 4 years ago

tns plugin add @nstudio/nativescript-pulltorefresh command by default is installing v3.0.0 which I'm not even seeing in the release section. This of course causes the app to crash with error

> Module '@nstudio/nativescript-pulltorefresh' not found for element '@nstudio/nativescript-pulltorefresh:PullToRefresh'.

tns plugin add @nstudio/nativescript-pulltorefresh@1.0.1 works fine which is the latest version currently. Not sure where its puling 3.0.0 from.

bradmartin commented 4 years ago

3.0.0 is pulled from NPM https://www.npmjs.com/package/@nstudio/nativescript-pulltorefresh. You might need to clean your local project by deleting node_modules, platforms, hooks directories and then installing and building the app fresh.

Whip commented 4 years ago

I did do that but I'll try again tomorrow and let you know.

Does Github updates after a delay?