sshateri

sshateri

Member Since 1 Year Ago

Experience Points
1,900
Total
Experience

3,100 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed
14
Lessons
Completed
Best Reply Awards
0
Best Reply
Awards
  • start your engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-in-session Created with Sketch.

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • subscriber Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • evangelist Created with Sketch.

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • chatty-cathy Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

Level 1
1,900 XP
Oct
24
1 day ago
Activity icon

Replied to Error While Compiling The Multiple Imported Stylesheet

that's the first thing I did but still the same problem. going through all the files to see whats the problem. It's a hectic job. there might be an @import in one of these files that the actual file doesn't exist.

Oct
23
2 days ago
Activity icon

Started a new Conversation Error While Compiling The Multiple Imported Stylesheet

I've included multiple stylesheets into my app.scss but the laravel mix is giving me a long error which I don't understand. all was working fine when there was only the first import (the bootstrap) but after i added the other stylesheets all broke down.

app.scss

@import '~bootstrap/scss/bootstrap',
    '/resources/scss/argon-design-system.scss',
    '/resources/css/argon-design-system.css',
    '/resources/css/argon-design-system.css.map',
    '/resources/css/argon-design-system.min.css',
    '/resources/css/custom-profile-edit.css',
    '/resources/css/custom-user-profile.css',
    '/resources/css/fa-fonts.css',
    '/resources/css/font-awesome.css',
    '/resources/css/nucleo-icons.css',
    '/resources/css/nucleo-svg.css';

webpack.mix.js

const mix = require('laravel-mix');

/*
 |--------------------------------------------------------------------------
 | Mix Asset Management
 |--------------------------------------------------------------------------
 |
 | Mix provides a clean, fluent API for defining some Webpack build steps
 | for your Laravel applications. By default, we are compiling the CSS
 | file for the application as well as bundling up all the JS files.
 |
 */

mix.js('resources/js/app.js', 'public/js')
    .sass('resources/scss/app.scss', 'public/css');

npm run dev error

> @ dev C:\laragon\www\codersCast
> npm run development


> @ development C:\laragon\www\codersCast
> cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js

98% after emitting SizeLimitsPlugin

 ERROR  Failed to compile with 2 errors                                                                       2:22:03 AM

 error  in ./resources/scss/app.scss

Module build failed (from ./node_modules/css-loader/index.js):
ModuleBuildError: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
SassError: Can't find stylesheet to import.
   ╷
18 │ @import "bootstrap/functions";
   │         ^^^^^^^^^^^^^^^^^^^^^
   ╵
  resources\scss\argon-design-system.scss 18:9  @import
  resources\scss\app.scss 2:5                   root stylesheet
    at C:\laragon\www\codersCast\node_modules\webpack\lib\NormalModule.js:316:20
    at C:\laragon\www\codersCast\node_modules\loader-runner\lib\LoaderRunner.js:367:11
    at C:\laragon\www\codersCast\node_modules\loader-runner\lib\LoaderRunner.js:233:18
    at context.callback (C:\laragon\www\codersCast\node_modules\loader-runner\lib\LoaderRunner.js:111:13)
    at C:\laragon\www\codersCast\node_modules\sass-loader\dist\index.js:56:7
    at Function.call (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:89862:16)
    at _render_closure1.call (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:79036:12)
    at _RootZone.runBinary (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:26612:18)
    at _FutureListener.handleError (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:25140:19)
    at _Future__propagateToListeners_handleError.callLARACASTS_SNIPPET_PLACEHOLDER (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:25437:49)
    at Object._Future__propagateToListeners (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:4502:77)
    at _Future._completeError (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:25270:9)
    at _AsyncAwaitCompleter.completeError (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:24613:12)
    at Object._asyncRethrow (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:4251:17)
    at C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:13112:20
    at _wrapJsFunctionForAsync_closure.$protected (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:4276:15)
    at _wrapJsFunctionForAsync_closure.call (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:24634:12)
    at _awaitOnObject_closure0.call (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:24626:25)
    at _RootZone.runBinary (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:26612:18)
    at _FutureListener.handleError (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:25140:19)
    at _Future__propagateToListeners_handleError.callLARACASTS_SNIPPET_PLACEHOLDER (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:25437:49)
    at Object._Future__propagateToListeners (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:4502:77)
    at _Future._completeError (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:25270:9)
    at _AsyncAwaitCompleter.completeError (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:24613:12)
    at Object._asyncRethrow (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:4251:17)
    at C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:15754:20
    at _wrapJsFunctionForAsync_closure.$protected (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:4276:15)
    at _wrapJsFunctionForAsync_closure.call (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:24634:12)
    at _awaitOnObject_closure0.call (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:24626:25)
    at _RootZone.runBinary (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:26612:18)
    at _FutureListener.handleError (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:25140:19)
    at _Future__propagateToListeners_handleError.callLARACASTS_SNIPPET_PLACEHOLDER (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:25437:49)
    at Object._Future__propagateToListeners (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:4502:77)
    at _Future._completeError (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:25270:9)
    at _AsyncAwaitCompleter.completeError (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:24613:12)
    at Object._asyncRethrow (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:4251:17)

 error  in ./resources/scss/app.scss

Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
SassError: Can't find stylesheet to import.
   ╷
