rodrigoam
(Rodrigo de Alvarenga Mattos)
1
Hy guys, good morning !
I've found a problem adding the Prismic builder to my Next.js project.
npx@slicemachine/init
error: Couldn't find an alternative telinit implementation to spawn.
The reason seems to be that WSL 2 doesn't support systemd and systemctl.
Can you help me?
1 Like
Priyanka
(Priyanka Maheshwari)
2
Hello @rodrigoam
Welcome to the Prismic community and thanks for reaching out to us.
What version of node do you have in your system? You need at least Node.js 12.0 or later. Check this by running node -v in your terminal.
Could you please check it and let me know?
Thanks,
Priyanka
rodrigoam
(Rodrigo de Alvarenga Mattos)
4
Hi @Priyanka
I managed to solve the problem by updating the npm version:
npm install -g npm@latest
Thanks !
Priyanka
(Priyanka Maheshwari)
5
I am glad that it works. Would you please tell me what version of npm you have?