TypeError: Cannot read property 'defineFramework' of undefined

Hello Prismic, i found this error on my project.. and i'm new using Prismic for my CMS. how can i solve this error

indev-prismic-example@1.0.0 slicemachine
start-slicemachine --port 9999

  const framework = Utils.Framework.defineFramework(userConfig.content , cwd)

TypeError: Cannot read property 'defineFramework' of undefined
    at run (/Volumes/Caldera/nuxt-js-prismic/indev-prismic-example/node_modules/slice-machine-ui/start/index.js:164:37)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    Error: Command failed: npm run slicemachine

I have no idea to solve this error when i'm running prismic sm --develop and npm run slicemachine


Hi @keyn432des

Welcome to the Prismic community.

Can you please list a code snippet of the package.json file? and can check when you npm install if you get any errors?

Looking forward to your reply,