New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tns plugin add nativescript-plugin-firebase seems to hang forever #275
Comments
|
You're right, it must be the CLI blocking the prompts... Must be caused by the {N} 2.5.0 update. I assume you're using that. A workaround for folks encountering this would be to use {
"using_ios": true,
"using_android": true,
"remote_config": true,
"messaging": true,
"crash_reporting": true,
"storage": true,
"facebook_auth": true,
"google_auth": true
}Set anything you don't need to Then install the plugin. |
|
Oops yes I'm using NS 2.5.0; sorry I didn't mention that! (I filed this because I was worried that |
|
I'm not sure of the amount of sugar This nativescript-cli issue may be the cause, but I'm not sure yet. UPDATE: the issue/fix I linked to is not relevant; I just updated to nativescript@next (where that's merged) and it still hangs. |
|
Ah good lord note to self first check the repo of the plugin. Have been fighting with this for a couple of hours to get it to work lol :S |
|
@StudderVOF yeah it's a pity. Somehow the {N} 2.5 CLI broke the prompts I've now updated the plugin to not ask the questions during installation, and added a note to the doc how to run the setup script yourself. Will also file an issue with {N}. |
stuartlangridge commentedFeb 5, 2017
(on node 6.9.5, npm 3.10.10, Ubuntu 16.04)
The actual hang is happening when the tns code shells out to npm install. My speculation is that ns-p-firebase is asking initial configuration questions ("are you using iOS", that sort of thing) but tns isn't connecting it to the controlling terminal, so the tns plugin add command is hung waiting at an invisible question...
The text was updated successfully, but these errors were encountered: