简体   繁体   中英

Angular failing on build, no module not found

When building an angular cli it throws this error in the console after getting. Using node version 8.16.0

ERROR in ./src/app/core/services/body-resize.service.ts
Module not found: Error: Can't resolve '@agm/core/utils/browser-globals' in 
/Users/admin/Desktop/<MY-DIRECTORY>/client/src/app/core/services

I have tried some enhancement packages. I followed the path and the file is there to be found. Just want to know if some have any input as to clear Module not found error .

Install the plugins

npm install @agm/core --save

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