WaspW
Wasp2y ago
Gwaggli

Missing "./auth/email" specifier in "wasp" package

I have a Page where I import { login} from wasp/auth/email which worked perfectly on Version 0.11.X but now renders [plugin:vite:import-analysis] Missing "./auth/email" specifier in "wasp" package error. What does this error mean? Where do i need to specify ./auth/email?

If i remove this import, the app renders just fine.

My Wasp file looks like this
app AppName {
  wasp: {
    version: "^0.12.0"
  },
  // ...
  auth: {
    userEntity: User,
    methods: {
      email: {
        fromField: {
          name: "Name",
          email: "email@email.com",
        },
        emailVerification: {
          clientRoute: EmailVerificationRoute,
        },
        passwordReset: {
          clientRoute: PasswordResetRoute,
        },
      }
    },
    onAuthFailedRedirectTo: "/login"
  },
  // ...
}


Ps: does it maybe make sense to add a Tag Migration to these questions here?
Was this page helpful?