Open Lakelimbo opened 2 years ago
The same problem
Same here
I wanted to install this starter with Strapi 4 but it fails.
If you try this command inside your project folder you should try ./ als target. Eg. npx create-strapi-starter my-site ./
Update: git clone git@github.com:strapi/strapi-starter-nuxt-blog.git cd strapi-starter-nuxt-blog npx create-strapi-starter my-site ./
same problem.... tried rolands suggestion. same problem.
Thanks @rolandschellhorn your updated suggestion enables the installation but the starter aspect of the install is not setup. There are none of the blog collection types set up in strapi as per the readme and the nuxt app cannot be launched due to a HTTPerror. I am too much of a hack to work out what's actually happening or to track down the real issue which is why the official way to install this starter is not working.
Maybe it has something to do with the recent v4 upgrade and issues with the api/graphql system being reworked? I cannot follow the official strapi blog post on how to setup a strapi & nuxt blog because the graphql queries don't work anymore or return the data in such a convoluted fashion that I can't read the nested object/array structure. I did say I'm a noob/hack!
This Project is indeed messed up - documentation is outdated.
In order to make that work you need to check all the errors and work thru them.
So you need to create all the data fields for article, author, category, global, homepage.. and make it public accessible.
You can see the data you receive via e.g. http://localhost:1337/api/articles
If you use @rolandschellhorn 's approach and are not seeing the content types and data preloaded, you need to modify the starter.json
file because it seems to be pointing at the old repo instead of the npm module.
If your starter.json
file looks like this:
{
"template": "https://github.com/strapi/strapi-template-blog"
}
Change it to this:
{
"template": {
"name": "@strapi/template-blog",
"version": "^1.0.0"
}
}
Same problem
same too
Got this error :(
I guess it's not compatible with node v.17.3.0
BUMMER!
same issue, works fine with the "next.js" example... is react better all the sudden? Say it aint so!
Sorry if this is a dumb issue, but I found this recently and I've been trying to use the Yarn and NPM commands on README.md, however it always throws an error
error: Could not find starter.json in nuxt-blog
. I see the starter.json file on the root directory though? I don't really know what is happening here 😛