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
{{ message }}
Repository navigation
Cannot register device to <API>/1.1/installations #642
leancloud-installation was updated 4 years ago and targeted leancloud-storage@3. Things has been significantly changed since the last update.
The error message suggested (Promise)#finally is not defined. This is not expected as you are using the latest RN. Another guess is that another leancloud-storage@3 was auto installed as a peerDependencies of leancloud-installation。You can check if it is true by npm ls leancloud-storage。
If It is not the case, would you please provide a minimal reproducable example? Thanks.
❯ npm ls leancloud-storage
sun-trip-app@0.0.1 /Users/xxxxxxxxxxx/Documents/Projects/xxxxxxxxxxx/app
├─┬ leancloud-installation@2.0.1
│ └── leancloud-storage@4.10.1 deduped invalid
└── leancloud-storage@4.10.1 invalid
npm ERR! code ELSPROBLEMS
npm ERR! invalid: leancloud-storage@4.10.1 /Users/xxxxxxxxxxx/Documents/Projects/xxxxxxxxxxx/app/node_modules/leancloud-storage
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/xxxxxxxxxxx/.npm/_logs/2021-05-20T06_55_01_219Z-debug.log
Activity
leeyeh commentedon May 18, 2021
Which version of RN are you using?
Royovo commentedon May 20, 2021
react 17.0.1
react-native 0.64.0
leeyeh commentedon May 20, 2021
leancloud-installationwas updated 4 years ago and targetedleancloud-storage@3. Things has been significantly changed since the last update.The error message suggested
(Promise)#finallyis not defined. This is not expected as you are using the latest RN. Another guess is that anotherleancloud-storage@3was auto installed as a peerDependencies ofleancloud-installation。You can check if it is true bynpm ls leancloud-storage。If It is not the case, would you please provide a minimal reproducable example? Thanks.
Royovo commentedon May 20, 2021
Here is the output. Why it is invalid?