GithubHelp home page GithubHelp logo

Comments (4)

danielpetisme avatar danielpetisme commented on August 12, 2024

Can you provide a reproducer please.
I'm on a Mac and I can't reproduce the issue but a friend who is using Windows share the same concern.
We need more details to troubleshoot.

@BananeGuimauve you're using Windows too? Did you face the issue?

from jhipster-dotnetcore.

BananeGuimauve avatar BananeGuimauve commented on August 12, 2024

I just pull it and tested it on my personal computer at my home and it works too. Both computers are on Windows 10.
I will explain you a reproducer :

  1. I go into my blueprint folder
  2. I use "npm link" command
  3. Now I create a new folder for example on my Desktop where I will generate the app and I go into
  4. I use "npm link generator-jhipster-dotnetcore" command
  5. Now, I obtain a node_modules folder containing this file tree to the generator-jhipster needles :
    generator-jhipster-dotnetcore\node_modules\generator-jhipster\generators\client\needle-api/needle-client*.js
    That's the path I use to modify the needles in the 9057f62 commit in the file "generators/client/index.js". The lines are, for each needle modified :
  • 96, 108
  • 120, 132
  • 144, 156
  • 168,184
  1. After, I call the blueprint with "jhipster -d --blueprint dotnetcore" command and add entities with "jhipster -d --blueprint dotnetcore entity bankAccount" for example and it works.

from jhipster-dotnetcore.

ivanmonteiro avatar ivanmonteiro commented on August 12, 2024

I just pull it and tested it on my personal computer at my home and it works too. Both computers are on Windows 10.
I will explain you a reproducer :

  1. I go into my blueprint folder
  2. I use "npm link" command
  3. Now I create a new folder for example on my Desktop where I will generate the app and I go into
  4. I use "npm link generator-jhipster-dotnetcore" command
  5. Now, I obtain a node_modules folder containing this file tree to the generator-jhipster needles :
    generator-jhipster-dotnetcore\node_modules\generator-jhipster\generators\client\needle-api/needle-client*.js
    That's the path I use to modify the needles in the 9057f62 commit in the file "generators/client/index.js". The lines are, for each needle modified :
  • 96, 108
  • 120, 132
  • 144, 156
  • 168,184
  1. After, I call the blueprint with "jhipster -d --blueprint dotnetcore" command and add entities with "jhipster -d --blueprint dotnetcore entity bankAccount" for example and it works.

With commit 90d3406 everything is working fine. But with more recent commits only Java files are generated. My guess is that this blueprint is NOT being called on more recent commits.
I used the method of Running local Blueprint version for development to test it on Windows 10, Node v10.16.0 LTS and jHipster v6.1.2
I will try the install method using npm install with the github url and report here soon.

from jhipster-dotnetcore.

BananeGuimauve avatar BananeGuimauve commented on August 12, 2024

I managed to reproduce your problem by cloning the project and make a new "npm link".
Thanks @ivanmonteiro, thanks to you I found the commit and the line causing the problem.
In the commit 5392089 a needed dependancy "to-pascal-case": "^1.0.0" in package.json has been deleted. I think @danielpetisme and me didn't noticed it before because the dependancy was already installed localy and that didn't cause the crash of the blueprint. It's only with your issue and by creating a new clone of the project and a new installation than we encountered the problem.
Thank you, I will make a PR closing the issue now. :)

from jhipster-dotnetcore.

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.