Blank page on startup and cannot find module webpack in Jhipster app - maven

I generated a jhipster app, when I run the mvn command it starts up with no exceptions or errors but when I go to the localhost:8080 I get a blank page.
When I try to run “yarn start” I get an error :
cannot find module webpack.
I’ve run the command:
npm install
and
npm install —save-dev webpack
But I still get the same error.

Related

Laravel runs dev assets nonmatter what on production server after I ran npm run dev accidentally

I ran npm run dev on the server with Laravel 9 using Vite and Tailwind. Now when I run npm run build it is still trying to load the css and javascript files from a domain 127.0.0.1. I can not get it back to reading the manifest.json in the build folder and loading those files.
npm run build runs without any errors,
however the npm run dev was throwing errors and I killed the process and double cheked using ps aux, and pkill commands.
I am lost.
nvm, for some reason the command
pkill npm
does not work I had to use
kill -9 [process-id]
and it worked.

Bootstrap does not load into my laravel project through building assets

This is because I am having problems with npm run dev.
I don't get any errors but I don't get the "webpack compiled successfully" message when I run npm run dev.
Here's what the terminal screen looks like when I run the command:
It crashes as shown in the screenshot without getting "webpack compiled successfully".
What do you advise me to do?

Error on Laravel after installing VueJS. Request failed with status 404

I am developing a small system with Laravel Framework 5.6.39 and everything was going well, until I installed Vue Js. When viewing in the browser, what should be displayed does not appear and the following appears in the console:
How can I solve this error?
I think you need to run:
npm run watch
After adding VueJS to your project you need to install all dependencies by executing:
npm install
Then you can either compile your assets onetime by executing:
npm run dev
Or start a watcher which compiles your assets automatically after detecting a filechange:
npm run watch
The compile process will generate the app.js file which is missing in your case. You can read more about this process or possibilities in laravel here (laravel docs about frontend).
After pulling your project you need to install all dependencies using
npm i
Then you can build it for development one-time using
npm run dev
Or for real-time updates
npm run watch
And when your project is ready for production
npm run prod

laravel mix not working and my localhost:8000 not work

I create a laravel project with vue js. At first I have created laravel new project and then command npm install. and then command npm run dev
When I command in windows powershell: npm run watch
then whole things are compiled and then When I change somehing in app.js in laravel project and save this file. There is no notice about laravel mix. Besides When I write in my web browser: localhost:8000
I can't see my project. I can see a error message: This site can’t be reached
How can I solve this problem.

Running 2 Meteor.js apps on the same computer causes error with npm packages

If I launch the first meteor project which uses npm packages via the meteor-npm package, followed by a second meteor project using the meteor-npm package, the first meteor project will suddenly have problem finding the npm packages right after the second meteor server has finished deploying:
Error: Can't find npm module 'mysql'. Did you forget to call 'Npm.depends' in package.js within the 'npm' package?
Restarting the first meteor server, the server output will show
npm: updating npm dependencies -- mysql...
And things will start working.
This problem happens everytime I have 2 meteor 0.7 servers running at the same time on the same system. Is there some problem with the setup/permissions of the npm packages?

Resources