Comments (8)
Fixed and published on npm 🚀
https://github.com/strapi/gatsby-source-strapi/releases
from strapi-examples.
same error +1
from strapi-examples.
me too +1
from strapi-examples.
same here +1
from strapi-examples.
same +1
from strapi-examples.
While this clearly isn't a code fix, the following will get people going (if you're here from the Gatsby blog):
Connect to MongoDB's mongo-shell:
mongo
After you're connected, insert the missing data.
use strapi
var myObjectId = db['users-permissions_user'].findOne()._id
db['users-permissions_user'].findOneAndUpdate({ _id: { $eq: myObjectId } }, { $set: { id: myObjectId.valueOf() } })
Interestingly enough, this specific issue is not present when creating a user in the Strapi control panel.
from strapi-examples.
Good catch! I submitted a PR for the gatsby-source-strapi
plugin: gatsby-uc/gatsby-source-strapi#4.
As soon as it is published on npm, I will update this project.
from strapi-examples.
@pierreburgy everything is nice and dandy, except this isn't updated yet and I just wasted an hour trying to understand why I was getting error when I used the example repo. I thought it was updated even on the example repo. :'(
https://github.com/strapi/strapi-examples/blob/master/gatsby-strapi-tutorial/blog/package.json#L10
from strapi-examples.
Related Issues (20)
- Issues installing and running 'login-react' HOT 1
- The hello world example is not available HOT 1
- Azure CosmosDB connection issue
- Installing dependencies for login-react causes problems HOT 1
- Providers: Incomplete field "The redirect URL to add in your Google application configurations" HOT 2
- Auth providers in production
- Google Oauth for admin users
- nuxt-strapi-deliveroo-clone-tutorial BUGS
- frontend shouldn't decide of the order price HOT 1
- Error: Request failed with status code 404 HOT 7
- Chessecakes example could need updating
- Twitter login seems to be broken
- .
- Google auth not working HOT 6
- Login react works with electron js?
- gatsby-source-strapi 403 error from starter HOT 1
- Next.JS-snipcart-strapi-printful
- broken link in documentation
- Readme Setup - git clone permission error HOT 1
- Need an example for Microsoft authentication
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 strapi-examples.