# Pnpm + monorepo = can't resolve .html files of an au plugin

**URL:** <https://discourse.aurelia.io/t/pnpm-monorepo-cant-resolve-html-files-of-an-au-plugin/4686>\
**Category:** Help Requests\
**Created:** [March 10, 2022, 3:27pm UTC](https://discourse.aurelia.io/t/pnpm-monorepo-cant-resolve-html-files-of-an-au-plugin/4686 "2022-03-10T15:27:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![catsalive](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/catsalive/32/2266_2.png) [@catsalive](https://discourse.aurelia.io/u/catsalive)\
**Post date:** [March 10, 2022, 3:27pm UTC](https://discourse.aurelia.io/t/pnpm-monorepo-cant-resolve-html-files-of-an-au-plugin/4686/1 "2022-03-10T15:27:50Z")

</div>

I’m trying to convert my monorepo to pnpm. I’ve resolved everything except for one last thing I can’t get to work - aurelia-loader-webpack (I’m guessing) is not loading the .html files from custom elements from an au plugin dependency. No matter how I work the settings I can’t seem to get it to find them. (I am using shamefully-hoist as well as useView already) I also tried the viewsFor prop on AureliaPlugin - though I may have a bad pattern I suppose. Just wondering if anyone has any advice?

---

<div class="post-metadata">

**Author:** ![bigopon](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/bigopon/32/18_2.png) [@bigopon](https://discourse.aurelia.io/u/bigopon)\
**Post date:** [March 11, 2022, 5:16am UTC](https://discourse.aurelia.io/t/pnpm-monorepo-cant-resolve-html-files-of-an-au-plugin/4686/2 "2022-03-11T05:16:56Z")

</div>

it’s an uncharted territory here I guess. if you are able to find anything or make any progress, please share.

---

<div class="post-metadata">

**Author:** ![huochunpeng](https://avatars.discourse-cdn.com/v4/letter/h/49beb7/32.png) [@huochunpeng](https://discourse.aurelia.io/u/huochunpeng)\
**Post date:** [March 11, 2022, 5:47am UTC](https://discourse.aurelia.io/t/pnpm-monorepo-cant-resolve-html-files-of-an-au-plugin/4686/3 "2022-03-11T05:47:52Z")

</div>

I have used yarn and pnpm, contributed to them both too.  
Now I am back to npm for about a year already, because I don’t want to spend time to understand the differences anymore 🙂  
A faster SSD is the saviour for npm.

---

<div class="post-metadata">

**Author:** ![catsalive](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/catsalive/32/2266_2.png) [@catsalive](https://discourse.aurelia.io/u/catsalive)\
**Post date:** [March 11, 2022, 3:37pm UTC](https://discourse.aurelia.io/t/pnpm-monorepo-cant-resolve-html-files-of-an-au-plugin/4686/4 "2022-03-11T15:37:00Z")

</div>

I figured as much. I will share if I can find a way to fix it.

---

<div class="post-metadata">

**Author:** ![catsalive](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/catsalive/32/2266_2.png) [@catsalive](https://discourse.aurelia.io/u/catsalive)\
**Post date:** [March 11, 2022, 3:38pm UTC](https://discourse.aurelia.io/t/pnpm-monorepo-cant-resolve-html-files-of-an-au-plugin/4686/5 "2022-03-11T15:38:00Z")

</div>

LOL :). Totally makes sense. Maybe someday npm will get faster.

---

<div class="post-metadata">

**Author:** ![catsalive](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/catsalive/32/2266_2.png) [@catsalive](https://discourse.aurelia.io/u/catsalive)\
**Post date:** [March 21, 2022, 2:25pm UTC](https://discourse.aurelia.io/t/pnpm-monorepo-cant-resolve-html-files-of-an-au-plugin/4686/6 "2022-03-21T14:25:17Z")

</div>

I was able to get this to work. It WAS useView with PLATFORM.moduleName, the issue was that other dependencies also had that package as a dep some of which were referencing github addresses with commit hashes - the older versions were taking priority over the one I was updating.
