Plugin generated with "strapi generate" command is not found

I have generated a typescript plugin with strapi generated. I have build the plugin within its folder. I have added it to the plugins.ts file. It is not recognized at all.

config/plugins.ts

export default () =>
  ({ env }) => ({
    upload: {
      config: {
        provider: "aws-s3",
        providerOptions: {
          accessKeyId: env("AWS_ACCESS_KEY_ID"),
          secretAccessKey: env("AWS_ACCESS_SECRET"),
          region: env("AWS_REGION"),
          params: {
            ACL: env("AWS_ACL", "public-read"),
            signedUrlExpires: env("AWS_SIGNED_URL_EXPIRES", 15 * 60),
            Bucket: env("AWS_BUCKET"),
          },
        },
        actionOptions: {
          upload: {},
          uploadStream: {},
          delete: {},
        },
      },
    },
    "alphasophia-deploy": {
      enabled: true,
      resolve: "./src/plugins/alphasophia-deploy",
    },
    // ...
  });

This topic has been created from a Discord post (1281591894148907079) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

I just tested and it worked as expected, what version of Strapi are you on.