$ npx create-tina-app@latest --template tina-astro-starter
(node:612348) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
✔ Which package manager would you like to use? › npm
✔ What is your project named? … my-tina-app
[INFO] Downloading files from repo tinacms/tina-astro-starter.
[INFO] Installing packages.
npm warn deprecated lodash.get@4.4.2: This package is deprecated. Use the optional chaining (?.) operator instead.
npm warn deprecated @babel/plugin-proposal-class-properties@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
npm warn deprecated @babel/plugin-proposal-object-rest-spread@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead.
npm warn deprecated react-beautiful-dnd@13.1.1: react-beautiful-dnd is now deprecated. Context and options: https://github.com/atlassian/react-beautiful-dnd/issues/2672
added 1585 packages, and audited 1586 packages in 31s
365 packages are looking for funding
run `npm fund` for details
8 vulnerabilities (7 high, 1 critical)
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
[INFO] Initializing git repository.
[WARNING] There is no .gitignore file in this repository, creating one...
[INFO] Initialized git repository.
[SUCCESS] Starter successfully created!
To launch your app, run:
cd my-tina-app
npm run dev
Next steps:
• 📝 Edit some content on http://localhost:3000 (See https://tina.io/docs/using-tina-editor)
• 📖 Learn the basics: https://tina.io/docs/schema/
• 🖌️ Extend Tina with custom field components: https://tina.io/docs/advanced/extending-tina/
• 🚀 Deploy to Production: https://tina.io/docs/tina-cloud/
$ cd my-tina-app/ && npm run dev
> my-tina-app@0.0.1 dev
> tinacms dev -c "astro dev"
Starting Tina Dev Server
(node:613092) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Indexing local files ⠋
│
○ Tina Dev Server is running... ──────────────────────────────────────────╮
│ │
│ 🦙 Tina Config │
│ CMS: <your-dev-server-url>/admin/index.html │
│ API playground: <your-dev-server-url>/admin/index.html#/graphql │
│ API url: http://localhost:4001/graphql │
│ │
│ 🤖 Auto-generated files │
│ GraphQL Client: tina/__generated__/client.ts │
│ Typescript Types: tina/__generated__/types.ts │
│ │
│ │
├──────────────────────────────────────────────────────────────────────────╯
Starting subprocess: astro dev
10:34:47 [types] Generated 1ms
10:34:47 [content] Syncing content
fetch failed
Location:
/home/basileus/Projects/_sites/my-tina-app/node_modules/tinacms/dist/client.mjs:90:15
Stack trace:
at node:internal/deps/undici/undici:13392:13
at async requestFromServer (file:///home/basileus/Projects/_sites/my-tina-app/node_modules/tinacms/dist/client.mjs:90:15)
at async requester (/home/basileus/Projects/_sites/my-tina-app/tina/__generated__/types.ts:262:18)
at async simpleLoader (file:///home/basileus/Projects/_sites/my-tina-app/node_modules/astro/dist/content/content-layer.js:269:22)
at async #doSync (file:///home/basileus/Projects/_sites/my-tina-app/node_modules/astro/dist/content/content-layer.js:176:5)
Caused by:
connect ECONNREFUSED 127.0.0.1:4001
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1610:16)
$ npx envinfo --system --npmPackages
System:
OS: Linux 6.12 Fedora Linux 41 (KDE Plasma)
CPU: (16) x64 AMD Ryzen 7 5800X3D 8-Core Processor
Memory: 4.51 GB / 31.23 GB
Container: Yes
Shell: 3.7.0 - /usr/bin/fish
Binaries:
Node: 22.11.0 - /usr/bin/node
npm: 11.1.0 - ~/.local/share/node/bin/npm
npmPackages:
@astrojs/mdx: ^4.0.5 => 4.0.8
@astrojs/react: ^4.1.3 => 4.2.0
@astrojs/rss: ^4.0.11 => 4.0.11
@astrojs/sitemap: ^3.2.1 => 3.2.1
@tanstack/react-virtual: ^3.11.2 => 3.11.3
@tinacms/cli: ^1.8.0 => 1.8.2
@types/node: ^22.10.5 => 22.13.0
astro: ^5.1.5 => 5.2.3
react: ^18.3.1 => 18.3.1
react-dom: ^18.3.1 => 18.3.1
react-icons: ^5.4.0 => 5.4.0
tinacms: ^2.6.0 => 2.6.2
$ sudo lsof -i :4001
$ sudo firewall-cmd --add-port=4001/tcp
Warning: ALREADY_ENABLED: '4001:tcp' already in 'FedoraWorkstation'
success
$ sudo firewall-cmd --list-ports
1025-65535/tcp 1025-65535/udp