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

Composer files seem to be out of date #114

Open
kiwiFella opened this issue May 3, 2022 · 0 comments
Open

Composer files seem to be out of date #114

kiwiFella opened this issue May 3, 2022 · 0 comments

Comments

@kiwiFella
Copy link

kiwiFella commented May 3, 2022

Instructions on this page Lesson Content say to run "composer install" in each "lesson-begin" directory.

However running composer install (or composer update) fails to load dependencies & install completely and creates errors when running in browser... it appears that the composer file settings are significantly out of date - Running "composer install" says it's out of date... then running "composer update" writes to the composer.json file to include the old "mysite" + "mysite/code" directories under "extra -> project-files-installed" ... even thou the silverstripe/lessons git repo's folder structure has already been changed from mysite to app (the composer file appears to create a mysite directory and write to the composer.json file)

This creates an error when trying to run silverstripe-lessons in the browser...

Fatal error: Uncaught Exception: There are two files containing the "Page" class: "C:\www\silverstripe-lessons-v4\Lesson-04-begin/app/src/Page.php" and "C:\www\silverstripe-lessons-v4\Lesson-04-begin/mysite/code/Page.php"

These lessons are an amazing learning resource - please update them so we can continue to enjoy learning SS.

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

1 participant