Troubleshoot unable to loads Laravel Nova 4 #4127
Locked
crynobone
announced in
Tips & Tricks
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Nova 4 always forced to download via GitHub source
Failed to download laravel/nova from dist: /vendor/laravel/nova does not exist and could not be created. Now trying to download from source
Scenario
This should be limited to those upgrading from Nova 3 to Nova 4 where Nova 3 previously using Zip Download.
Solution
Delete
vendor
directory and runcomposer update
.Cannot read properties of undefined (reading 'forEach')
Scenario
This should be limited to those upgrading from Nova 3 to Nova 4.
Possible cause and solution
From existing reports, this may happen when an application was updated without completing the required changes from Nova 4 Upgrade Guide
Please ensure all
fields()
method under Action classes has been updated to:Cannot read properties of undefined (reading 'use')
Scenario
Using Laravel Nova 4 with Cloudflare Rocket Loader
Possible Solution
You can create a custom Page Rule to exclude all Nova-related assets. See https://support.cloudflare.com/hc/en-us/articles/218411427
Beta Was this translation helpful? Give feedback.
All reactions