Skip to content

npm fail to update @Angular/cdk and @Angular/material #10447

@labyed

Description

@labyed

Bug, feature request, or proposal:

Bug
Im trying to update versions since i got strange behavior on datepicker, i can't access the year view, i've imported everyting but got this behavior.

What is the expected behavior?

What is the current behavior?

87 error path \node_modules@angular\material\esm5
888 error code EPERM
889 error errno -4048
890 error syscall unlink
891 error Error: EPERM: operation not permitted, unlink '\node_modules@angular\material\esm5'
891 error { Error: EPERM: operation not permitted, unlink '\node_modules@angular\material\esm5'
891 error cause:
891 error { Error: EPERM: operation not permitted, unlink '\node_modules@angular\material\esm5'
891 error errno: -4048,
891 error code: 'EPERM',
891 error syscall: 'unlink',
891 error path: '\node_modules\@angular\material\esm5' },
891 error stack: 'Error: EPERM: operation not permitted, unlink '\node_modules\@angular\material\esm5'',
891 error errno: -4048,
891 error code: 'EPERM',
891 error syscall: 'unlink',
891 error path: 'node_modules\@angular\material\esm5',
891 error parent: 'cv-generator-frontend' }
892 error Please try running this command again as root/Administrator.
893 verbose exit [ -4048, true ]

What are the steps to reproduce?

Providing a StackBlitz reproduction is the best way to share your issue.

StackBlitz starter: https://goo.gl/wwnhMV

What is the use-case or motivation for changing an existing behavior?

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Is there anything else we should know?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions