Comments (8)
@NiteshDas, FYI, Here is the updated method. You can try using local master branch, I have not tried it though.
https://github.com/jhipster/jhipster.github.io/pull/730/files
Just follow your error and replace the old: getJhipsterAppConfig with the new: getAllJhipsterConfig in the index.js of the generator node_module.
Afterwards my App (though it was a flutter app) did build.
Thanks @pmverma
from generator-jhipster-ionic.
@NiteshDas, FYI, Here is the updated method. You can try using local master branch, I have not tried it though.
https://github.com/jhipster/jhipster.github.io/pull/730/files
from generator-jhipster-ionic.
It has been removed in https://github.com/jhipster/generator-jhipster/pull/9384/files
from generator-jhipster-ionic.
I am also getting this error on jhipster version 6.0.0. Is there any workaround until we get a fix ?
from generator-jhipster-ionic.
from generator-jhipster-ionic.
This issue is still with Jhipster 5 and ionic 3. Are there any other reason for this error.
from generator-jhipster-ionic.
@NiteshDas That seems strange since the PR that removes it has a 6.0.0-beta.0 milestone.
I just tried creating an app with JHipster 5.8.2.
npm install -g [email protected]
I used blog.jh to create it.
mkdir blog
cd blog
jhipster import-jdl ~/Downloads/blog.jh
Then I used this module to create a new Ionic app.
$ yo jhipster-ionic
WARNING! This method is deprecated. Use getAllJhipsterConfig
Welcome to the Ionic Module for JHipster! v3.3.0
? What do you want to name your Ionic application? ionic4j
? Enter the directory where your JHipster app is located: blog
Creating Ionic app with command: ionic start ionic4j oktadeveloper/jhipster
✔ Preparing directory ./ionic4j - done!
⠏ Looking up starter
[ERROR] Unable to find starter template for oktadeveloper/jhipster
If this is not a typo, please make sure it is a valid starter template within the starters repo:
https://github.com/ionic-team/starters
events.js:170
throw er; // Unhandled 'error' event
^
TypeError: Cannot set property 'author' of undefined
at module.exports.install (/usr/local/lib/node_modules/generator-jhipster-ionic/generators/app/index.js:153:28)
As you can see, I don't get the same error. This error happens because I'm using Ionic 4 CLI.
$ ionic --version
4.12.0
If I change it to Ionic 3, it works:
$ npm i -g [email protected]
$ yo jhipster-ionic
WARNING! This method is deprecated. Use getAllJhipsterConfig
Welcome to the Ionic Module for JHipster! v3.3.0
? What do you want to name your Ionic application? ionic4j
? Enter the directory where your JHipster app is located: blog
Creating Ionic app with command: ionic start ionic4j oktadeveloper/jhipster
✔ Looking up starter - done!
✔ Downloading and extracting oktadeveloper/jhipster starter - done!
? Would you like to integrate your new app with Cordova to target native iOS and Android? No
✔ Personalizing ionic.config.json and package.json - done!
Installing dependencies may take several minutes.
✨ IONIC DEVAPP ✨
Speed up development with the Ionic DevApp, our fast, on-device testing mobile app
- 🔑 Test on iOS and Android without Native SDKs
- 🚀 LiveReload for instant style and JS updates
️--> Install DevApp: https://bit.ly/ionic-dev-app <--
> npm i
⠙ Running command
from generator-jhipster-ionic.
See my comment you don't have to downgrade to Ionic3
from generator-jhipster-ionic.
Related Issues (20)
- Rename cypress files extension to cy.ts to follow cypress 10 and jhipster 7.9.3 standards
- Replace ionic-native with awesome-cordova-plugins. HOT 4
- Update ionic-appauth to released version. HOT 2
- Investigate to reuse main generator components
- Error when creating entity in frontend HOT 3
- Error getting when try to create entity in front end HOT 4
- Getting error when try to create new entity HOT 2
- Error when generating the code if the jdl file has an entity with no fields HOT 5
- Conflict when an entity has two image fields HOT 5
- JWT Token issue HOT 2
- Release 8.1.0 HOT 2
- jhipster server and jhipster-ionic App Continuous Integration HOT 3
- OneToOne Relationship with jdl doesn't work HOT 8
- CORS Error HOT 12
- Are you sure you added CORS information in the correct part of `application.yml`? You might look at the [`application-dev.yml` template](https://github.com/jhipster/generator-jhipster/blob/main/generators/server/templates/src/main/resources/config/application-dev.yml.ejs#L292) to see where it should be.
- Oauth2 Social Sign-In In Android App
- Migrate to JHipster v8 HOT 5
- Release new version with Node 18 support HOT 3
- npx ionic capacitor add ios. is throwing an issue below HOT 1
- Update to angular 17 and update implementation to new angular standards. HOT 14
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 generator-jhipster-ionic.