Skip to content
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

Symfony 5 Demo #14

Open
tacman opened this issue Apr 29, 2020 · 4 comments
Open

Symfony 5 Demo #14

tacman opened this issue Apr 29, 2020 · 4 comments

Comments

@tacman
Copy link

tacman commented Apr 29, 2020

I've updated my fork of this repo to Symfony5. Not sure the best way to submit a PR for this, but here it is for testing and feedback:

https://github.com/tacman/AdminLTEBundle-Demo/tree/symfony5

The significant differences:

  • FOSUserBundle isn't supported in Symfony5, so the demo uses the MakerBundle command to create the authentication configuration, the user entity, and login and registration forms.
  • The WebServerBundle is no longer available, use the Symfony Command Line instead.

@kevinpapst Do you want to support both Symfony 4 and Symfony 5 demos?

@kevinpapst
Copy link
Owner

Yes, definitely both version should be supported.
I assume that most users still use Symfony 4 and I want to demo that.
But having a second branch would work.
I can create one and you send a PR against that branch?

@tacman
Copy link
Author

tacman commented Apr 30, 2020 via email

@victorarocha
Copy link

Hi. I can't install the Demo application on Symfony 5. It throws many errors starting with:

yarn install

yarn install v1.22.10
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
warning "@symfony/webpack-encore > [email protected]" has incorrect peer dependency "webpack@^4.0.0".
warning " > [email protected]" has unmet peer dependency "bootstrap@>=3.0.0".
warning " > [email protected]" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
warning " > [email protected]" has unmet peer dependency "webpack@^4.36.0 || ^5.0.0".
[4/4] 🔨 Building fresh packages...
[-/2] ⠂ waiting...
error /Users/victorarocha/Sites/adminlte-bundle-demo/node_modules/node-sass: Command failed.
Exit code: 1
Command: node scripts/build.js

Can you please help me with suggestions?

@Abdou741
Copy link

Abdou741 commented Aug 8, 2021

Hi @victorarocha ,
You need to use this command yarn add node-sass
After that, you can use yarn install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants