0

I can't run truffle commands on windows powershell so I went to do the steps that I got here. However npm init got me stuck and I can't proceed:

Here is the stuck screen:

current screen

EDIT: After I uninstalled and reinstalled truffle

enter image description here

5
  • if you have installed npm globally, it shall work with normal command prompt too. If not, try running the cmd/Powershell as administrator and then try.
    – Rajesh
    Jan 25, 2018 at 3:16
  • Î tried it but its still stuck and when I stop it, it says its stopping but does not go back to the proper interface @Rajesh Jan 25, 2018 at 3:22
  • Try to un-install and re-install again
    – Rajesh
    Jan 25, 2018 at 5:21
  • @Rajesh it still won't work, not even truffle init Jan 25, 2018 at 6:23
  • @Rajesh PS C:\Users\user\AppData\Roaming> npm uninstall npm -g npm : npm ERR! npm uninstall [<@scope>/]<pkg>[@<version>]... [--save-prod|--save-dev|--save-optional] [--no-save] At line:1 char:1 + npm uninstall npm -g + ~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (npm ERR! npm un...al] [--no-save]:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError is what I get Jan 26, 2018 at 3:49

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.