sveltekit-starter
sveltekit-starter copied to clipboard
Error on npm run setup
Getting this when I try to run npm run setup. Looks to be an outdated dependency.
node_modules/any-observable/register.js:29 throw new Error('Cannot find any-observable implementation nor' + ^
Error: Cannot find any-observable implementation nor global.Observable. You must install polyfill or call require("any-observable/register") with your preferred implementation, e.g. require("any-observable/register")('rxjs') on application load prior to any require("any-observable").
I had the same issue as you, remove your node_modules & package-lock.json and re-run npm install
.
I had the same issue as you, remove your node_modules & package-lock.json and re-run
npm install
.
Thank you. Maybe I don't understand the workings of Node to the extent needed, but doesn't that feel weird to have a clean project, run npm i, then having to delete what was just installed and re-do it?
Me neither I do not understand the workings of Node but It is clearly not the first time I have to do that so it is not specific that that repo
I've got also this error. The solution of @sylvain75 solved it for me. Thanks!
I think the maintainers of the project just need to update the package-lock.json
file which is the culprit of the aforementioned problem. Thanks for the hint.