Skip to content

Buffer is not defined #354

@salcedo

Description

@salcedo

Environment

├── @quasar/app-vite@1.1.1
├── @quasar/extras@1.15.3
├── autoprefixer@10.4.11
├── axios@0.21.4
├── eslint-config-prettier@8.5.0
├── eslint-plugin-vue@8.7.1
├── eslint@8.23.1
├── pinia-orm@1.0.0
├── pinia@2.0.22
├── prettier@2.7.1
├── quasar@2.8.3
├── vue-router@4.1.5
└── vue@3.2.39

Reproduction

useRepo(Post).with("comments").get();

Describe the bug

Uncaught (in promise) ReferenceError: Buffer is not defined
    at generateKey (pinia-orm.5b3dce23.mjs:112:66)
    at Query.get (index.mjs:462:105)
    at HasMany.match (index.mjs:1225:51)
    at Query.eagerLoadRelation (index.mjs:559:14)
    at Query.eagerLoadRelations (index.mjs:552:12)
    at Query.internalGet (index.mjs:484:12)
    at Query.get (index.mjs:461:19)
    at ReactiveEffect.fn (IndexPage.vue:26:48)
    at ReactiveEffect.run (reactivity.esm-bundler.js:185:25)
    at get value [as value] (reactivity.esm-bundler.js:1147:39)

Additional context

No response

Logs

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions