- Edited
therealsujitk it may not find infra.js
file in your @flarum/cli
package.
try uninstall and reinstall again
therealsujitk it may not find infra.js
file in your @flarum/cli
package.
try uninstall and reinstall again
datlechin infra.js
exists in /opt/node/lib/node_modules/@flarum/cli/lib/commands/audit/
how to use flarum-cli commands. I mean what parameter pass [PATH] variable in cli command
sudo flarum-cli init [PATH]
βΊ ModuleLoadError: [MODULE_NOT_FOUND] require failed to load
βΊ /usr/local/lib/node_modules/flarum/cli/lib/commands/init.js
βΊ Code: MODULE_NOT_FOUND
I'm now also seeing this problem since updating from 1.0.0
to 2.0.0-beta.13
- did you find a solution in the end?
IanM just released a new version, are you still running into issues?
askvortsov just updated to 2.0.0-beta.14
- so far so good. I'll let you know if I run into any further issues - thank you
askvortsov Maybe I spoke too soon
I see this error currently:
flarum-cli make backend api-controller
βΊ ModuleLoadError: [MODULE_NOT_FOUND] require failed to load
βΊ /home/linuxbrew/.linuxbrew/lib/node_modules/@flarum/cli/lib/commands/make/backend/api-controller.js
βΊ Code: MODULE_NOT_FOUND
Justoverclock you neee to run composer update
in Flarum folder
datlechin done but no effect
E:\Xampp\htdocs\flarum-12\flarum>composer update
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
Generating autoload files
79 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
Justoverclock I had the same problem as you, I run the command composer update
and it works
datlechin not work for me unfortunately i will wait for another release
edit, i've rewrited all the files manually, now works and i don't know why
@datlechin have you 2.0.0-beta.14 version installed?
did u noticed an error on github branch?
Justoverclock I am using beta13, haven't tried beta14
IanM Nope, I haven't tried it after that. I needed it for a PR, but then I just submitted it without the check .
I know it's something I'm doing wrong but after updating Flarum CLI to the latest version, I go to build an extension, answer all the prompts, it says it's done, but... nothing was built. Nothing is in the extension folder in my workbench. Flarum CLI v1.0 worked just fine for me.
This is just me right? The latest version is working OK for others?
010101 not working for me also. Exiting on GitHub branch question
Hey all, sorry for the issues on the latest betas. I'll try to get these fixed sometime next week.
askvortsov No rush. Iβm just happy itβs not just me. Usually, it is something I did wrong.
askvortsov without flarum-cli i'm dead