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

Cannot find module '@ioc:EidelLev/Stardust/Middleware' #18

Open
anuj-jaryal opened this issue Nov 28, 2022 · 2 comments
Open

Cannot find module '@ioc:EidelLev/Stardust/Middleware' #18

anuj-jaryal opened this issue Nov 28, 2022 · 2 comments

Comments

@anuj-jaryal
Copy link

anuj-jaryal commented Nov 28, 2022

I am getting error while build for production.
screenshot-nimbusweb me-2022 11 28-16_59_12
screenshot-nimbusweb me-2022 11 28-17_00_32

@therealbenzene
Copy link

replace with this
() => import('@eidellev/adonis-stardust/build/middleware/Stardust'),

@luffynando
Copy link

In your tsconfig.json add on compilerOptions types:

{
  "compilerOptions": {
    //...
    "types": [
      // Another types
      "@eidellev/adonis-stardust"
    ]
  }
}

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