X18N1001: Plugin could not be loaded
Plugin could not be loaded. Install the plugin package, or check the path.
Message
[X18N1001] Plugin could not be loaded <detail>
├▶ fix: Install the plugin package, or check the path.
╰▶ see: https://x18n.antfu.dev/errors/x18n1001The CLI prints the code and why the error happened, with details such as a file name or a field. The fix and a link to this page follow. With --json, the same parts are in errors of the envelope.
What to do
x18n failed to load a plugin from plugins or presets.
- If the specifier is a package name, install the package in the project.
- If it is a path, make sure that it is relative to the config file and that the file exists.
- Make sure that the module exports a plugin, a preset, or a function that returns one.
Exit code
The CLI exits with code 2.