Get 2024 Templates Mega Bundle!$1000 worth of 19 Bootstrap HTML, Vue & React Templates + 3 Vector Sets for just $99
Get for 99$

remove laravel/sanctum and need to use laravel/passport


Hi,

I downloaded the latest release metronic_laravel_v8.2.3 which is used "laravel/sanctum": "^3.3". I want to use laravel/passport and want to remove laravel/sanctum.

I tried with this command: composer remove laravel/sanctum. After executing this command try to run "npm run dev" and then get some error.

so my issue is: how to remove "laravel/sanctum": "^3.3" from the latest release v8.2.3
and then the second question is if I remove the sanctum and install laravel/passport package in that case login will work or not?

if not work login then what should I modify?

Thanks


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (3)


The warning you're seeing after running npm run dev is related to compiling SCSS files and can be safely ignored. However, if you prefer to suppress the warning, you can add the following configuration to your webpack.mix.js file:

mix.webpackConfig({
//....
stats: {
warnings: false
}
});



Hi Razib Ahmed

Sorry for the delay in response. Thank you for letting us know about the issue. We will double-check it. This issue is seems specifically happens in Windows.
Do you get any specific errors when running npm run dev?

Thank you



Hi,
after executing the 'npm run dev' i am getting bellow warning msg:

1 WARNING in child compilations (Use 'stats.children: true' resp. '--stats-children' for more details)
webpack compiled with 1 warning


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(