Skip to content

terminal npmlog/log.js:57 #44807

@yyjazsf

Description

@yyjazsf

Issue Type: Bug

hi,I use yarn + nvm + oh my zsh.
and I only use yarn global, no npm i -g

I usually get the bug yarn/global/node_modules/npm/node_modules/npmlog/log.js:57

reproducible:
1、yarn global add( below package) and dva-cli or bower (maybe other, i don't try)
2、open vscode-insider's terminal(now is ok)
3、yarn global remove (bower or dva-cli what you just add)
4、open vscode-insider's terminal again(throw a error)
btw,my system terminal is ok
now, my global package

{
    "@angular/cli": "^1.7.2",
    "beidou-init": "^1.0.0-alpha.2",
    "browser-sync": "^2.23.6",
    "bs-platform": "^2.2.2",
    "create-react-app": "^1.5.2",
    "electron": "^1.8.2",
    "electron-packager": "^11.0.1",
    "eslint": "^4.18.1",
    "express-generator": "^4.15.5",
    "fis3": "^3.4.39",
    "flow-bin": "^0.66.0",
    "http-server": "^0.11.1",
    "lerna": "^3.0.0-alpha.1",
    "lighthouse": "^2.9.1",
    "loadtest": "^2.3.0",
    "node-gyp": "^3.6.2",
    "nrm": "^1.0.2",
    "parcel-bundler": "^1.6.2",
    "pm2": "^2.10.1",
    "prettier": "^1.11.1",
    "roadhog": "^2.2.0",
    "shipit-cli": "^3.0.0",
    "tslint": "^5.9.1",
    "typescript": "^2.7.2",
    "vue-cli": "^2.9.3"
}

VS Code version: Code - Insiders 1.21.0-insider (9a04587, 2018-03-01T06:39:57.509Z)
OS version: Darwin x64 17.4.0

System Info
Item Value
CPUs Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz (8 x 2200)
Load (avg) 2, 2, 2
Memory (System) 16.00GB (1.22GB free)
Process Argv /Applications/Visual Studio Code - Insiders.app/Contents/MacOS/Electron -psn_0_966892
Screen Reader no
VM 0%

Metadata

Metadata

Assignees

Labels

info-neededIssue requires more information from postermacosIssues with VS Code on MAC/OS XterminalGeneral terminal issues that don't fall under another label

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions