درود و سلام بنده وقتی از لاراول میکس استفاده می کنم به ارور زیر بر می خورم یعنی وقتی npm run dev ران می کنم
ERROR in /menu/js/bootstrap.min
Module not found: Error: Can't resolve 'C:\Users\AsemaN\Desktop\AryaBMS\resources\menu\bootstrap.min.css' in 'C:\Users\AsemaN\Desktop\AryaBMS'
ERROR in /menu/js/bootstrap.min
Module not found: Error: Can't resolve 'C:\Users\AsemaN\Desktop\AryaBMS\resources\menu\bootstrap.min.js' in 'C:\Users\AsemaN\Desktop\AryaBMS'
webpack compiled with 2 errors
Notifications are disabled
Reason: DisabledForUser Please make sure that the app id is set correctly.
Command Line: C:\Users\AsemaN\Desktop\AryaBMS\node_modules\node-notifier\vendor\snoreToast\snoretoast-x64.exe -appID "Laravel Mix" -pipeName \\.\pipe\notifierPipe-
b68a9c48-faee-4b5b-abf8-3030e5663f34 -p C:\Users\AsemaN\Desktop\AryaBMS\node_modules\laravel-mix\icons\laravel.png -m "Error: Error: Can't resolve 'C:\Users\AsemaN
\Desktop\AryaBMS\resources\menu\bootstrap.min.css' in 'C:\Users\AsemaN\Desktop\AryaBMS'" -t "Laravel Mix"
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! AryaBMS@1.0.0 development: `mix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the AryaBMS@1.0.0 development script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\AsemaN\AppData\Roaming\npm-cache\_logs\2021-12-15T08_17_23_702Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! AryaBMS@1.0.0 dev: `npm run development`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the AryaBMS@1.0.0 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\AsemaN\AppData\Roaming\npm-cache\_logs\2021-12-15T08_17_24_017Z-debug.log
اینم بگم که از laravel ui استفاده نمی کنم و از Laravel fortify استفاده می کنم
اینم فایل weboack.mix.js
mix.js('resources/menu/bootstrap.min.js', 'public/menu/js')
.postCss('resources/menu/bootstrap.min.css', 'public/menu/css')
به احتمال زیاد مشکل از نحوه آدرس دهی فایل هاتون هست.
یک بررسی دقیق بکنید آیا در سیستمتون فایلی در این آدرس وجود داره:
C:\Users\AsemaN\Desktop\AryaBMS\resources\menu\bootstrap.min.css
به املا و بزرگ و کوچک بودن حروف هم دقت کنید!
@mhyeganeh مهندس خیر الان دوباره npm run dev زدم بازم این ارور داد
ERROR in /menu/js/bootstrap.min
Module not found: Error: Can't resolve 'C:\Users\AsemaN\Desktop\AryaBMS\resources\menu\bootstrap.min.css' in 'C:\Users\AsemaN\Desktop\AryaBMS'
ERROR in /menu/js/bootstrap.min
Module not found: Error: Can't resolve 'C:\Users\AsemaN\Desktop\AryaBMS\resources\menu\bootstrap.min.js' in 'C:\Users\AsemaN\Desktop\AryaBMS'
webpack compiled with 2 errors
Notifications are disabled
Reason: DisabledForUser Please make sure that the app id is set correctly.
Command Line: C:\Users\AsemaN\Desktop\AryaBMS\node_modules\node-notifier\vendor\snoreToast\snoretoast-x64.exe -appID "Laravel Mix" -pipeName \\.\pipe\notifierPipe-
659412d9-2809-4637-a5d3-2cd90347465b -p C:\Users\AsemaN\Desktop\AryaBMS\node_modules\laravel-mix\icons\laravel.png -m "Error: Error: Can't resolve 'C:\Users\AsemaN
\Desktop\AryaBMS\resources\menu\bootstrap.min.css' in 'C:\Users\AsemaN\Desktop\AryaBMS'" -t "Laravel Mix"
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! AryaBMS@1.0.0 development: `mix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the AryaBMS@1.0.0 development script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\AsemaN\AppData\Roaming\npm-cache\_logs\2021-12-15T08_58_20_457Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! AryaBMS@1.0.0 dev: `npm run development`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the AryaBMS@1.0.0 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\AsemaN\AppData\Roaming\npm-cache\_logs\2021-12-15T08_58_20_663Z-debug.log
فرقی نکرده متن ارورتون که!
آدرس دهی تون به فایل ها صحیح نیستند و میگه نمیتونم فایل مورد نظرتون رو پیدا کنم.
آیا مایل به ارسال نوتیفیکیشن و اخبار از طرف راکت هستید ؟