-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Error during npm run build #1
Comments
Please post the content of your package.json file. |
Good Morning :-) First of all thanks for providing your work :-)
|
datatables.net-responsive gehört nicht in dependencies. ` ` |
Let me know if that solved your problem. |
sadly still the same issue...
|
npm audit meldet...
|
hat zwar nicht direkt was damit zu tun, aber trotzdem interessant |
Ja, ist mir bekannt. Der Autor von Bootbox ist da anderer Meinung. |
Just a few minutes ago, I installed this application as a new local project. Without any problems. For clarification, I added an installation section to the Read Me file. ` git clone https://github.com/MGeurts/laravel-11-bootstrap-5-datatables.git . cp .env.example .env make the needed changes regarding name, url, database connection & mail server composer install php artisan key:generate php artisan storage:link php artisan migrate:fresh --seed npm install & npm run build php artisan serve or npm run dev |
just trying a fresh new install |
verda,,te axt - schon wieder der selbe mist.. Beim ersten npm install & npm run build kam kein response von der Konsole. Nach Eingabe von Enter kam:
Beim 2. Versuch:
|
What node version are you using? What npm version are you using? |
node --version npm -v |
Latest node.js LTS v10.12.2 uses npm10.5.0 and not 10.5.2. Mayby rollback to npm 10.5.0 ? |
Stiil the same issue after rollback to 10.5.0. Think its enough for today. Thanks for helping and have good night :-) |
I think maybe, in a fresh project, do this in 2 seperate commands:
Is |
good morning :-)
files existing:
|
Your APP_URL in the .env file is incorrect. Maybe try http://mge.test/ |
cant do that, its on hetzner cloud |
i can give you the real app url, but wont post it here |
Are you developing online, not locally? I, as so many others, develop locally. So I do not have to compile online, only locally. |
tbh yes i do. I have also set up some dev environents on different computers ending up testing multiple projects directly online to find out whats closest to my needs before i dive deeper. Im quite new to laravel, node.js and try also to get some insight how things work. I have used only PHP, JavaScript/jquery with CodeIgniter before. Which dev environment do you prefer. Im working on Liunx and my Teammate on Windows. My last was 2 Bitnami/Laravel Docker Packages. Also Sail or Vagrant seem to be common. Homestead is supported by Windows and Linux and mabye thats the way i should go |
I have to work on Windows due to my customers working in Windows environments. |
I'm closing this issue. Please open a new issue if there should still be a problem. |
vite v5.2.9 building for production...
✓ 3 modules transformed.
x Build failed in 41ms
error during build:
Error: [vite]: Rollup failed to resolve import "dataTables.net-responsive" from "/var/www/mge/resources/js/datatables.js".
The text was updated successfully, but these errors were encountered: