Property 'Prisma' does not exist on type 'typeof import()'; opengb dev

I am trying to init a new project via OpenGB CLI, started it with opengb init rivet, next added the friends module via opengb module add friends. After this I ran the opengb dev cmd and ran into the following tracebacks in the image. OS: Mac Sonoma 14.4.1 Deno Version: 1.43.4 TypeScript Version: 5.4.5
No description
12 Replies
Nathan
Nathan•2y ago
hmm i could've swore i just fixed this can you try:
deno install --global --name opengb --force --allow-net --allow-read --allow-env --allow-run --allow-write --allow-sys https://raw.githubusercontent.com/rivet-gg/opengb/b10d15875b793d69bcad4b286d7ecceeaec82182/src/cli/main.ts
opengb clean
opengb dev
deno install --global --name opengb --force --allow-net --allow-read --allow-env --allow-run --allow-write --allow-sys https://raw.githubusercontent.com/rivet-gg/opengb/b10d15875b793d69bcad4b286d7ecceeaec82182/src/cli/main.ts
opengb clean
opengb dev
brendanthebigboi
brendanthebigboiOP•2y ago
Yeah 1 min Running
brendanthebigboi
brendanthebigboiOP•2y ago
No description
Nathan
Nathan•2y ago
GitHub
uploads module should function with default config · Issue #90 · ...
Motivation Users should not be required to connect S3 to run a dev cluster. Users depends on the uploads module, but it may not be configured. Implementation Throw a runtime error if s3 is not conf...
Nathan
Nathan•2y ago
GitHub
opengb-registry/tests/basic/backend.yaml at 04-24-feat_users_update...
Official registry for OpenGB modules. Contribute to rivet-gg/opengb-registry development by creating an account on GitHub.
Nathan
Nathan•2y ago
modules:
users:
registry: local
config:
maxProfilePictureSize: 1mib

uploads:
registry: local
config:
maxFilesPerUpload: 16
maxUploadSize: 100mib
maxMultipartUploadSize: 10gib
s3:
bucketName: opengb-test-bucket
region: us-east-1
endpoint: https://s3.us-east-1.amazonaws.com
modules:
users:
registry: local
config:
maxProfilePictureSize: 1mib

uploads:
registry: local
config:
maxFilesPerUpload: 16
maxUploadSize: 100mib
maxMultipartUploadSize: 10gib
s3:
bucketName: opengb-test-bucket
region: us-east-1
endpoint: https://s3.us-east-1.amazonaws.com
brendanthebigboi
brendanthebigboiOP•2y ago
registries:
local:
local:
directory: modules
modules:
users:
registry: local
config:
maxProfilePictureSize: 1mib

uploads:
registry: local
config:
maxFilesPerUpload: 16
maxUploadSize: 100mib
maxMultipartUploadSize: 10gib
s3:
bucketName: opengb-test-bucket
region: us-east-1
endpoint: https://s3.us-east-1.amazonaws.com
rate_limit: {}
tokens: {}
friends: {}
registries:
local:
local:
directory: modules
modules:
users:
registry: local
config:
maxProfilePictureSize: 1mib

uploads:
registry: local
config:
maxFilesPerUpload: 16
maxUploadSize: 100mib
maxMultipartUploadSize: 10gib
s3:
bucketName: opengb-test-bucket
region: us-east-1
endpoint: https://s3.us-east-1.amazonaws.com
rate_limit: {}
tokens: {}
friends: {}
bcakend.yaml looks like this now
brendanthebigboi
brendanthebigboiOP•2y ago
No description
Nathan
Nathan•2y ago
don't copy the registries part 🙂
brendanthebigboi
brendanthebigboiOP•2y ago
alright clean worked lol
Nathan
Nathan•2y ago
will fix the config soon thx
brendanthebigboi
brendanthebigboiOP•2y ago
Running dev Nice works Serving on port 8080 Listening on http://localhost:8080/ Thanks

Did you find this page helpful?