Error: No such file or directory, stat ‘DeployDistribution/*’

The error happens in the terminal when deploying the theme/Extension.

Method 1:

In the terminal run, command nvm install 12.21.0

then run command

gulp theme:deploy ( if the error appears in the theme )

gulp extension:deploy (if the error appears in the extension)

Method 2:

  1. delete node-modules folder
  2. run command npm cache clean --force
  3. run command npm install
  4. run command nvm install 12.21.0
  5. run command gulp theme:deploy or gulp extension:deploy

Leave a comment

Your email address will not be published. Required fields are marked *