# Getting NPM error

**URL:** <https://forum.canton.network/t/getting-npm-error/5805>\
**Category:** App Development\
**Created:** [December 13, 2022, 10:41am UTC](https://forum.canton.network/t/getting-npm-error/5805 "2022-12-13T10:41:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Virendra\_Solanke](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/virendra_solanke/32/4946_2.png) [@Virendra\_Solanke](https://forum.canton.network/u/Virendra_Solanke)\
**Post date:** [December 13, 2022, 10:41am UTC](https://forum.canton.network/t/getting-npm-error/5805/1 "2022-12-13T10:41:59Z")

</div>

Hi ,  
I am trying to follow the Youtube tutorial of DAML101 . While running second app, I am getting an error from npm.  
I executed daml new MySecondDamlApp --template create-daml-app  
2. daml build  
3.daml start  
4. in UI folder executed npm i & its not able to install packages.  
please let me know , if I am doing something wrong or missed any steps .  
attaching screenshot for refference.

 ![image](https://canada1.discourse-cdn.com/flex028/uploads/daml/original/2X/d/d073c99c4fec95a49375e49950083bdb1be92f92.png)

thanks

---

<div class="post-metadata">

**Author:** ![WallaceKelly](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/wallacekelly/32/5046_2.png) [@WallaceKelly](https://forum.canton.network/u/WallaceKelly)\
**Post date:** [December 13, 2022, 1:56pm UTC](https://forum.canton.network/t/getting-npm-error/5805/2 "2022-12-13T13:56:33Z")

</div>

@Virendra_Solanke I’m not sure what is going on in your case. I did the following, which works without error:

1. `daml new MySecondDamlApp --template create-daml-app`
2. `cd MySecondDamlApp`
3. `daml start`
4. Opened new terminal.
5. `cd MySecondDamlApp/ui`
6. `npm i`

Perhaps there is a clue in the versions we are using? Here are mine:

```nohighlight
> daml version
SDK versions:
  2.4.0
  2.4.2 (project SDK version from daml.yaml)
                                                                                                                                                       
> node -v
v14.21.1
                                                                                                                                                       
> npm -v
6.14.17

```

Any clues there?

---

<div class="post-metadata">

**Author:** ![Virendra\_Solanke](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/virendra_solanke/32/4946_2.png) [@Virendra\_Solanke](https://forum.canton.network/u/Virendra_Solanke)\
**Post date:** [December 14, 2022, 5:21am UTC](https://forum.canton.network/t/getting-npm-error/5805/3 "2022-12-14T05:21:24Z")

</div>

Thanks @WallaceKelly , I was using node 18x version. I downgrade it to 16x & working fine for me now.
