Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

styling seems to be screwed up #23

Closed
jimternet opened this issue Dec 3, 2017 · 9 comments
Closed

styling seems to be screwed up #23

jimternet opened this issue Dec 3, 2017 · 9 comments

Comments

@jimternet
Copy link

Fresh install -
upgraded jhipster
fresh install generator-jhipster-primeng
did yo jhipster-primeng
did npm install
./mvnw
yarn start
screen shot 2017-12-02 at 11 04 52 pm

@jimternet
Copy link
Author

whole screen is crazy long - clearly styling isn't working right.

@jimternet
Copy link
Author

screen shot 2017-12-02 at 11 29 34 pm

@sudheerj
Copy link
Owner

sudheerj commented Dec 3, 2017

Is it installed through npm or yarn? It looks like styles/themes missing. Have you added the scripts appeared in the interactive console. I can't replicate the issue with the latest version.

@jimternet
Copy link
Author

both? let me see if I can baseline -
What is the prefered way to install? Via the jhipster console or via npm?

@sudheerj
Copy link
Owner

sudheerj commented Dec 3, 2017

Okay,I always tried with npm.

@jimternet
Copy link
Author

I did it again and saw this line

Unable to find src/main/webapp/content/scss/vendor.scss or missing required jhipster-needle. Style not added to JHipster app.

@jimternet
Copy link
Author

 Which *type* of application would you like to create? Monolithic application (recommended for simple projects)
? What is the base name of your application? jhiptest
? What is your default Java package name? com.mycompany.myapp
? Do you want to use the JHipster Registry to configure, monitor and scale your application? No
? Which *type* of authentication would you like to use? JWT authentication (stateless, with a token)
? Which *type* of database would you like to use? SQL (H2, MySQL, MariaDB, PostgreSQL, Oracle, MSSQL)
? Which *production* database would you like to use? MySQL
? Which *development* database would you like to use? H2 with disk-based persistence
? Do you want to use Hibernate 2nd level cache? Yes, with ehcache (local cache, for a single node)
? Would you like to use Maven or Gradle for building the backend? Maven
? Which other technologies would you like to use? Search engine using Elasticsearch
? Which *Framework* would you like to use for the client? Angular 4
? Would you like to enable *SASS* support using the LibSass stylesheet preprocessor? Yes
? Would you like to enable internationalization support? Yes
? Please choose the native language of the application English
? Please choose additional languages to install Spanish
? Besides JUnit and Karma, which testing frameworks would you like to use? Gatling, Cucumber, Protractor
? Would you like to install other generators from the JHipster Marketplace? No

@jimternet
Copy link
Author

now I'm getting a different error

compiler.es5.js?524d:1690 Uncaught Error: Can't resolve all parameters for TranslateService: ([object Object], [object Object], [object Object], [object Object], ?).
    at syntaxError (compiler.es5.js?524d:1690)
    at CompileMetadataResolver._getDependenciesMetadata (compiler.es5.js?524d:15769)
    at CompileMetadataResolver._getTypeMetadata (compiler.es5.js?524d:15637)
    at CompileMetadataResolver._getInjectableMetadata (compiler.es5.js?524d:15623)
    at CompileMetadataResolver.getProviderMetadata (compiler.es5.js?524d:15914)
    at eval (compiler.es5.js?524d:15843)
    at Array.forEach (<anonymous>)
    at CompileMetadataResolver._getProvidersMetadata (compiler.es5.js?524d:15803)
    at eval (compiler.es5.js?524d:15378)
    at Array.forEach (<anonymous>)

@jimternet
Copy link
Author

ok - i think I have this figured out.

  1. install with NPM not yarn
  2. yo jhipster-primeng
  3. npm install
  4. yarn start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants