# Detected deprecated sm.json and beginning migration run into errors

**URL:** <https://community.prismic.io/t/detected-deprecated-sm-json-and-beginning-migration-run-into-errors/14364>\
**Category:** Developing with Prismic\
**Tags:** nextjs, slice-machine\
**Created:** [October 24, 2023, 3:52pm UTC](https://community.prismic.io/t/detected-deprecated-sm-json-and-beginning-migration-run-into-errors/14364 "2023-10-24T15:52:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![devops\_support](https://avatars.discourse-cdn.com/v4/letter/d/bb73d2/32.png) [@devops\_support](https://community.prismic.io/u/devops_support)\
**Post date:** [October 24, 2023, 3:52pm UTC](https://community.prismic.io/t/detected-deprecated-sm-json-and-beginning-migration-run-into-errors/14364/1 "2023-10-24T15:52:10Z")

</div>

Hi guys, I need to add new slices, but I run into multiple errors when slicemachine automatically detects an older version and updates to the recent version (typescript):

```auto
SliceMachineError: Failed to initialize project: Error: Error in `@slicemachine/adapter-next` during `project:init` hook: helpers.updateSliceMachineConfig is not a function

```

---

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [October 25, 2023, 3:12pm UTC](https://community.prismic.io/t/detected-deprecated-sm-json-and-beginning-migration-run-into-errors/14364/2 "2023-10-25T15:12:37Z")

</div>

Hey @devops_support ,

Thanks for reporting this. Can you report it directly on the Slice Machine Git Hub? It'll be the fastest way to get this resolved:

> **[Build software better, together](https://github.com/prismicio/slice-machine/issues/new/choose)**
>
> GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 330 million projects.
