作者:发酵床养殖菌种 | 来源:互联网 | 2023-07-01 19:48
Description
On previously working simple blog, installed the Tinacms according to instructions (and visiting a number of other sites). Believe code is correct but form found at blogpost.js not recognized.
Seems similar to this closed issue, https://github.com/tinacms/tinacms/issues/512 but double checked and everything is updated.
Steps to reproduce
Followed instructions 1-3 here, https://www.gatsbyjs.org/blog/2019-12-20-integrate-tinacms-with-your-gatsby-website/
Clear steps describing how to reproduce the issue. Please please please link to a demo project if possible, this makes your issue much easier to diagnose (seriously).
Expected result
What should happen?
Fields to edit post should show.
Actual result
What actually happened?
Site renders but tinacms sidebar shows welcome and link to external form guide.
Environment
Tinacms Package Versions
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
| I use yarn...
yarn list | grep tinacms | grep -v deduped
├─ /api-git.5.0
├─ /core.5.1
├─ /fields.1.17
│ ├─ /core@^0.5.1
│ ├─ /icons@^0.3.9
│ ├─ /styles@^0.1.0
├─ /form-builder.2.10
│ ├─ /core@^0.6.0
│ ├─ /core.6.0
│ ├─ /forms@^0.1.0
│ ├─ /react-core@^0.2.2
│ ├─ /react-core.2.2
│ │ ├─ /core@^0.6.0
│ │ ├─ /forms@^0.1.0
├─ /forms.1.0
├─ /git-client.4.1
├─ /icons.3.9
├─ /react-core.2.1
│ ├─ /core@^0.5.1
├─ /styles.1.0
├─ gatsby-plugin-tinacms.1.18
│ ├─ /core@^0.6.0
│ ├─ /core.6.0
│ ├─ /fields.2.0
│ │ ├─ /core@^0.6.0
│ │ ├─ /icons@^0.3.9
│ │ ├─ /styles@^0.1.0
│ ├─ /react-core.2.2
│ │ ├─ /core@^0.6.0
│ │ ├─ /forms@^0.1.0
│ ├─ tinacms@^0.11.1
│ └─ tinacms.11.1
│ ├─ /core@^0.6.0
│ ├─ /fields@^0.2.0
│ ├─ /form-builder@^0.2.10
│ ├─ /forms@^0.1.0
│ ├─ /icons@^0.3.9
│ ├─ /react-core@^0.2.2
│ ├─ /styles@^0.1.0
├─ gatsby-tinacms-git.2.15
│ ├─ /api-git@^0.5.0
│ ├─ /core@^0.5.1
│ ├─ /git-client@^0.4.1
│ ├─ gatsby-plugin-tinacms@^0.1.17
│ ├─ gatsby-plugin-tinacms.1.17
│ │ ├─ /core@^0.5.1
│ │ └─ tinacms@^0.11.0
│ └─ tinacms@^0.11.0
├─ gatsby-tinacms-remark.6.2
│ ├─ /core@^0.6.0
│ ├─ /core.6.0
│ ├─ /fields.2.0
│ │ ├─ /core@^0.6.0
│ │ ├─ /icons@^0.3.9
│ │ ├─ /styles@^0.1.0
│ ├─ /form-builder@^0.2.10
│ ├─ /react-core.2.2
│ │ ├─ /core@^0.6.0
│ │ ├─ /forms@^0.1.0
│ ├─ tinacms@^0.11.1
│ └─ tinacms.11.1
│ ├─ /core@^0.6.0
│ ├─ /fields@^0.2.0
│ ├─ /form-builder@^0.2.10
│ ├─ /forms@^0.1.0
│ ├─ /icons@^0.3.9
│ ├─ /react-core@^0.2.2
│ ├─ /styles@^0.1.0
├─ tinacms.11.0
│ ├─ /core@^0.5.1
│ ├─ /fields@^0.1.17
│ ├─ /form-builder@^0.2.9
│ ├─ /form-builder.2.9
│ │ ├─ /core@^0.5.1
│ │ ├─ /react-core@^0.2.1
│ ├─ /icons@^0.3.9
│ ├─ /react-core@^0.2.1
│ ├─ /styles@^0.1.0 |
Gatsby CLI version: 2.8.26, Gatsby version: 2.17.6
Tools
| Tool | Version |
| ------- | ------- |
| browser | chrome |
| os | ubuntu 19.10 |
| node | v 12.14.1 |
| npm | I use yarn |
| yarn | 1.19.1
该提问来源于开源项目:tinacms/tinacms
No errors installing, gave it another round and still can't get blog post form to render. I will dig into it further. Guessing it is my lack of gatsby knowledge for now.