Yesterday I followed the steps on https://sapper.svelte.dev/ to clone the 'my-app' project, but when I got everything ready and executed the command
npm run dev
this error occurred
This confused me a lot, because I had done the same thing on my MacBook Pro and it had been working without any errors.
So there must be something different between the code on my PC and Mac... Finally I found that the generated "package-lock.json" file was different(they use different versions of rollup plugins). I would like to suggest a working "package-lock.json" file be put in the github repo.
Yesterday I followed the steps on https://sapper.svelte.dev/ to clone the 'my-app' project, but when I got everything ready and executed the command
this error occurred
This confused me a lot, because I had done the same thing on my MacBook Pro and it had been working without any errors.
So there must be something different between the code on my PC and Mac... Finally I found that the generated "package-lock.json" file was different(they use different versions of rollup plugins). I would like to suggest a working "package-lock.json" file be put in the github repo.