-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
fl make failed #37
Comments
Are you sure you have |
Yes I'm sure; |
I tried this way but no result, I don't know what's step wrong
|
I retried went this error |
I found the issue the namespace "Test\\Test" is wrong .
|
php7.4
flarum-li last version
`
root@4a29d7657b5b:/data/www/packages/test# flarum-cli make backend model
✔ Work in Flarum package located at /data/www/packages/test? … yes
✔ Model class name … Test
✔ Table name (Optional) … test
✔ Generate corresponding Migration? … yes
✔ Generate corresponding API Serializer? … yes
✔ Generate corresponding Validator? … yes
✔ Generate corresponding Repository? … yes
✔ Generate corresponding Policy? … yes
Error occurred, and could not complete:
Command failed: php /usr/local/lib/node_modules/@flarum/cli/php-subsystem/index.php
Error: Command failed: php /usr/local/lib/node_modules/@flarum/cli/php-subsystem/index.php
at StepManager.run (/usr/local/lib/node_modules/@flarum/cli/lib/boilersmith/step-manager.js:84:31)
at async Model.run (/usr/local/lib/node_modules/@flarum/cli/lib/base-command.js:57:21)
at async Model._run (/usr/local/lib/node_modules/@flarum/cli/node_modules/@oclif/core/lib/command.js:74:22)
at async Config.runCommand (/usr/local/lib/node_modules/@flarum/cli/node_modules/@oclif/core/lib/config/config.js:268:25)
at async Object.run (/usr/local/lib/node_modules/@flarum/cli/node_modules/@oclif/core/lib/main.js:78:5)
`
The text was updated successfully, but these errors were encountered: