globby
globby copied to clipboard
ERROR in The `cwd` option must be a path to a directory stuck at here
i am new in angular and i am stuck at this error.
ERROR in The cwd
option must be a path to a directory
can someone help me?
this error can happen when you pass wrong path for glob
parameter for assets in angular.json
ex.
{
"glob": "**",
"input": "src/assets/pwa",
"output": "'assets'"
}
this should be changed to:
{
"glob": "**/*",
"input": "src/assets/pwa",
"output": "'assets'"
}
I met this case updating to Angular v11, previous glob variant was working fine before updating