Hi team - been seeing this error when trying to se...
# ask-questions
c
Hi team - been seeing this error when trying to set up auto-attr plugin
Copy code
Type error: Cannot find module '@growthbook/growthbook/plugins' or its corresponding type declarations.
any tips? i'm doing:
Copy code
import { autoAttributesPlugin } from '@growthbook/growthbook/plugins';
...
      plugins: [autoAttributesPlugin()],
...
and i'm on:
Copy code
ā”œā”€ @growthbook/growthbook-react@1.5.1
└─ @growthbook/growthbook@1.5.1
h
I had the same issue, the Plugin is not TypeScript ready.
šŸ‘ 1
f
I dont think that is correct
you may just have to import the types
we use typescript so I know the auto-attr works