Hello - While dipping my toes in this tutorial, I’m being greeted by the following errors when starting the server. Does anyone else experience the same issue? If so, could you share what the solution is? Thanks.
I’ve tried both VSCode and VSCodium. I’m simply following the instructions in the tutorial and haven’t changed anything either in the code or within the IDEs.
(node:9660) Warning: --localstorage-file was provided without a valid path
(Use node --trace-warnings ... to show where the warning was created)
⨯ [TypeError: localStorage.getItem is not a function] {
digest: ‘2944369831’
}
[TypeError: localStorage.getItem is not a function]
⨯ [TypeError: localStorage.getItem is not a function] { page: ‘/’ }
○ Compiling /_error …
✓ Compiled /_error in 2.2s
[TypeError: localStorage.getItem is not a function]
[TypeError: localStorage.getItem is not a function]
⨯ [TypeError: localStorage.getItem is not a function]
⨯ [TypeError: localStorage.getItem is not a function]
Just a follow up. You can safely install version 16 or if you wanna stay within 15 for the tutorial, 15.4, looks like we did fix this issue back then. I have a PR upgrading the tutorial version. I’ll try to merge it soon.