After upgrading to Angular CLI 9.0.0-next.9 ng build throws below error
Unable to copy assets: EPERM: operation not permitted, copyfile 'D:\MyProject\ClientApp\src\assets\fonts' -> 'D:\MyProject\ClientApp\src\assets\fonts
Downgrading back to Angular CLI 9.0.0-next.8 fixes the issue, so it seems that the issue is with the Angular CLI 9.0.0-next.9
x)
- [x ] build
Yes, the previous version in which this bug was not present was: Angular CLI 9.0.0-next.8
Unable to copy assets: EPERM: operation not permitted, copyfile 'D:\MyProject\ClientApp\src\assets\fonts' -> 'D:\MyProject\ClientApp\src\assets\fonts'
Angular CLI: 9.0.0-next.9
Node: 10.16.3
OS: win32 x64
Angular: 9.0.0-next.10
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... platform-server, router, service-worker
Package Version
--------------------------------------------------------------------
@angular-devkit/architect 0.900.0-next.9
@angular-devkit/build-angular 0.900.0-next.9
@angular-devkit/build-optimizer 0.900.0-next.9
@angular-devkit/build-webpack 0.900.0-next.9
@angular-devkit/core 9.0.0-next.8
@angular-devkit/schematics 9.0.0-next.8
@angular/cdk 9.0.0-next.0
@angular/cli 9.0.0-next.9
@angular/fire 5.2.1
@angular/material 9.0.0-next.0
@angular/pwa 0.900.0-next.8
@ngtools/webpack 9.0.0-next.9
@nguniversal/module-map-ngfactory-loader 9.0.0-next.2
@schematics/angular 9.0.0-next.8
@schematics/update 0.900.0-next.9
rxjs 6.5.3
typescript 3.5.3
webpack 4.41.0
Unable to copy assets: ENOTSUP: operation not supported on socket, copyfile '/Users/lifewood/work/portfolio/src/assets/imgaes' -> '/Users//lifewood/work/portfolio/dist/assets/imgaes'
macOS 10.15 Catalina
npm v6.9.0
node v10.16.3
Thank you for reporting the issue. A fix is currently pending in the referenced PR and will be in the next release.
Please be aware that this release is not yet stable and defects may be present.
Thank you for giving the next release a try and helping to provide a more robust final product.
I had the same problem, glad it's closed
Still present in next.10 :(
https://github.com/angular/angular/issues/33122
Sorry, cli have only next.9 version at moment...
Even after updating to 9.0.0.next.9 and returning to 9.0.0.next.8 and installing npm,
9.0.0.next.8 is not installed and 9.0.0.next.9 is installed .
It was.
@gurezo downgrade build-angular too.
@kolkov
did not resolve.
make issue #15829
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._
Most helpful comment
Thank you for reporting the issue. A fix is currently pending in the referenced PR and will be in the next release.
Please be aware that this release is not yet stable and defects may be present.
Thank you for giving the next release a try and helping to provide a more robust final product.