-
Notifications
You must be signed in to change notification settings - Fork 26
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
pocketbase version 0.24.3 no longer generates types #114
Comments
+1 |
Have you tried clearing the node_modules folder? The typegen is working fine on my end and here are my versions from package.json :
My pocketbase embed version: 0.24.4 |
i have cleared my node_modules folder and reinstalled using npm i/ npm update but can't seem to get it to work, im still on version 0.24.3 (pocketbase), the pocketbase js sdk "pocketbase": "^0.25.1", and "pocketbase-typegen": "1.3.0", still getting the error above. |
It seems is the issue using the .env file |
yup, you were right it was my env file. the slash at the end of the URL variable was what causing the issue, removing it and the typegen works fine. |
Describe the bug
pocketbase version 0.24.3 no longer generates types using the script "typegen": "npx pocketbase-typegen --out ./src/lib/types/pocketbase.d.ts --env"
Versions
pocketbase-typegen version: v1.3.0
pocketbase version: 0.24.3
The text was updated successfully, but these errors were encountered: