EddyVerbruggen / nativescript-plugin-firebase

:fire: NativeScript plugin for Firebase
https://firebase.google.com
MIT License
1.01k stars 445 forks source link

nativescript plugin issue #1786

Open dhairya0704 opened 3 years ago

dhairya0704 commented 3 years ago

npm WARN deprecated prompt-lite@0.1.1: I wrote this module a very long time ago; you should use something else.

nativescript-plugin-firebase@9.0.2 postinstall D:\D&F\node_modules\nativescript-plugin-firebase node postinstall-hooks.js && node scripts/postinstall.js

Hook already installed: nativescript-plugin-firebase at location: D:\D&F\hooks\before-prepare Hook already installed: nativescript-plugin-firebase at location: D:\D&F\hooks\after-prepare D:\D&F\node_modules\nativescript-plugin-firebase\scripts\postinstall.js:4190 const supportsIOSModernBuildSystem = tnsVersionFull.indexOf("5.2.0-") > -1 || semver.gte(tnsVersionFull, "5.2.0"); ^

TypeError: Cannot read property 'indexOf' of undefined at Object. (D:\D&F\node_modules\nativescript-plugin-firebase\scripts\postinstall.js:4190:53) at __webpack_require__ (D:\D&F\node_modules\nativescript-plugin-firebase\scripts\postinstall.js:20:30) at D:\D&F\node_modules\nativescript-plugin-firebase\scripts\postinstall.js:66:18 at Object. (D:\D&F\node_modules\nativescript-plugin-firebase\scripts\postinstall.js:69:10) at Module._compile (internal/modules/cjs/loader.js:1063:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10) at Module.load (internal/modules/cjs/loader.js:928:32) at Function.Module._load (internal/modules/cjs/loader.js:769:14) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12) at internal/main/run_main_module.js:17:47 npm WARN @angular/common@8.0.0 requires a peer of rxjs@^6.4.0 but none is installed. You must install peer dependencies yourself. npm WARN @angular/core@8.0.0 requires a peer of rxjs@^6.4.0 but none is installed. You must install peer dependencies yourself. npm WARN @angular/forms@8.0.0 requires a peer of rxjs@^6.4.0 but none is installed. You must install peer dependencies yourself. npm WARN @angular/http@8.0.0-beta.10 requires a peer of @angular/core@8.0.0-beta.10+1.sha-a28b3e3 but none is installed. You must install peer dependencies yourself. npm WARN @angular/http@8.0.0-beta.10 requires a peer of @angular/platform-browser@8.0.0-beta.10+1.sha-a28b3e3 but none is installed. You must install peer dependencies yourself. npm WARN @angular/router@8.0.0 requires a peer of rxjs@^6.4.0 but none is installed. You must install peer dependencies yourself. npm WARN ajv-keywords@3.5.2 requires a peer of ajv@^6.9.1 but none is installed. You must install peer dependencies yourself. npm WARN codelyzer@4.5.0 requires a peer of @angular/compiler@>=2.3.1 <8.0.0 || >7.0.0-beta <8.0.0 but none is installed. You must install peer dependencies yourself. npm WARN codelyzer@4.5.0 requires a peer of @angular/core@>=2.3.1 <8.0.0 || >7.0.0-beta <8.0.0 but none is installed. You must install peer dependencies yourself. npm WARN nativescript-angular@5.0.0 requires a peer of @angular/platform-browser-dynamic@~5.0.0 but none is installed. You must install peer dependencies yourself. npm WARN nativescript-angular@5.0.0 requires a peer of @angular/common@~5.0.0 but none is installed. You must install peer dependencies yourself. npm WARN nativescript-angular@5.0.0 requires a peer of @angular/compiler@~5.0.0 but none is installed. You must install peer dependencies yourself. npm WARN nativescript-angular@5.0.0 requires a peer of @angular/core@~5.0.0 but none is installed. You must install peer dependencies yourself. npm WARN nativescript-angular@5.0.0 requires a peer of @angular/forms@~5.0.0 but none is installed. You must install peer dependencies yourself. npm WARN nativescript-angular@5.0.0 requires a peer of @angular/http@~5.0.0 but none is installed. You must install peer dependencies yourself. npm WARN nativescript-angular@5.0.0 requires a peer of @angular/platform-browser@~5.0.0 but none is installed. You must install peer dependencies yourself. npm WARN nativescript-angular@5.0.0 requires a peer of @angular/router@~5.0.0 but none is installed. You must install peer dependencies yourself. npm WARN nativescript-angular@5.0.0 requires a peer of rxjs@^5.5.0 but none is installed. You must install peer dependencies yourself. npm WARN nativescript-angular@5.0.0 requires a peer of zone.js@^0.8.4 but none is installed. You must install peer dependencies yourself. npm WARN nativescript-angular@5.0.0 requires a peer of typescript@~2.4.2 but none is installed. You must install peer dependencies yourself. npm WARN nativescript-drop-down@4.0.1 requires a peer of tns-core-modules@^4 but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules\watchpack\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! nativescript-plugin-firebase@9.0.2 postinstall: node postinstall-hooks.js && node scripts/postinstall.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the nativescript-plugin-firebase@9.0.2 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\dhairya.patel\AppData\Roaming\npm-cache_logs\2021-02-23T10_08_15_561Z-debug.log Unable to install dependencies. Make sure your package.json is valid and all dependencies are correct. Error is: Command npm.cmd failed with exit code 1