'I am finding it difficult to initialize package.json file in my truffle project

I can not install package.json dependencies in my truffle project and I have tried touch.json. it's giving me errors. I have also tried truffle init, but it is not working.



Solution 1:[1]

to install package.json dependencies you have to type npm install or npm i

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Niccolò Fant