Git Product home page Git Product logo

Comments (5)

amanganiello90 avatar amanganiello90 commented on June 20, 2024

Hi @venkataramkishore,
Now you can try with your jdl if the bug is resolved.
Follow the CONTRIBUTING.MD and checkout on feature/no-maven branch for the generator-jhipster-nodejs

from generator-jhipster-nodejs.

venkataramkishore avatar venkataramkishore commented on June 20, 2024

Hi @amanganiello90,
Following are the steps i have followed:

git clone
cd generator-jhipster-nodejs
generator-jhipster-nodejs>git branch --list
*master
generator-jhipster-nodejs>git checkout --track -b feature/no-maven
generator-jhipster-nodejs>git pull
Already up-to date
generator-jhipster-nodejs>git branch --list
*feature/no-maven
master
generator-jhipster-nodejs>cd generator-jhipster-nodejs
generator-jhipster-nodejs> npm install
generator-jhipster-nodejs> npm link generator-jhipster

cd..
cd myproject
myproject>jhipster import-jdl .jh --blueprint nodejs

** I have new error cannot find module 'read-pkg-up'**

image

image

image

image

from generator-jhipster-nodejs.

amanganiello90 avatar amanganiello90 commented on June 20, 2024

Hi @venkataramkishore,
the last commands are wrong. Following these:

    git clone
    cd generator-jhipster-nodejs
    generator-jhipster-nodejs>git branch --list
    *master
    generator-jhipster-nodejs>git checkout --track -b feature/no-maven
    generator-jhipster-nodejs>git pull
    Already up-to date
    generator-jhipster-nodejs>git branch --list
    *feature/no-maven
    master
    generator-jhipster-nodejs>cd generator-jhipster-nodejs
    generator-jhipster-nodejs> npm install
    generator-jhipster-nodejs> npm link 

    cd..
    cd myproject
    myproject>npm link generator-jhipster
    myproject>npm link generator-jhipster-nodejs
    myproject>jhipster import-jdl <your-jdl>.jh --blueprint nodejs

I tested with my-example.jh.
I have commented enums because in sqlite are not supported.

from generator-jhipster-nodejs.

venkataramkishore avatar venkataramkishore commented on June 20, 2024

when generating it takes sqllite only for development, no other choice yet. I have enums for my entities to generate. As you suggest enum doesnot work
I still have tried your steps with enums in jdl and i have the following error

image

from generator-jhipster-nodejs.

amanganiello90 avatar amanganiello90 commented on June 20, 2024

Hi @venkataramkishore ,
before npm link you have to perform npm install on generator-jhipster-nodejs and generator-jhipster projects.
Then, I will check and track the prodDatabase choose in another issue. I close this. Thanks.

from generator-jhipster-nodejs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.