Anybody else getting an error when trying to deplo...
# suitecommerce
m
Anybody else getting an error when trying to deploy with
gulp extension:deploy
with Extension Tools 2022.1.0?
Copy code
[14:29:37] Preparing to create the extension record...
[14:29:39] Preparing content to deploy in DeployDistribution...
[14:29:39] 'startDeploy' errored after 37 s
[14:29:39] Error in task gulp extension:deploy
Error Message
  ENOENT: no such file or directory, stat 'DeployDistribution/*'
Error Details
  errno: -2
  syscall: stat
  code: ENOENT
  path: DeployDistribution/*

[14:29:39] 'extension:deploy' errored after 52 s
I have tried: • Creating the directory
DeployDistribution
. • Changing the deploy directory to
LocalDistribution
and
LocalDistribution/tmp
. (This is where the files are compiled to when I run the command) • Changing output directory to
DeployDistribution
. (This caused the files to be compiled in the directory, but still an error)
l
Does the extension runs locally? When I have issues deploying I usually try to add --advanced to the deploy command at the end
m
Extension runs fine locally. I did try adding
--advanced
without any luck.
a
Hi @Marvin, • check your nvm (node) version 12.22 (install again if you are using other) • remove all folders Distribution • try gulp extension:deploy --to
In case that it doesn’t work just update the entire devTools
m
if you are in mac check the folder permissions
☝️ 1
m
It was my node version. I used nvm to install and use the correct version. Completely reinstalled tools with correct node version and it worked fine after.
l
@Marvin if you don't mind asking..what node version did you ended up using to fix the problem ?
m
@LC 12.21.0
100 Views