structuredClone is not defined error #191
-
|
Hello, I got this structuredClone not defined error after running this command right after downloading: npm install && npm run dev. This is the prompt screenshot: https://imgur.com/qVZ0Yyu Is this a bug or I missed something else? Cheers! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Hi Rolly—Thanks for posting this! I just downloaded a fresh copy of the theme and ran What version of Node.js are you using? You should be able to check with Is there anything else you can tell me about your development environment that you think might be relevant? (If it turned out you were running a version below 17 of Node.js, that would likely explain the problem, as I believe one way this could happen is if you installed with a recent version of Node.js, and then used something like Node Version Manager to switch to an earlier version. |
Beta Was this translation helpful? Give feedback.
Hi Rolly—Thanks for posting this!
I just downloaded a fresh copy of the theme and ran
npm install && npm run dev, and I didn't encounter the error in your screenshot.What version of Node.js are you using? You should be able to check with
node -v. When you check, please runnpm run devimmediately before checking the version to confirm you're still seeing the error.Is there anything else you can tell me about your development environment that you think might be relevant?
(If it turned out you were running a version below 17 of Node.js, that would likely explain the problem, as
structuredClonewas added in version 17.)I believe one way this could happen is if you installed with a recent …