Replies: 1 comment 2 replies
-
For the first issue, does it work if you update the file [...rest]/page.tsx line: const snapshot = await client.getPageSnapshot(path, {
siteVersion: getSiteVersion(),
//locale: params.locale, //Remove this line
}); |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to start a Catalyst + Makeswift project. I am currently developing locally.
There were some problems:
`./node_modules/slate-react/dist/index.es.js
Attempted import error: 'useState' is not exported from 'react' (imported as 'useState').
Import trace for requested module:
./node_modules/slate-react/dist/index.es.js
./node_modules/@makeswift/runtime/dist/esm/slate/BuilderPlugin/index.js
./node_modules/@makeswift/runtime/dist/esm/slate/index.js
./node_modules/@makeswift/runtime/dist/esm/controls/rich-text-v2/rich-text-v2.js
./node_modules/@makeswift/runtime/dist/esm/components/builtin/Text/register.js
./node_modules/@makeswift/runtime/dist/esm/components/builtin/register.js
./node_modules/@makeswift/runtime/dist/esm/runtimes/react/react-runtime.js
./node_modules/@makeswift/runtime/dist/esm/runtimes/react/index.js
./node_modules/@makeswift/runtime/dist/esm/react.js
./node_modules/@makeswift/runtime/dist/esm/next/draft-mode/draft-mode-script.js
./node_modules/@makeswift/runtime/dist/esm/next/server.js
./app/[locale]/layout.tsx`
OS Windows 10
node v20.13.1
npm 10.5.2
Beta Was this translation helpful? Give feedback.
All reactions