Code Monkey home page Code Monkey logo

Comments (12)

mraible avatar mraible commented on May 24, 2024 10

Ionic 4.0 was released today. I'll look into upgrading this module and its starter next week.

from generator-jhipster-ionic.

mraible avatar mraible commented on May 24, 2024 1

This module has not been updated for Ionic 4. It should work if you use Ionic 3.

from generator-jhipster-ionic.

mraible avatar mraible commented on May 24, 2024 1

This is your problem:

Just found a .yo-rc.json in a parent directory.

Are you trying to create your Ionic app in your JHipster app's directory? If so, this won't work. It needs to be on the same level as your JHipster app. For example:

/home/mraible
  - jhipster-app
  - ionic-app

If you're not creating it in your JHipster app, you probably have a stray .yo-rc.json that you need to remove from a parent directory.

from generator-jhipster-ionic.

Sirioxstar avatar Sirioxstar commented on May 24, 2024

it's OK!
Is an update planned for ionic 4?

from generator-jhipster-ionic.

mraible avatar mraible commented on May 24, 2024

Yes. I hope to update this module for Ionic 4 shortly after it's released.

from generator-jhipster-ionic.

Sirioxstar avatar Sirioxstar commented on May 24, 2024

it's ok!! Thanks!

from generator-jhipster-ionic.

MInesGomes avatar MInesGomes commented on May 24, 2024

They don't have tutorial template working for ionic 4. Tabs template yes, that is similar .

from generator-jhipster-ionic.

mraible avatar mraible commented on May 24, 2024

I've added Ionic 4 support on the master branch. To try it out, run the following commands:

git clone https://github.com/oktadeveloper/generator-jhipster-ionic.git
cd generator-jhipster-ionic
npm link

Then create a new app and try it out!

yo jhipster-ionic

from generator-jhipster-ionic.

direstrepo24 avatar direstrepo24 commented on May 24, 2024

Hi @mraible . i get hit error:
yo jhipster-ionic:entity Album

Just found a .yo-rc.json in a parent directory.
Setting the project root at: /Users/themakers/eohel/eohelstore
events.js:200
throw er; // Unhandled 'error' event
^

TypeError: Cannot read property 'directoryPath' of undefined
at EntityGenerator.loadConfig (/usr/local/lib/node_modules/generator-jhipster-ionic/generators/entity/index.js:37:101)
at Object. (/usr/local/lib/node_modules/generator-jhipster-ionic/node_modules/yeoman-generator/lib/index.js:647:25)
at /usr/local/lib/node_modules/generator-jhipster-ionic/node_modules/run-async/index.js:47:25
at new Promise ()
at /usr/local/lib/node_modules/generator-jhipster-ionic/node_modules/run-async/index.js:24:19
at self.env.runLoop.add.once.once (/usr/local/lib/node_modules/generator-jhipster-ionic/node_modules/yeoman-generator/lib/index.js:648:11)
at processImmediate (internal/timers.js:439:21)
at process.topLevelDomainCallback (domain.js:130:23)
Emitted 'error' event on EntityGenerator instance at:
at Immediate. (/usr/local/lib/node_modules/generator-jhipster-ionic/node_modules/yeoman-generator/lib/index.js:668:20)
at processImmediate (internal/timers.js:439:21)
at process.topLevelDomainCallback (domain.js:130:23)

I have installed:

from generator-jhipster-ionic.

direstrepo24 avatar direstrepo24 commented on May 24, 2024

ok, fine. But, i create a entity: yo jhipster-ionic:entity Album, and get this error Cannot GET /
ERROR in node_modules/@ng-bootstrap/ng-bootstrap/accordion/accordion.d.ts:191:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 191 set ngbPanelToggle(panel: NgbPanel);

from generator-jhipster-ionic.

mraible avatar mraible commented on May 24, 2024

If you downgrade your ng-bootstrap dependency to 5.3.0, does it solve your problem?

from generator-jhipster-ionic.

direstrepo24 avatar direstrepo24 commented on May 24, 2024

no, update a version 5.1 and already work.

from generator-jhipster-ionic.

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.