简体   繁体   中英

npm install throwing errors related to typescript

I am trying to build and use the open-source Tornado-cash cli

I am using nodejs version 18.6.0, npm version 8.13.2 and Ubuntu 20.04 (focal)

However, when i run the npm-install in the project directory i get the following error;

在此处输入图像描述

I am having great trouble resolving this error, i have searched extensively ( on this site & others ) but i have not been able to solve this

It seems that the problem is related to typescript syntax

I am not very proficient in JavaScript. I figure that anyone who has good proficiency in js will be able to resolve this

I would be grateful for any help !

I guess the problem is in the permissions. İt can be solved if you type sudo before npm-install

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