You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: