Atom terminal after npm ls -g --depth=0 return empty


(Maksim Ogorodnik) #1

Hi friends, try understand and fix bug.
I’m have next .

System - Win10
IDE - Atom, PlatformIO IDE Terminal,
Node -v = 8.12.0,
NPM -v = 6.4.1

Installed
gulp = 3.9.1 [global and local]
gulp-sass = 4.0.1 [local]

Also next package installed Global in C:\Users\UserName\AppData\Roaming\npm\node_modules:

  • gulp-cli,
  • bower,
  • node-gyp,
  • windows-build-tools,
  • gulp,
  • browser-sync,
  • npm

Problem for fix!
After run command from my project directory

npm ls -g --depth=0
or
npm ls --depth=0

get message

E:\path\to\project\folder
`-- (empty)

I will be grateful for good advice!