Title: How can I fix Laravel Mix without Laravel UI in Laravel 8?
Tags: laravel;npm;laravel-mix;laravel-fortify
Question: I get the following error when I use Laravel Mix, that is when I run ```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 &quot;Laravel Mix&quot; -pipeName \.\pipe\notifierPipe- b68a9c48-faee-4b5b-abf8-3030e5663f34 -p
C:\Users\AsemaN\Desktop\AryaBMS\node_modules\laravel-mix\icons\laravel.png
-m &quot;Error: Error: Can't resolve 'C:\Users\AsemaN \Desktop\AryaBMS\resources\menu\bootstrap.min.css' in
'C:\Users\AsemaN\Desktop\AryaBMS'&quot; -t &quot;Laravel Mix&quot; npm ERR! code
ELIFECYCLE npm ERR! errno 1 npm ERR! robertfigueroa@example.com development: ```mix```
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the robertfigueroa@example.com
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! robertfigueroa@example.com dev:
```npm run development``` npm ERR! Exit status 1 npm ERR! npm ERR! Failed
at the robertfigueroa@example.com 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
```
Let me say that I do not use Laravel UI but I use Laravel Fortify
weboack.mix.js
```mix.js('resources/menu/bootstrap.min.js', 'public/menu/js')
    .postCss('resources/menu/bootstrap.min.css', 'public/menu/css')
```

Comment: "C:\Users\AsemaN \Desktop\AryaBMS\resources\menu\bootstrap.min.css" looks like there's a space there that shouldn't be there.



{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 0, 'CommentCount': 1, 'ContentLicense': 'CC BY-SA 4.0', 'CreationDate': '2021:00:12/15/21', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<laravel><npm><laravel-mix><laravel-fortify>', 'Title': 'How can I fix Laravel Mix without Laravel UI in Laravel 8?', 'ViewCount': 179, 'id': 70360494, 'user_AboutMe': '', 'user_AccountId': 22182729.0, 'user_DisplayName': 'user16426192', 'user_Reputation': 23.0, 'user_Views': 11.0, 'user_id': 16426192.0}}