Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Error after npm update

Open
#14 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
babel, javascript, node.js, wordpress
Domain
build-system

Research direction

Reproduce the failure by running npm update followed by npm start, then inspect assets/js/spacing-control.js alongside the Babel clone-deep stack trace. Determine what dependency state allows npm start to complete successfully; done means the Parcel watch command runs without this cloning error.

Written by the indexing model from the issue text.

Description

After installing, I run npm start and am prompted to run npm update. I do that, and then npm start again. This error is generated:

$ npm start
(node:28902) ExperimentalWarning: The fs.promises API is experimental

> [email protected] start
> parcel watch --no-hmr assets/js/extend-block-example.js -d dist

🚨  Git/extend-block-example-wp-plugin/assets/js/spacing-control.js: function __clone() {
    var node2 = new Node();
    for (var key in this) {
      // Do not clone comments tha...<omitted>... } could not be cloned.
    var node2 = new Node();
    for (var key in this) {
      // Do not clone comments tha...<omitted>... } could not be cloned.
    at Object.serialize (v8.js:202:7)
    at _default (Git/extend-block-example-wp-plugin/node_modules/@babel/core/lib/transformation/util/clone-deep.js:22:34)
    at normalizeFile (Git/extend-block-example-wp-plugin/node_modules/@babel/core/lib/transformation/normalize-file.js:84:36)
    at normalizeFile.next (<anonymous>)
    at run (Git/extend-block-example-wp-plugin/node_modules/@babel/core/lib/transformation/index.js:29:50)
    at run.next (<anonymous>)
    at Function.<anonymous> (Git/extend-block-example-wp-plugin/node_modules/@babel/core/lib/transform-ast.js:26:41)
    at Generator.next (<anonymous>)
    at evaluateSync (Git/extend-block-example-wp-plugin/node_modules/gensync/index.js:251:28)
    at Function.sync (Git/extend-block-example-wp-plugin/node_modules/gensync/index.js:89:14)
Dominant language
JavaScript
Stars
50
Forks
17
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from liip/extend-block-example-wp-plugin

All issues in liip/extend-block-example-wp-plugin

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.