Creating a app in Jhipster - jhipster

I am very new to all this.
I am trying to install jhipster and have installed all the software required.
What I am doing, what is happening and what is the problem?
Created an dir named myapplication
accessing the dir using sd myapplication
Typed Yo jhipster
I am getting this screen
The problem is I a, not able to use arrows to select from the type of application nor I am able to select the default option by clicking Enter.
Can anyone help?

If your node version is v8.x, then you could see bugs
, the simple workaround is to change your node version to v6.11.0(LTS).
Wish to help you.

Related

How to disable AutoComplete/Autosuggestion option in Sails Js CLI console?

I'm new in sails.js and i'm trying to start sails.js cli console (sails console). but there is one problem which i'm facing in the console which makes it difficult to use and that is autocomplete/autosuggestion option. i have attached a screenshot as an example of the cause. The problem is whenever i try to type something in the console the autosuggestion keeps pops up which makes remaining characters flyaway from the line.
I tried both in Mac Os terminal and Visual Studio Code terminal both resulted the same. I also tried checking for any configuration option in order to disable it but i couldn't find any. So it will be great help if anyone can help me to understand or a solution for this thanks in advance.
Node Version: v14.13.0
Sails Version: 1.2.4

Use range-datepicker package after adding it on package.json

I was wondering if somebody could help me with this issue, which hopefully will not be complicated.
I am running a project using Angular4, and I want to use this component.
https://www.npmjs.com/package/range-datepicker
I've tried to run bower install range-datepicker, but if then I use the <range-datepicker> tag in my project it won't recognise it.
In addition, I've added
"range-datepicker":"0.0.13"
to my package.json file, and running npm install it installs it and I can see the files in node_modules.
However, I still cannot use the <range-datepicker>, so I was wondering if someone can help me with this issue. I don't know if maybe I should add some script or style in my angular.json file
That library does not provide an Angular component, but rather a WebComponent.
WebComponents are usable in Angular, but you need to take care of a few extra things.
I suggest that you look for documentation on using WebComponents in Angular.
Here's one link to get you started: https://www.sitepen.com/blog/2017/09/14/using-web-components-with-angular/

Using NodeJS module in Titanium Studio

All, I am trying to using third party NodeJS SDK in Titanium Studio. However, I consistently encounter dependency issues, such as util.js, utils.js, ms.js, events.js etc. I tried to add the missing module manually, but it looks like it will become un-tractable as there are so many dependencies.
My questions are :
1. Is that possible to use NodeJS based SDK in Titanium Studio .
2. If so, what is the right approach to include the dependencies.
Thanks a lot!
Titanium can't get Coffee scripts to work natively (assuming you want to deploy the TitaniumWrapper.coffee). A possible solution you may want to try is hooking a plugin http://billdawson.com/titanium_coffee_script/ in order to pre-compile Coffee scripts.
You can also try to embed everything using a Tiwebview that wraps HTML to load mojio-js.js but you would still need to observe events mojio client (like replacing keys, login an user and create a few model instances).
Hope you find the info useful and can serve for further research.

How to import existing node.js module into Intellij IDEA?

I have an existing Node.js codebase, forked from GitHub. Now I want to import it to the Intellij IDEA 13 (ultimate version, which supports Node.js). When I simply try to import the project from the root folder of my existing code, IDEA doesn't add the 'lib' folder, where all the sources are. It should be simple, but I cannot figure it out. Any hints?
Well, I've figured out a workaround, but not sure if it's the best solution. One can just create a new project of type "Web", and point it to the directory containing the module's sources. Then IDEA understands the whole structure, and you can create run configurations with Node.js.
In order to get additional Node features, like Intellisense for standard Node APIs, you'll still want to configure the project to be a Node project:
Open the Preferences window
Click Languages & Frameworks → Node.js and NPM
In the section Coding Assistance you'll see if Node.js Core library is [not] enabled. If it is enabled, there's nothing more to do. If not click the Enable button
Leave For the whole project checked, and click Configure
The text should now change to Node.js Core library is enabled.
Another workaround:
If you have a version controlled Node app with no local changes, you could also create a new project of type "Node.js and NPM", point that to the directory. Then just use any standard settings.
After the project is created, you can just revert the files overwritten by IDEA (e.g. app.js and package.json), delete any new directories and files, and you will get the additional Node features in your project.
Intellij 15 Professional Edition:
Import a new project -> Select the base folder of the project -> choose import form existing source.
When Intellij is done it wont look correct so do the following:
1) Project Structure CMD + ;
2) Go to Modules
3) Add a new module and select Node/Npm (if you dont have it then add a new plugin)
4) Point the source of the project to the base folder and click apply.

Nwazet.Commerce doesn't show in Admin Page

I use Orchard 1.7.1, wanting to install E-commerce module.
I have downloaded the latest Nwazet.Commerce source code from bitbuket.
And I placed it in Modules folder.
Open WebMatrix. Click Admin.. There is not any menu being added.
ps.I have installed "Contrib.SecuredSocketLayer"
Question:
1.Should I change Orchard version?
2. Which way is the best to install module that has dependencies.
3. Which part controls Admin part in Orchard.. It confused me a lot.
Thanks.
I expected the same problem, I fix it in the code:
Missing reference for module Nwazet.Commerce : Orchard.MediaPicker
and you need to add "using Orchard.MediaPicker.Fields;" in file ShoppingCartController.cs
For me it fix the problem.

Resources