18 │ @import "bootstrap/functions";
   │         ^^^^^^^^^^^^^^^^^^^^^
   ╵
  resources\scss\argon-design-system.scss 18:9  @import
  resources\scss\app.scss 2:5                   root stylesheet

 @ ./resources/scss/app.scss 2:14-253

     Asset     Size   Chunks             Chunk Names
/js/app.js  967 KiB  /js/app  [emitted]  /js/app

ERROR in ./resources/scss/app.scss
Module build failed (from ./node_modules/css-loader/index.js):
ModuleBuildError: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
SassError: Can't find stylesheet to import.
   ╷
18 │ @import "bootstrap/functions";
   │         ^^^^^^^^^^^^^^^^^^^^^
   ╵
  resources\scss\argon-design-system.scss 18:9  @import
  resources\scss\app.scss 2:5                   root stylesheet
    at C:\laragon\www\codersCast\node_modules\webpack\lib\NormalModule.js:316:20
    at C:\laragon\www\codersCast\node_modules\loader-runner\lib\LoaderRunner.js:367:11
    at C:\laragon\www\codersCast\node_modules\loader-runner\lib\LoaderRunner.js:233:18
    at context.callback (C:\laragon\www\codersCast\node_modules\loader-runner\lib\LoaderRunner.js:111:13)
    at C:\laragon\www\codersCast\node_modules\sass-loader\dist\index.js:56:7
    at Function.call (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:89862:16)
    at _render_closure1.call (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:79036:12)
    at _RootZone.runBinary (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:26612:18)
    at _FutureListener.handleError (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:25140:19)
    at _Future__propagateToListeners_handleError.callLARACASTS_SNIPPET_PLACEHOLDER (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:25437:49)
    at Object._Future__propagateToListeners (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:4502:77)
    at _Future._completeError (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:25270:9)
    at _AsyncAwaitCompleter.completeError (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:24613:12)
    at Object._asyncRethrow (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:4251:17)
    at C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:13112:20
    at _wrapJsFunctionForAsync_closure.$protected (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:4276:15)
    at _wrapJsFunctionForAsync_closure.call (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:24634:12)
    at _awaitOnObject_closure0.call (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:24626:25)
    at _RootZone.runBinary (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:26612:18)
    at _FutureListener.handleError (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:25140:19)
    at _Future__propagateToListeners_handleError.callLARACASTS_SNIPPET_PLACEHOLDER (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:25437:49)
    at Object._Future__propagateToListeners (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:4502:77)
    at _Future._completeError (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:25270:9)
    at _AsyncAwaitCompleter.completeError (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:24613:12)
    at Object._asyncRethrow (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:4251:17)
    at C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:15754:20
    at _wrapJsFunctionForAsync_closure.$protected (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:4276:15)
    at _wrapJsFunctionForAsync_closure.call (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:24634:12)
    at _awaitOnObject_closure0.call (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:24626:25)
    at _RootZone.runBinary (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:26612:18)
    at _FutureListener.handleError (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:25140:19)
    at _Future__propagateToListeners_handleError.callLARACASTS_SNIPPET_PLACEHOLDER (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:25437:49)
    at Object._Future__propagateToListeners (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:4502:77)
    at _Future._completeError (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:25270:9)
    at _AsyncAwaitCompleter.completeError (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:24613:12)
    at Object._asyncRethrow (C:\laragon\www\codersCast\node_modules\sass\sass.dart.js:4251:17)
 @ ./resources/scss/app.scss

