-
Notifications
You must be signed in to change notification settings - Fork 21
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
inspect error: autoloading breaking #121
Comments
Previously this command ran fine ... |
That's a tricky one. I presume your module is referencing Page or PageController from the global namespace? Is the module you are trying to upgrade installed in some other project with a Page and a PageController class? Or are you trying to upgrade it separately. We could try checking if Page/PageController exist before we inspect and dynamically require our own dummy Page/PageController if they aren't, but that is kind of dodgy. |
Thank you for looking at this. I am trying to upgrade the module by itself, but with a dummy mysite/app folder that contains a PageController and a Page (basically a vanilla SS4 install). Why are the Page and PageConttroller not autoloaded but all the other classes are (AFAIK)? |
Maybe try moving your Page/PageController files to the same folder containing your module's code. Or try updating your |
I have fixed it by running a dev/build first and then running it again (or something like this). This seems to solve it. |
I am trying to upgrade a module, but I am getting an error in inspect
The text was updated successfully, but these errors were encountered: