Skip to content
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

begin domains list command fails if there is an esm plugin in the project #162

Closed
ryanbethel opened this issue Aug 12, 2023 · 4 comments
Closed

Comments

@ryanbethel
Copy link
Contributor

Trying to list domains in a project where there is an esm plugin fails. This is a known bug for running the project with begin dev. But it does not seem like the domains list command should need to run the project in order to list domains.

➜  otsd-app git:(main) ✗ begin update
Checking for latest version
Downloading https://dl.begin.com/releases/latest/begin-x64-darwin.zip (30.57 MiB)
Got 30.57 MiB of 30.57 MiB (100%)
Upgrading Begin to 0.17.0
Updated /Users/ryanbethel/.begin/begin
Successfully upgraded Begin!
➜  otsd-app git:(main) ✗ begin domains list
Error: Plugin error:
- Unable to load plugin 'authentication': ESM plugins not yet supported in Begin; for more information please see https://github.com/vercel/pkg/issues/1291
    at getPluginModules (/snapshot/cli/node_modules/@architect/inventory/src/config/pragmas/plugins.js)
    at getPluginModulesCallbackified (node:util:306:5)
    at architectInventory (/snapshot/cli/node_modules/@architect/inventory/src/index.js)
    at action (/snapshot/cli/src/commands/domains/index.js)
    at runCommand (/snapshot/cli/src/commands/index.js)
    at begin (/snapshot/cli/src/index.js)
    at Object.<anonymous> (/snapshot/cli/src/index.js)
    at Module._compile (pkg/prelude/bootstrap.js:1926:22)
    at Module._extensions..js (node:internal/modules/cjs/loader:1166:10)
    at Module.load (node:internal/modules/cjs/loader:988:32)
➜  otsd-app git:(main) ✗
@ryanbethel
Copy link
Contributor Author

@tbeseda Just curious if you have run into this or am I holding it wrong?

@ryanbethel
Copy link
Contributor Author

@tbeseda Just wondering if you saw this?

@ryanblock
Copy link
Member

ryanblock commented Aug 26, 2023

I believe this would be expected per #154, no?

We have to read the project (including running Inventory) to get the appID to touch the API.

@macdonst
Copy link
Member

Closing this one as it is the same root cause as #154.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants