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

/Volumes/Caldera/nuxt-js-prismic/indev-prismic-example/node_modules/slice-machine-ui/start/index.js:164
  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

Thanks.

Hi @keyn432des

Welcome to the Prismic community.

I will try to troubleshoot this issue with you, for me, it seems that some of your dependencies haven't been installed for some reason post likely slice-machine-ui

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

Looking forward to your reply,
Fares