Comments (8)
Hello! It's because you don't have data in your application and because routes are not open in your admin panel.
Please I suggest you to follow the steps in the article linked to this example.
Let me know if it's ok after that.
from strapi-examples.
Hi @lauriejim !
I've encountered the same issue as above on every render.
routes are not open in your admin panel.
Could you clarify what causes this issue and how this can be resolved and avoided in the future?
Thanks & Regards
from strapi-examples.
As @lauriejim mentioned you need to have data and open the routes in the admin area (permissions).
Check the tutorial for more info on the permissions you should grant.
Hope this helps and thanks @lauriejim for your reply.
from strapi-examples.
Hi @fonziemedia !
Data has been added to all Content Types and under Roles & Permissions in both the Authenticated & Public the Userspermissions getroutes
checkbox is ticked.
The issue still occurs. 😔 !
from strapi-examples.
You don't need to change the users permissions but the 'application' permissions for dish, order and restaurants as per the instructions on https://blog.strapi.io/strapi-next-setup/
from strapi-examples.
Yes, I was following that tutorial and went over it a couple of times because I was unsure whether or not I had missed something.
I've followed the instructions found on the tutorial as per below:
Navigate to the Roles & Permissions section of the admin plugin (http://localhost:1337/admin/plugins/users-permissions).
Click on the Public role.
Tick the find and findone checkboxes of the Restaurant section.
Save.
Important: do the same thing for the authenticated role.
The data is received and and displaying properly for me, however the TypeError still gets printed to the console.
from strapi-examples.
Thank you @fonziemedia for the feedback.
I close this issue. If it works for you @fonziemedia it have to work for you @BenjaminLoeffel .
You probably miss something.
from strapi-examples.
It turns out that the issue I was experiencing above occurred due to an issue in the "next-apollo" dependency:
Cannot read property 'pathname' of undefined
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.