question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failure on fresh jhipster 4.9.0 generated Monolithic app

See original GitHub issue

After generating a simple monolithic app where I added the generator-jhipster-primeng from the marketplace nothing showed up in the menus. Ie. no “primeng” menu. Then I ran “yo jhipster-primeng” 1.0.5 and specified theme “Omega” and “Component groups” and selected all components. This cause the generator to specify the following output:

`WARNING the function copyExternalAssetsInWebpack is missing, you need to add the missing resource path in webpack.common.ts:

  • inside CopyWebpackPlugin function of webpack.common.ts file: { from: ‘./src/main/webapp/content/primeng’, to: ‘content/primeng’} WARNING the function addExternalResourcesToRoot is missing, you need to add the missing resource path in the head section of index.html file: Add the resources- <script src="https://code.jquery.com/jquery-2.2.4.min.js"></script> <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/fullcalendar/3.1.0/fullcalendar.min.css"> <script src="https://www.google.com/recaptcha/api.js?render=explicit&onload=initRecaptcha" async defer></script> <script src="https://cdn.quilljs.com/1.0.0/quill.js"></script>
    <script type="text/javascript" src="https://maps.google.com/maps/api/js?key=AIzaSyA6Ar0UymhiklJBzEPLKKn2QHwbjdz3XV0" ></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.13.0/moment.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/fullcalendar/3.1.0/fullcalendar.min.js"></script>

The File src/main/webapp/content/scss/vendor.scss doesn’t exist!`

After running “./mvnw” nothing showed up. While keeping this process running, I started “npm start” and saw more components being downloaded/compiled. Finally I received this error: ERROR in ./src/main/webapp/app/primeng/data/gmap/gmapdemo.component.scss Module parse failed: /Users/tchristensen/Projects/tryouts/jhipster/brazil/src/main/webapp/app/primeng/data/gmap/gmapdemo.component.scss Unexpected token (5:0) You may need an appropriate loader to handle this file type. | */ | | .dimensions{ | width:100%; | height:400px; @ ./src/main/webapp/app/primeng/data/gmap/gmapdemo.component.ts 120:21-57 @ ./src/main/webapp/app/primeng/data/gmap/index.ts @ ./src/main/webapp/app/primeng/data/gmap/gmapdemo.module.ts @ ./src/main/webapp/app/primeng/primeng.module.ts @ ./src/main/webapp/app/app.module.ts @ ./src/main/webapp/app/app.main.ts @ multi (webpack)-dev-server/client?http://localhost:9060 webpack/hot/dev-server ./src/main/webapp/app/app.main

With the two processes running, I see no difference in the ui and no additional menus in either.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:18 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
thomaschristensencommented, Oct 17, 2017

Using npm install and npm start instead of yarn install and yarn start works! Deleted all in node_modules and used npm instead or yarn.

0reactions
sudheerjcommented, Oct 17, 2017

That’s strange. Anyway I will check that issue with Yarn.

Read more comments on GitHub >

github_iconTop Results From Across the Web

jhipster/generator-jhipster - Gitter
I've used JHipster 1 year ago to generate a monolithic application, but it seems that JHipster has evolved a lot since that time....
Read more >
Managing server errors - JHipster
JHipster generates a Single-Page Application (SPA), but it still requires custom error pages for people who do not (or cannot) access the application....
Read more >
Newest 'jhipster-registry' Questions - Page 3 - Stack Overflow
I've generated microservice application through jHipster 4.9.0. My UAA server is running on port 9999 and gateway on 8080 these microservices are connected ......
Read more >
How To Login Through Gateway Jhipster 4.9.0 Microservice ...
How To Login Through Gateway Jhipster 4.9.0 Microservice Architechture. I'm posting a data from a nodejs app(localhost:8085) to the Gateway Failed to load ......
Read more >
JHipster 3.0: Introducing Microservices - Ippon Technologies
The soon to be released version of JHipster introduces a new ... As the monolithic application is the app generated by previous versions, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found