Running Ionic commands whilst "ionic serve" is running - node.js

Just getting started with Ionic 2. When i have the app running in NodeJS, I cannot seem to add commands such as "ionic g providers myapi" - I assume these can only be entered when ionic serve is not running?
Also previously using Ionic1 I could stop ionic serve using quit in the CLI, but there seems to be no way of typing anything when ionic serve is running in the NodeJS console. So I have to currently do a hard close andd re-start the NodeJS application (I am running on Windows 8)

Related

reactjs app not run after serve and start

I just installed node.js on my centos 7 server, then install react
it successfully created my new react app, after that, I run:
npm start
and or serve -s build
but none of these run in my browser.
This site can’t be reached
how can I solve this?
If you have sever inside can you try with start debugging of your application
Stop npm, if you're using yarn
Start the project with command above, inside your project home folder
yarn start
Take some time to learn commands below:

Adonis serve --dev command is instantly stopped after running in ubuntu 18.04

Recently i'm trying to using ubuntu 18.04 instead of windows 10.
The same project in adonis, in windows i run the command:
adonis serve --dev
Now, when i do a adonis serve --dev the command not persist and is like the terminal cancel the nodemon and i can't access my api because the server is not running.
renatop#renatop-Aspire-E5-574:~/Área de Trabalho/DEV/bkp/x/x/x$ adonis serve --dev
SERVER STARTED
renatop#renatop-Aspire-E5-574:~/Área de Trabalho/DEV/bkp/x/x/x$
I'm doing something wrong?

How to add npm start as service in windows

I have nodejs project and need to run my node project as windows service. I tried nssm but it is not working. I often use linux . Is there another way to run "npm start" as service in windows without using nssm.

Output of React Native packager on Linux

I see no output of React Native packager on Linux (Ubuntu 17.04) and react-native 0.51.0 even though it is running.
A teammate uses Windows 10 and after react-native run-android he gets a new window with output from the packager.
Is there a way to see the packager's output ?
Before running react-native run-android try running react-native start in a different terminal, this command will start the packager manually.
PS: react-native run-android is optional if you didn't change one of native android files, you can just start the packager and then reload the already installed app.

NodeJS Application stops instantly after start

I am trying to run a NodeJS application on Windows 7. It was created on a MacOSX and it worked fine, started it on a CentOS too and it's OK, but when I run it on Windows with
npm start
Node spits out the usual starting of a line:
C:\Git\My.App.2014>npm start
> MyApp#0.0.1 start C:\Git
> node ./bin/www
C:\Git\My.App.2014>
And instead of running the server, it just stops instantly. Any ideas?

Resources