Comments (4)
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.
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 :
- I go into my blueprint folder
- I use "npm link" command
- Now I create a new folder for example on my Desktop where I will generate the app and I go into
- I use "npm link generator-jhipster-dotnetcore" command
- 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
- 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.
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 :
- I go into my blueprint folder
- I use "npm link" command
- Now I create a new folder for example on my Desktop where I will generate the app and I go into
- I use "npm link generator-jhipster-dotnetcore" command
- 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
- 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.
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)
- EntityFramework Core 7.0 upgrade HOT 1
- Upgrade to .NET 7 HOT 15
- Path Not Exported error HOT 2
- After creating an entity with command, the database does not recognize the entity. HOT 5
- Jhipster Dotnet Configuration issue HOT 1
- Jhipster dotnetcore Client generator HOT 1
- Cannot generate without interactive prompts HOT 1
- Unable to create OneToOne Relationships HOT 3
- [Dockerfile] Running from docker jhipster-generator-dotnetcore with error HOT 7
- node version conflict FATAL error HOT 3
- Failed to install the project HOT 1
- Pageable is trying to create the "Previous" property when page is 0 #18
- Migrate to JHipster v8 HOT 8
- Update to dotnet 8 HOT 5
- Display sonar result of the generated code
- Dependabot is not trigger on dotnet dependencies HOT 3
- Preference for primary key in JDL not respected HOT 4
- `Authorization failed` error in microservice when using gateway and microfrontends
- Angular Client InfiniteScroll requires non-generated Link Http Headers
- JHipster .NET Core: Entity regeneration fails after JDL import with --single-entity
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jhipster-dotnetcore.