Comments (5)
This PR should fix the underlying problem: ceramicnetwork/js-ceramic#2999
I'm not able to figure out the correct overrides
in my package.json
to avoid this error, though (NOT NULL constraint
).
Might need to wait for a release to confirm :)
Error: HTTP request to 'http://localhost:7007/api/v0/streams' failed with status 'Internal Server Error': {"error":"insert into `kjzl6hvfrbw6cap4qlstwhaflqx9jw517zw5h02m4khxog6jz3t6k05apg1hr2s` (`controller_did`, `created_at`, `custom_claimID`, `first_anchored_at`, `last_anchored_at`, `stream_content`, `stream_id`, `tip`, `updated_at`) values ('did:key:z6MknoDgHEeMqKES8P5MGMUcKA16Vbti9pCf6j8tu2GztiY1', 1698229060745, NULL, NULL, NULL, '{\"comment\":\"This is a cool object!\",\"targetID\":\"kjzl6kcym7w8yap35atjuv48weys0iix2foenkillgftr4m0f5t65xg84s5pbdf\",\"targetVersion\":\"k3y52mos6605bnw2edoy57ha7aifb7nqj5bhk7lw9kkwjkwsiztbfu5vdu08k0veo\"}', 'kjzl6kcym7w8y89s19uiwu1gu4ba2dzr2kavxdx6sp75ba3jkprxl9jfayz7cf4', 'bagcqceraq73obwfexolshdx2ozggojb4vkbfrvpqqn56vc3omscuqyrtmwqa', 1698229060745) on conflict (`stream_id`) do update set `stream_id` = 'kjzl6kcym7w8y89s19uiwu1gu4ba2dzr2kavxdx6sp75ba3jkprxl9jfayz7cf4',`controller_did` = 'did:key:z6MknoDgHEeMqKES8P5MGMUcKA16Vbti9pCf6j8tu2GztiY1',`stream_content` = '{\"comment\":\"This is a cool object!\",\"targetID\":\"kjzl6kcym7w8yap35atjuv48weys0iix2foenkillgftr4m0f5t65xg84s5pbdf\",\"targetVersion\":\"k3y52mos6605bnw2edoy57ha7aifb7nqj5bhk7lw9kkwjkwsiztbfu5vdu08k0veo\"}',`tip` = 'bagcqceraq73obwfexolshdx2ozggojb4vkbfrvpqqn56vc3omscuqyrtmwqa',`last_anchored_at` = NULL,`first_anchored_at` = NULL,`updated_at` = 1698229060745 - SQLITE_CONSTRAINT: NOT NULL constraint failed: kjzl6hvfrbw6cap4qlstwhaflqx9jw517zw5h02m4khxog6jz3t6k05apg1hr2s.custom_claimID"}
from js-composedb.
@dbcfd @stbrody I'm still not able to get around this on the latest version. Has ceramicnetwork/js-ceramic#2999 been included in a composedb release yet?
from js-composedb.
Sorry @m0ar, unfortunately the release of this has been held up by an unrelated bug that has been preventing us from making a new release of js-ceramic (you may have noticed it's been longer than usual since we've done a release). It's a major priority of the team right now to fix that bug so we can do a Ceramic release, which will include getting out this fix for optional relations.
from js-composedb.
Sorry @m0ar, unfortunately the release of this has been held up by an unrelated bug that has been preventing us from making a new release of js-ceramic (you may have noticed it's been longer than usual since we've done a release). It's a major priority of the team right now to fix that bug so we can do a Ceramic release, which will include getting out this fix for optional relations.
Makes total sense @stbrody , appreciate the context 🙏:cupcake:
from js-composedb.
Related Issues (15)
- Docs guides mention localhost instead of 0.0.0.0 HOT 2
- Cannot start ceramic node in local mode following "Getting started" HOT 1
- Outdated Discord links
- [Replace me with meaningful title]1st HOT 1
- client.execute(<documentNode>,<vars>) mutation errors
- CLI command `document:create` fails due to deterministic genesis commit constrains HOT 13
- Docs have broken links to CIPs HOT 3
- Allow for always true filter. HOT 2
- GraphQL generation errors missing location context
- [EthCC Hackathon Submission] identified early areas for improvement
- It doesn't work when start the local server with GraphiQL using the runtime composite HOT 2
- Ensure DateTime scalar inputs are converted to string HOT 10
- Pnpm start ceramic in webpack notes example giving error
- unsetDid for the client when logging out
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from js-composedb.