简体   繁体   中英

404 not found with Angular material moment adapter

I have installed angular/material and angular/material-moment-adapter from npm, I have also installed moment.js. When I run the app, I get the following error:

zone.js:1050 GET https://localhost:44399/something/@angular/material-moment-adapter 404.

When I check my node_modules, the package is there.

Have you tried deleting your node_modules folder and running an npm install ? Sometimes that clears things up for me.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM