Installation 未在VDI中安装Yeoman发电机

Installation 未在VDI中安装Yeoman发电机,installation,yeoman,Installation,Yeoman,尝试使用VDI for office Word加载项中的“npm install-g yo generator office”安装(具有管理员权限)Yeoman 为VDI正确设置了所有代理和注册表,仍然面临以下错误问题 npm安装-g yo发电机办公室 npm警告已弃用opn@6.0.0:包已重命名为打开 npm警告已弃用request@2.88.2:请求已被否决,请参阅请求/请求#3142 npm警告不推荐的har-validator@5.1.5:不再支持此库 npm警告不推荐的解决方案-ur

尝试使用VDI for office Word加载项中的“npm install-g yo generator office”安装(具有管理员权限)Yeoman 为VDI正确设置了所有代理和注册表,仍然面临以下错误问题

npm安装-g yo发电机办公室 npm警告已弃用opn@6.0.0:包已重命名为打开 npm警告已弃用request@2.88.2:请求已被否决,请参阅请求/请求#3142 npm警告不推荐的har-validator@5.1.5:不再支持此库 npm警告不推荐的解决方案-url@0.2.1: npm警告已弃用urix@0.1.0:请看 npm警告不推荐的交叉繁殖-async@2.2.5:交叉繁殖不再需要构建工具链,请改用它 C:\Users\Administrator\AppData\Roaming\npm\yo complete->C:\Users\Administrator\AppData\Roaming\npm\node\u modules\yo\lib\completion\index.js C:\Users\Administrator\AppData\Roaming\npm\yo->C:\Users\Administrator\AppData\Roaming\npm\node\u modules\yo\lib\cli.js

yo@3.1.1 postinstall C:\Users\Administrator\AppData\Roaming\npm\node_modules\yo
yodoctor

Yeoman Doctor
Running sanity checks on your system

√ No .bowerrc file in home directory
√ Global configuration file is valid
√ NODE_PATH matches the npm root
√ No .yo-rc.json file in home directory
√ Node.js version
ErrorClass [RequestError]: getaddrinfo ENOTFOUND registry.npmjs.org
at ClientRequest. (C:\Users\Administrator\AppData\Roaming\npm\node_modules\yo\node_modules\latest-version\node_modules\got\index.js:73:21)
at Object.onceWrapper (events.js:313:26)
at ClientRequest.emit (events.js:223:5)
at ClientRequest.EventEmitter.emit (domain.js:475:20)
at Socket.socketErrorListener (_http_client.js:406:9)
at Socket.emit (events.js:223:5)
at Socket.EventEmitter.emit (domain.js:475:20)
at emitErrorNT (internal/streams/destroy.js:92:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
at processTicksAndRejections (internal/process/task_queues.js:81:21) {
code: 'ENOTFOUND',
message: 'getaddrinfo ENOTFOUND registry.npmjs.org',
host: 'registry.npmjs.org'
hostname: 'registry.npmjs.org',
method: 'GET',
path: '/yo'
}
× yo version
ErrorClass [RequestError]: getaddrinfo ENOTFOUND registry.npmjs.org
at ClientRequest. 

(C:\Users\Administrator\AppData\Roaming\npm\node_modules\yo\node_modules\latest-version\node_modules\got\index.js:73:21)
at Object.onceWrapper (events.js:313:26)
at ClientRequest.emit (events.js:223:5)
at ClientRequest.EventEmitter.emit (domain.js:475:20)
at Socket.socketErrorListener (_http_client.js:406:9)
at Socket.emit (events.js:223:5)
at Socket.EventEmitter.emit (domain.js:475:20)
at emitErrorNT (internal/streams/destroy.js:92:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
at processTicksAndRejections (internal/process/task_queues.js:81:21) {
code: 'ENOTFOUND',
message: 'getaddrinfo ENOTFOUND registry.npmjs.org',
host: 'registry.npmjs.org',
hostname: 'registry.npmjs.org',
method: 'GET',
path: '/yo'
}


Found potential issues on your machine
generator-office@1.7.6
yo@3.1.1
updated 2 packages in 194.549s