ERROR in ./resources/scss/app.scss (./node_modules/css-loader??ref--5-2!./node_modules/postcss-loader/src??postcss0!./node_modules/resolve-url-loader??ref--5-4!./node_modules/sass-loader/dist/cjs.js??ref--5-5!./resources/scss/app.scss)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
SassError: Can't find stylesheet to import.
   ╷
18 │ @import "bootstrap/functions";
   │         ^^^^^^^^^^^^^^^^^^^^^
   ╵
  resources\scss\argon-design-system.scss 18:9  @import
  resources\scss\app.scss 2:5                   root stylesheet
 @ ./resources/scss/app.scss 2:14-253
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! @ development: `cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the @ 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\Dell\AppData\Roaming\npm-cache\_logs20-10-23T22_52_04_463Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! @ dev: `npm run development`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the @ 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\Dell\AppData\Roaming\npm-cache\_logs20-10-23T22_52_04_529Z-debug.log
Oct
20
5 days ago
Activity icon

Replied to Laravel Application To Production Server Deployment

It's a private VPS and Cloud provider. It's not one of the public ones like digitalocean, cloudways, or forge. they provide a bare VPS only with OS of choice installed. They have a panel for DNS management, linking domains, back up and such stuff but that's all. there should not be any difference between this provider or others like digitalocean since they are all linux VPS.

There are guides to how to install LEMP and deploy the Laravel application but I could not find any including the Laravel optimization after the deployment.

Oct
19
6 days ago
Activity icon

Started a new Conversation Laravel Application To Production Server Deployment

Hey everyone, I was looking for a complete guide to how to deploy the Laravel application (version 8 or at least 7) to the server but I could not find any. is there any complete guide for such operation including the Deployment from local machine to the server or from Git repository to the server, Nginx configuration for Laravel, optimization such as caching and autoloader, SSL configuration for Laravel, Laravel server security, Laravel corn jobs (scheduling), linking a domain to your Laravel application and other stuff that needs to be done on a Laravel production server?

Oct
10
2 weeks ago
Activity icon

Replied to Conditional Validation

well, thanks a lot. in fact you gave me somehow an idea of how to do it in a simpler way. I had in mind to make the 'username' unique before passing it to the validation if I could not find a way to do it with the validation method. more or less like your solution. I guess will go with this solution since I could not make it the way I had in mind which I guess was the hard way.

Activity icon

Replied to Conditional Validation

Thanks for the reply. that would work but what am I trying to figure out is to if the value is not unique how to not fail the whole validation process and return an error but instead add a random string to the value and check it again until it passes the validation.

Oct
09
2 weeks ago
Activity icon

Started a new Conversation Conditional Validation

Hey everyone, im trying to validate a field before putting it in the DB and the validation should be something like this:

check the "username" to see if the same value exists inside the DB. if it's unique then pass the validation and insert it into DB. and if it existed then add a random number to the end of the value then check again until it becomes a unique value then insert it into the DB.

i check the Laravel documentation about conditional validation but could not find what i was looking for. any guide or help would be appreciated.

Oct
08
2 weeks ago
Activity icon

Replied to Compiling Plain CSS Using Mix

apparently, you should give the full output filename to combine 2 files.

Activity icon

Replied to Compiling Plain CSS Using Mix

im trying to compile the following assets:

mix.js('resources/js/app.js', 'public/js')
    .sass('resources/scss/app.scss', 'public/css')
    .styles('resources/css/app.css', 'public/css');

but I'm getting the following errors:

> @ dev C:\Users\Dell\code\laravel-fortify
> npm run development


> @ development C:\Users\Dell\code\laravel-fortify
> cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js

C:\Users\Dell\code\laravel-fortify\node_modules\webpack-cli\bin\cli.js:93
                                throw err;
                                ^

AssertionError [ERR_ASSERTION]: mix.combine() requires a full output file path as the second argument.
    at Function.combine (C:\Users\Dell\code\laravel-fortify\node_modules\laravel-mix\src\Assert.js:50:9)
    at Combine.register (C:\Users\Dell\code\laravel-fortify\node_modules\laravel-mix\src\components\Combine.js:40:16)
    at Api.mix.<computed> [as styles] (C:\Users\Dell\code\laravel-fortify\node_modules\laravel-mix\src\components\ComponentFactory.js:98:53)
    at Object.<anonymous> (C:\Users\Dell\code\laravel-fortify\webpack.mix.js:16:6)
    at Module._compile (C:\Users\Dell\code\laravel-fortify\node_modules\v8-compile-cache\v8-compile-cache.js:194:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:791:14)
    at Module.require (internal/modules/cjs/loader.js:974:19)
    at require (C:\Users\Dell\code\laravel-fortify\node_modules\v8-compile-cache\v8-compile-cache.js:161:20)
    at Object.<anonymous> (C:\Users\Dell\code\laravel-fortify\node_modules\laravel-mix\setup\webpack.config.js:12:1)
    at Module._compile (C:\Users\Dell\code\laravel-fortify\node_modules\v8-compile-cache\v8-compile-cache.js:194:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:791:14)
    at Module.require (internal/modules/cjs/loader.js:974:19)
    at require (C:\Users\Dell\code\laravel-fortify\node_modules\v8-compile-cache\v8-compile-cache.js:161:20)
    at WEBPACK_OPTIONS (C:\Users\Dell\code\laravel-fortify\node_modules\webpack-cli\bin\utils\convert-argv.js:114:13)
    at requireConfig (C:\Users\Dell\code\laravel-fortify\node_modules\webpack-cli\bin\utils\convert-argv.js:116:6)
    at C:\Users\Dell\code\laravel-fortify\node_modules\webpack-cli\bin\utils\convert-argv.js:123:17
    at Array.forEach (<anonymous>)
    at module.exports (C:\Users\Dell\code\laravel-fortify\node_modules\webpack-cli\bin\utils\convert-argv.js:121:15)
    at C:\Users\Dell\code\laravel-fortify\node_modules\webpack-cli\bin\cli.js:71:45
    at Object.parse (C:\Users\Dell\code\laravel-fortify\node_modules\webpack-cli\node_modules\yargs\yargs.js:576:18)
    at C:\Users\Dell\code\laravel-fortify\node_modules\webpack-cli\bin\cli.js:49:8
    at Object.<anonymous> (C:\Users\Dell\code\laravel-fortify\node_modules\webpack-cli\bin\cli.js:366:3)
    at Module._compile (internal/modules/cjs/loader.js:1085:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:791:14)
    at Module.require (internal/modules/cjs/loader.js:974:19)
    at require (internal/modules/cjs/helpers.js:88:18)
    at Object.<anonymous> (C:\Users\Dell\code\laravel-fortify\node_modules\webpack\bin\webpack.js:156:2)
    at Module._compile (internal/modules/cjs/loader.js:1085:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32) {
  generatedMessage: false,
  code: 'ERR_ASSERTION',
  actual: false,
  expected: true,
  operator: '=='
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ development: `cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ 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\Dell\AppData\Roaming\npm-cache\_logs20-10-08T22_28_26_100Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ dev: `npm run development`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ 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\Dell\AppData\Roaming\npm-cache\_logs20-10-08T22_28_26_155Z-debug.log

and once i remove the

.styles('resources/css/app.css', 'public/css')

section everything works fine.

scss, scss-loader, css and css-loader modules are installed also.

Activity icon

Replied to Laravel Fortify Is Not Working

ok, I figured out if I don't use

@error('[field name]') is-invalid @enderror

for the input boxes the error message that I put for each input box simply doesn't show up. why is that?

the error message code:

@error('name')
    <span class="invalid-feedback is-invalid" role="alert">
           <strong>{{ $message }}</strong>
    </span>
 @enderror
Activity icon

Started a new Conversation Laravel Fortify Is Not Working

I was trying to test this new Fortify thingy without Jetstream but no matter what i do it just doesn't work. red all of the documentation and even watched some youtube tutorial but my code just doesn't work. no error at all but it doesn't work. it doesn't register user, login or redirect. i get a 200 and 302 return code but it doesn't redirect anywhere. I'm literally having a headache and cant figure out what is the problem.

can anyone take a look at this simple test code and tell me what am i doing wrong?

https://gitlab.com/sxshateri/laravel-fortify