简体   繁体   中英

Module '"../../parse5/lib"' has no exported member 'ElementLocation' - Angular Universal Firebase deployment error

i have a problem with deployment of angular universal on firebase hosting. I am following deployment on circleci and i am getting this error below in their console. Is that related to node version or what?

I dont know where to start finding the solution.

在此处输入图片说明

I found a solution for me in this issue reporthttps://github.com/DefinitelyTyped/DefinitelyTyped/issues/26338

I have to install npm i --save-dev @types/jsdom@11.0.4

It's weird, because I've never had a error like that

"Quick fixed it by updating parse5 package. try to run npm i -D parse5@latest"

https://github.com/scullyio/scully/issues/370#issuecomment-601787438

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