Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 866 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 866 Bytes
Command Action
pnpm install Installs dependencies
pnpm run dev Starts local dev & Netlify CMS proxy servers
pnpm run build Build your production site to ./dist/
pnpm run preview Serve ./dist/ & run the Netlify CMS proxy server

Troubleshoot

If you receive this error: Internal server error: Failed to resolve import "netlify-cms-app" from "virtual:astro-netlify-cms/user-config pnpm i {,@types/}{react,react-dom}@^17 netlify-cms-app

If you receive the "spawn" error change ./node_modules/astro-netlify-cms/dist/index.js: From proxy = spawn('netlify-cms-proxy-server', to proxy = spawn('pnpx', ['netlify-cms-proxy-server'],