# Npx create-local-addon unable to resolve dependency tree

**URL:** <https://community.localwp.com/t/npx-create-local-addon-unable-to-resolve-dependency-tree/42778>\
**Category:** Local Add-ons\
**Created:** [May 9, 2024, 12:38pm UTC](https://community.localwp.com/t/npx-create-local-addon-unable-to-resolve-dependency-tree/42778 "2024-05-09T12:38:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mataro](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/mataro/32/21751_2.png) [@mataro](https://community.localwp.com/u/mataro)\
**Post date:** [May 9, 2024, 12:38pm UTC](https://community.localwp.com/t/npx-create-local-addon-unable-to-resolve-dependency-tree/42778/1 "2024-05-09T12:38:47Z")

</div>

As the title states, I’m getting the following error when running `npx create-local-addon`. Looks like I’m having issues with an upstream version of eslint? How should I go about resolving this? Thanks!

 ![Screenshot from 2024-05-09 08-36-20](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/c/a/cacfa6afdac48a78e4596994651703f4b02864cf.jpeg)

---

<div class="post-metadata">

**Author:** ![ben.turner](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/ben.turner/32/5366_2.png) [@ben.turner](https://community.localwp.com/u/ben.turner)\
**Post date:** [May 9, 2024, 2:53pm UTC](https://community.localwp.com/t/npx-create-local-addon-unable-to-resolve-dependency-tree/42778/2 "2024-05-09T14:53:27Z")

</div>

I just tried the `npx create-local-addon` and was able to create an addon “Test Addon.”

One thing to note, it looks like it only worked for me on the Node `v14.x` line, 16 and 18 didn’t work.

What version of Node is on your system and do you get a different outcome when switching to v14.x?

---

<div class="post-metadata">

**Author:** ![mataro](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/mataro/32/21751_2.png) [@mataro](https://community.localwp.com/u/mataro)\
**Post date:** [May 9, 2024, 3:20pm UTC](https://community.localwp.com/t/npx-create-local-addon-unable-to-resolve-dependency-tree/42778/3 "2024-05-09T15:20:38Z")

</div>

Ah, good catch!  
`node --version` returned `v20.5.1`  
so I ran `nvm install 14`  
and now `npx create-local-addon` and it’s just returning a few warnings, but no flat-out errors. Looking good now. Thanks for the help!

---

<div class="post-metadata">

**Author:** ![sambrockway](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/sambrockway/32/18726_2.png) [@sambrockway](https://community.localwp.com/u/sambrockway)\
**Post date:** [May 10, 2024, 12:38pm UTC](https://community.localwp.com/t/npx-create-local-addon-unable-to-resolve-dependency-tree/42778/4 "2024-05-10T12:38:53Z")

</div>

Hello @mataro -

Thanks for letting us know what worked for you!

Happy building,

Sam

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [May 12, 2024, 12:39am UTC](https://community.localwp.com/t/npx-create-local-addon-unable-to-resolve-dependency-tree/42778/5 "2024-05-12T00:39:42Z")

</div>

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.
