Refs for source-filesystem not building on gridsome 0.7.2
See original GitHub issueDescription
When using the Gridsome Starter Blog and upgrading to gridsome 0.7.2 the grdisome develop & build commands fail.
I have a filed an issue with the blog starter project as well. But I’m thinking it might be the source-filesystem.
Steps to reproduce
- gridsome create my-gridsome-site https://github.com/gridsome/gridsome-starter-blog.git
- cd my-gridsome-site to open folder
- yarn upgrade gridsome --latest
- gridsome develop
Expected result
Should generate the website and start up a server to test locally
Actual result
Fails with the following log printed out.
Initializing plugins...
Tag > Failed to add node: Duplicate key for property id: Flutter
Tag > Failed to add node: Duplicate key for property id: Dependency Injection
Tag > Failed to add node: Duplicate key for property id: Provider
Load sources - 0.19s
Error: Cannot get field 'tags' from type 'Post'. Field does not exist.
at ObjectTypeComposer.getField (D:\Code\Clients\MdkStudio\filledstacks\filledstack-webapp\website\node_modules\graphql-compose\lib\ObjectTypeComposer.js:167:13)
at ObjectTypeComposer.isFieldPlural (D:\Code\Clients\MdkStudio\filledstacks\filledstack-webapp\website\node_modules\graphql-compose\lib\ObjectTypeComposer.js:365:23)
at mapValues (D:\Code\Clients\MdkStudio\filledstacks\filledstack-webapp\website\node_modules\gridsome\lib\graphql\nodes\index.js:260:25)
at D:\Code\Clients\MdkStudio\filledstacks\filledstack-webapp\website\node_modules\lodash\lodash.js:13401:38
at D:\Code\Clients\MdkStudio\filledstacks\filledstack-webapp\website\node_modules\lodash\lodash.js:4905:15
at baseForOwn (D:\Code\Clients\MdkStudio\filledstacks\filledstack-webapp\website\node_modules\lodash\lodash.js:2990:24)
at mapValues (D:\Code\Clients\MdkStudio\filledstacks\filledstack-webapp\website\node_modules\lodash\lodash.js:13400:7)
at createReferenceFields (D:\Code\Clients\MdkStudio\filledstacks\filledstack-webapp\website\node_modules\gridsome\lib\graphql\nodes\index.js:257:16)
at createNodesSchema (D:\Code\Clients\MdkStudio\filledstacks\filledstack-webapp\website\node_modules\gridsome\lib\graphql\nodes\index.js:30:5)
at createSchema (D:\Code\Clients\MdkStudio\filledstacks\filledstack-webapp\website\node_modules\gridsome\lib\graphql\createSchema.js:59:3)
at Schema.buildSchema (D:\Code\Clients\MdkStudio\filledstacks\filledstack-webapp\website\node_modules\gridsome\lib\app\Schema.js:28:28)
at Plugins.createSchema (D:\Code\Clients\MdkStudio\filledstacks\filledstack-webapp\website\node_modules\gridsome\lib\app\Plugins.js:93:22)
Environment
Libs:
- gridsome version: 0.7.2
- @gridsome/cli version: 0.0.9
Browser:
- [x] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
For Tooling issues:
- Node version: 10.5.2
- Platform: Windows
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
gridsome/source-filesystem
Define which files to consider as index files. These files will not have their filename appear in its route path and will become...
Read more >TypeError when using Gridsome while building a Vue.js ...
The error you got is from vue-server-renderer , which is from Vue's server-side API. You'll need to implement the instructions above. ~ import....
Read more >Same Con to Hoyci - A blog mostly about Web development.
They're fine for that “12 minute blog” demo but not too much past that. My Gridsome blog deteriorated in few months to a...
Read more >gridsome/source-filesystem
Filesystem source for Gridsome. Latest version: 0.6.2, last published: 3 years ago. Start using @gridsome/source-filesystem in your project ...
Read more >flexsearch | Next-Generation full text search library for Browser
Implement flexsearch with how-to, Q&A, fixes, code snippets. kandi ratings - Medium support, No Bugs, No Vulnerabilities. Permissive License, Build ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Upgrading all the plugins worked. Thanks for the help.
I had a similar issue:
For other newbies, using (for example):
only updates partway, and didn’t solve my problem.
got a much newer version, which worked!
package.json has a “dependencies” list of what might need updating. The new versions will show in the list after you build or develop.