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.
thanks
@Virendra_Solanke Iām not sure what is going on in your case. I did the following, which works without error:
daml new MySecondDamlApp --template create-daml-app
cd MySecondDamlApp
daml start
- Opened new terminal.
cd MySecondDamlApp/ui
npm i
Perhaps there is a clue in the versions we are using? Here are mine:
> 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?
1 Like
Thanks @WallaceKelly , I was using node 18x version. I downgrade it to 16x & working fine for me now.