安装Yeoman,遇到的问题

时间:2022-09-12 17:00:28

在安装Yeoman遇到了一些报错,具体的步骤就不多说了,直接上码,具体的两处报错的地方。

第一个,创建webapp,直接报权限的错误,这时才留意到在它之前还有一个错误。

[root@iZ289zd8c52Z yeomanapp]# yo webapp
/usr/local/node/lib/node_modules/.yo_npminstall/configstore/1.4.0/configstore/index.js:
throw err;
^ Error: EACCES: permission denied, open '/root/.config/configstore/insight-yo.json.3906771838'
You don't have access to this file. at Error (native)
at Object.fs.openSync (fs.js:549:18)
at Object.fs.writeFileSync (fs.js:1156:15)
at Function.writeFileSync [as sync] (/usr/local/node/lib/node_modules/.yo_npminstall/write-file-atomic/1.1.4/write-file-atomic/index.js:37:8)
at Object.create.all.set (/usr/local/node/lib/node_modules/.yo_npminstall/configstore/1.4.0/configstore/index.js:62:21)
at Object.Configstore (/usr/local/node/lib/node_modules/.yo_npminstall/configstore/1.4.0/configstore/index.js:27:11)
at new Insight (/usr/local/node/lib/node_modules/.yo_npminstall/insight/0.7.0/insight/lib/index.js:37:34)
at Object.<anonymous> (/usr/local/node/lib/node_modules/.yo_npminstall/yo/1.8.4/yo/lib/cli.js:172:11)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)

前一个错误,再安装yeoman时,报的错误如下。

[root@iZ289zd8c52Z ~]# npm install -g yo
npm WARN deprecated cross-spawn-async@2.2.4: cross-spawn no longer requires a build toolchain, use it instead!
npm WARN deprecated npmconf@2.1.2: this package has been reintegrated into npm and is now out of date with respect to npm
npm WARN skippingAction Module is inside a symlinked module: not running update async@1.5.2 node_modules/yo/node_modules/async
npm WARN skippingAction Module is inside a symlinked module: not running remove ansi-styles@2.2.1 node_modules/yo/node_modules/chalk/node_modules/ansi-styles
npm WARN skippingAction Module is inside a symlinked module: not running remove escape-string-regexp@1.0.5 node_modules/yo/node_modules/chalk/node_modules/escape-string-regexp
npm WARN skippingAction Module is inside a symlinked module: not running remove has-ansi@2.0.0 node_modules/yo/node_modules/chalk/node_modules/has-ansi
npm WARN skippingAction Module is inside a symlinked module: not running remove supports-color@2.0.0 node_modules/yo/node_modules/chalk/node_modules/supports-color
npm WARN skippingAction Module is inside a symlinked module: not running update cli-list@0.1.8 node_modules/yo/node_modules/cli-list
npm WARN skippingAction Module is inside a symlinked module: not running remove graceful-fs@4.1.4 node_modules/yo/node_modules/configstore/node_modules/graceful-fs
npm WARN skippingAction Module is inside a symlinked module: not running remove mkdirp@0.5.1 node_modules/yo/node_modules/configstore/node_modules/mkdirp
npm WARN skippingAction Module is inside a symlinked module: not running remove object-assign@4.1.0 node_modules/yo/node_modules/configstore/node_modules/object-assign
npm WARN skippingAction Module is inside a symlinked module: not running remove os-tmpdir@1.0.1 node_modules/yo/node_modules/configstore/node_modules/os-tmpdir
npm WARN skippingAction Module is inside a symlinked module: not running remove osenv@0.1.3 node_modules/yo/node_modules/configstore/node_modules/osenv
npm WARN skippingAction Module is inside a symlinked module: not running remove uuid@2.0.2 node_modules/yo/node_modules/configstore/node_modules/uuid
npm WARN skippingAction Module is inside a symlinked module: not running remove write-file-atomic@1.1.4 node_modules/yo/node_modules/configstore/node_modules/write-file-atomic
npm WARN skippingAction Module is inside a symlinked module: not running remove xdg-basedir@2.0.0 node_modules/yo/node_modules/configstore/node_modules/xdg-basedir
npm WARN skippingAction Module is inside a symlinked module: not running remove cross-spawn@3.0.1 node_modules/yo/node_modules/cross-spawn
npm WARN skippingAction Module is inside a symlinked module: not running remove escape-string-regexp@1.0.5 node_modules/yo/node_modules/figures/node_modules/escape-string-regexp
npm WARN skippingAction Module is inside a symlinked module: not running remove object-assign@4.1.0 node_modules/yo/node_modules/figures/node_modules/object-assign
npm WARN skippingAction Module is inside a symlinked module: not running remove pify@2.3.0 node_modules/yo/node_modules/fullname/node_modules/pify
npm WARN skippingAction Module is inside a symlinked module: not running remove pinkie-promise@2.0.1 node_modules/yo/node_modules/fullname/node_modules/pinkie-promise
npm WARN skippingAction Module is inside a symlinked module: not running remove create-error-class@3.0.2 node_modules/yo/node_modules/got/node_modules/create-error-class
npm WARN skippingAction Module is inside a symlinked module: not running remove is-plain-obj@1.1.0 node_modules/yo/node_modules/got/node_modules/is-plain-obj
npm WARN skippingAction Module is inside a symlinked module: not running remove is-redirect@1.0.0 node_modules/yo/node_modules/got/node_modules/is-redirect
npm WARN skippingAction Module is inside a symlinked module: not running remove is-retry-allowed@1.0.0 node_modules/yo/node_modules/got/node_modules/is-retry-allowed
npm WARN skippingAction Module is inside a symlinked module: not running remove is-stream@1.1.0 node_modules/yo/node_modules/got/node_modules/is-stream
npm WARN skippingAction Module is inside a symlinked module: not running remove lowercase-keys@1.0.0 node_modules/yo/node_modules/got/node_modules/lowercase-keys
npm WARN skippingAction Module is inside a symlinked module: not running remove node-status-codes@1.0.0 node_modules/yo/node_modules/got/node_modules/node-status-codes
npm WARN skippingAction Module is inside a symlinked module: not running remove object-assign@4.1.0 node_modules/yo/node_modules/got/node_modules/object-assign
npm WARN skippingAction Module is inside a symlinked module: not running remove parse-json@2.2.0 node_modules/yo/node_modules/got/node_modules/parse-json
npm WARN skippingAction Module is inside a symlinked module: not running remove pinkie-promise@2.0.1 node_modules/yo/node_modules/got/node_modules/pinkie-promise
npm WARN skippingAction Module is inside a symlinked module: not running remove readable-stream@2.1.4 node_modules/yo/node_modules/got/node_modules/readable-stream
npm WARN skippingAction Module is inside a symlinked module: not running remove read-all-stream@3.1.0 node_modules/yo/node_modules/got/node_modules/read-all-stream
npm WARN skippingAction Module is inside a symlinked module: not running remove duplexer2@0.1.4 node_modules/yo/node_modules/got/node_modules/duplexer2
npm WARN skippingAction Module is inside a symlinked module: not running remove timed-out@2.0.0 node_modules/yo/node_modules/got/node_modules/timed-out
npm WARN skippingAction Module is inside a symlinked module: not running remove unzip-response@1.0.0 node_modules/yo/node_modules/got/node_modules/unzip-response
npm WARN skippingAction Module is inside a symlinked module: not running remove url-parse-lax@1.0.0 node_modules/yo/node_modules/got/node_modules/url-parse-lax
npm WARN skippingAction Module is inside a symlinked module: not running remove decamelize@1.2.0 node_modules/yo/node_modules/humanize-string/node_modules/decamelize
npm WARN skippingAction Module is inside a symlinked module: not running update humanize-string@1.0.1 node_modules/yo/node_modules/humanize-string
npm WARN skippingAction Module is inside a symlinked module: not running remove ansi-escapes@1.4.0 node_modules/yo/node_modules/inquirer/node_modules/ansi-escapes
npm WARN skippingAction Module is inside a symlinked module: not running remove ansi-regex@2.0.0 node_modules/yo/node_modules/inquirer/node_modules/ansi-regex
npm WARN skippingAction Module is inside a symlinked module: not running remove cli-cursor@1.0.2 node_modules/yo/node_modules/inquirer/node_modules/cli-cursor
npm WARN skippingAction Module is inside a symlinked module: not running remove cli-width@1.1.1 node_modules/yo/node_modules/inquirer/node_modules/cli-width
npm WARN skippingAction Module is inside a symlinked module: not running remove figures@1.7.0 node_modules/yo/node_modules/inquirer/node_modules/figures
npm WARN skippingAction Module is inside a symlinked module: not running remove lodash@3.10.1 node_modules/yo/node_modules/inquirer/node_modules/lodash
npm WARN skippingAction Module is inside a symlinked module: not running remove run-async@0.1.0 node_modules/yo/node_modules/inquirer/node_modules/run-async
npm WARN skippingAction Module is inside a symlinked module: not running remove npmconf@2.1.2 node_modules/yo/node_modules/fullname/node_modules/npmconf
npm WARN skippingAction Module is inside a symlinked module: not running remove rx-lite@3.1.2 node_modules/yo/node_modules/inquirer/node_modules/rx-lite
npm WARN skippingAction Module is inside a symlinked module: not running remove readline2@1.0.1 node_modules/yo/node_modules/inquirer/node_modules/readline2
npm WARN skippingAction Module is inside a symlinked module: not running remove through@2.3.8 node_modules/yo/node_modules/inquirer/node_modules/through
npm WARN skippingAction Module is inside a symlinked module: not running remove async@1.5.2 node_modules/yo/node_modules/insight/node_modules/async
npm WARN skippingAction Module is inside a symlinked module: not running remove configstore@1.4.0 node_modules/yo/node_modules/insight/node_modules/configstore
npm WARN skippingAction Module is inside a symlinked module: not running remove ansi-escapes@1.4.0 node_modules/yo/node_modules/insight/node_modules/inquirer/node_modules/ansi-escapes
npm WARN skippingAction Module is inside a symlinked module: not running remove ansi-regex@2.0.0 node_modules/yo/node_modules/insight/node_modules/inquirer/node_modules/ansi-regex
npm WARN skippingAction Module is inside a symlinked module: not running remove cli-cursor@1.0.2 node_modules/yo/node_modules/insight/node_modules/inquirer/node_modules/cli-cursor
npm WARN skippingAction Module is inside a symlinked module: not running remove cli-width@1.1.1 node_modules/yo/node_modules/insight/node_modules/inquirer/node_modules/cli-width
npm WARN skippingAction Module is inside a symlinked module: not running remove figures@1.7.0 node_modules/yo/node_modules/insight/node_modules/inquirer/node_modules/figures
npm WARN skippingAction Module is inside a symlinked module: not running remove lodash@3.10.1 node_modules/yo/node_modules/insight/node_modules/inquirer/node_modules/lodash
npm WARN skippingAction Module is inside a symlinked module: not running remove readline2@1.0.1 node_modules/yo/node_modules/insight/node_modules/inquirer/node_modules/readline2
npm WARN skippingAction Module is inside a symlinked module: not running remove run-async@0.1.0 node_modules/yo/node_modules/insight/node_modules/inquirer/node_modules/run-async
npm WARN skippingAction Module is inside a symlinked module: not running remove rx-lite@3.1.2 node_modules/yo/node_modules/insight/node_modules/inquirer/node_modules/rx-lite
npm WARN skippingAction Module is inside a symlinked module: not running remove through@2.3.8 node_modules/yo/node_modules/insight/node_modules/inquirer/node_modules/through
npm WARN skippingAction Module is inside a symlinked module: not running remove lodash.debounce@3.1.1 node_modules/yo/node_modules/insight/node_modules/lodash.debounce
npm WARN skippingAction Module is inside a symlinked module: not running remove object-assign@4.1.0 node_modules/yo/node_modules/insight/node_modules/object-assign
npm WARN skippingAction Module is inside a symlinked module: not running remove os-name@1.0.3 node_modules/yo/node_modules/insight/node_modules/os-name
npm WARN skippingAction Module is inside a symlinked module: not running remove tough-cookie@2.2.2 node_modules/yo/node_modules/insight/node_modules/tough-cookie
npm WARN skippingAction Module is inside a symlinked module: not running update lodash@3.10.1 node_modules/yo/node_modules/lodash
npm WARN skippingAction Module is inside a symlinked module: not running remove camelcase-keys@2.1.0 node_modules/yo/node_modules/meow/node_modules/camelcase-keys
npm WARN skippingAction Module is inside a symlinked module: not running remove decamelize@1.2.0 node_modules/yo/node_modules/meow/node_modules/decamelize
npm WARN skippingAction Module is inside a symlinked module: not running remove loud-rejection@1.4.1 node_modules/yo/node_modules/meow/node_modules/loud-rejection
npm WARN skippingAction Module is inside a symlinked module: not running remove map-obj@1.0.1 node_modules/yo/node_modules/meow/node_modules/map-obj
npm WARN skippingAction Module is inside a symlinked module: not running update minimist@1.2.0 node_modules/yo/node_modules/meow/node_modules/minimist
npm WARN skippingAction Module is inside a symlinked module: not running remove normalize-package-data@2.3.5 node_modules/yo/node_modules/meow/node_modules/normalize-package-data
npm WARN skippingAction Module is inside a symlinked module: not running remove object-assign@4.1.0 node_modules/yo/node_modules/meow/node_modules/object-assign
npm WARN skippingAction Module is inside a symlinked module: not running remove trim-newlines@1.0.0 node_modules/yo/node_modules/meow/node_modules/trim-newlines
npm WARN skippingAction Module is inside a symlinked module: not running remove got@5.6.0 node_modules/yo/node_modules/npm-keyword/node_modules/got
npm WARN skippingAction Module is inside a symlinked module: not running remove object-assign@4.1.0 node_modules/yo/node_modules/npm-keyword/node_modules/object-assign
npm WARN skippingAction Module is inside a symlinked module: not running remove pinkie-promise@2.0.1 node_modules/yo/node_modules/npm-keyword/node_modules/pinkie-promise
npm WARN skippingAction Module is inside a symlinked module: not running update figures@1.7.0 node_modules/yo/node_modules/figures
npm WARN skippingAction Module is inside a symlinked module: not running remove object-assign@4.1.0 node_modules/yo/node_modules/opn/node_modules/object-assign
npm WARN skippingAction Module is inside a symlinked module: not running update opn@3.0.3 node_modules/yo/node_modules/opn
npm WARN skippingAction Module is inside a symlinked module: not running remove got@5.6.0 node_modules/yo/node_modules/package-json/node_modules/got
npm WARN skippingAction Module is inside a symlinked module: not running remove rc@1.1.6 node_modules/yo/node_modules/package-json/node_modules/rc
npm WARN skippingAction Module is inside a symlinked module: not running remove registry-url@3.1.0 node_modules/yo/node_modules/npm-keyword/node_modules/registry-url
npm WARN skippingAction Module is inside a symlinked module: not running remove registry-url@3.1.0 node_modules/yo/node_modules/package-json/node_modules/registry-url
npm WARN skippingAction Module is inside a symlinked module: not running update semver@5.1.0 node_modules/yo/node_modules/package-json/node_modules/semver
npm WARN skippingAction Module is inside a symlinked module: not running remove execall@1.0.0 node_modules/yo/node_modules/parse-help/node_modules/execall
npm WARN skippingAction Module is inside a symlinked module: not running update parse-help@0.1.1 node_modules/yo/node_modules/parse-help
npm WARN skippingAction Module is inside a symlinked module: not running remove find-up@1.1.2 node_modules/yo/node_modules/read-pkg-up/node_modules/find-up
npm WARN skippingAction Module is inside a symlinked module: not running remove read-pkg@1.1.0 node_modules/yo/node_modules/read-pkg-up/node_modules/read-pkg
npm WARN skippingAction Module is inside a symlinked module: not running remove read-pkg-up@1.0.1 node_modules/yo/node_modules/meow/node_modules/read-pkg-up
npm WARN skippingAction Module is inside a symlinked module: not running remove is-finite@1.0.1 node_modules/yo/node_modules/repeating/node_modules/is-finite
npm WARN skippingAction Module is inside a symlinked module: not running update repeating@2.0.1 node_modules/yo/node_modules/repeating
npm WARN skippingAction Module is inside a symlinked module: not running remove redent@1.0.0 node_modules/yo/node_modules/meow/node_modules/redent
npm WARN skippingAction Module is inside a symlinked module: not running remove downgrade-root@1.1.0 node_modules/yo/node_modules/root-check/node_modules/downgrade-root
npm WARN skippingAction Module is inside a symlinked module: not running remove arrify@1.0.1 node_modules/yo/node_modules/sort-on/node_modules/arrify
npm WARN skippingAction Module is inside a symlinked module: not running remove dot-prop@2.4.0 node_modules/yo/node_modules/sort-on/node_modules/dot-prop
npm WARN skippingAction Module is inside a symlinked module: not running update sort-on@1.3.0 node_modules/yo/node_modules/sort-on
npm WARN skippingAction Module is inside a symlinked module: not running remove strip-ansi@3.0.1 node_modules/yo/node_modules/string-length/node_modules/strip-ansi
npm WARN skippingAction Module is inside a symlinked module: not running remove strip-ansi@3.0.1 node_modules/yo/node_modules/insight/node_modules/inquirer/node_modules/strip-ansi
npm WARN skippingAction Module is inside a symlinked module: not running remove strip-ansi@3.0.1 node_modules/yo/node_modules/inquirer/node_modules/strip-ansi
npm WARN skippingAction Module is inside a symlinked module: not running remove string-width@1.0.1 node_modules/yo/node_modules/inquirer/node_modules/string-width
npm WARN skippingAction Module is inside a symlinked module: not running remove strip-ansi@3.0.1 node_modules/yo/node_modules/chalk/node_modules/strip-ansi
npm WARN skippingAction Module is inside a symlinked module: not running remove sudo-block@1.2.0 node_modules/yo/node_modules/root-check/node_modules/sudo-block
npm WARN skippingAction Module is inside a symlinked module: not running remove request@2.72.0 node_modules/yo/node_modules/insight/node_modules/request
npm WARN skippingAction Module is inside a symlinked module: not running remove chalk@1.1.3 node_modules/yo/node_modules/insight/node_modules/inquirer/node_modules/chalk
npm WARN skippingAction Module is inside a symlinked module: not running remove chalk@1.1.3 node_modules/yo/node_modules/insight/node_modules/chalk
npm WARN skippingAction Module is inside a symlinked module: not running remove chalk@1.1.3 node_modules/yo/node_modules/inquirer/node_modules/chalk
npm WARN skippingAction Module is inside a symlinked module: not running update string-length@1.0.1 node_modules/yo/node_modules/string-length
npm WARN skippingAction Module is inside a symlinked module: not running update chalk@1.1.3 node_modules/yo/node_modules/chalk
npm WARN skippingAction Module is inside a symlinked module: not running update root-check@1.0.0 node_modules/yo/node_modules/root-check
npm WARN skippingAction Module is inside a symlinked module: not running remove debug@2.2.0 node_modules/yo/node_modules/tabtab/node_modules/debug
npm WARN skippingAction Module is inside a symlinked module: not running remove ansi-escapes@1.4.0 node_modules/yo/node_modules/tabtab/node_modules/inquirer/node_modules/ansi-escapes
npm WARN skippingAction Module is inside a symlinked module: not running remove chalk@1.1.3 node_modules/yo/node_modules/tabtab/node_modules/inquirer/node_modules/chalk
npm WARN skippingAction Module is inside a symlinked module: not running remove cli-cursor@1.0.2 node_modules/yo/node_modules/tabtab/node_modules/inquirer/node_modules/cli-cursor
npm WARN skippingAction Module is inside a symlinked module: not running remove cli-width@2.1.0 node_modules/yo/node_modules/tabtab/node_modules/inquirer/node_modules/cli-width
npm WARN skippingAction Module is inside a symlinked module: not running remove figures@1.7.0 node_modules/yo/node_modules/tabtab/node_modules/inquirer/node_modules/figures
npm WARN skippingAction Module is inside a symlinked module: not running remove lodash@4.13.1 node_modules/yo/node_modules/tabtab/node_modules/inquirer/node_modules/lodash
npm WARN skippingAction Module is inside a symlinked module: not running remove mute-stream@0.0.6 node_modules/yo/node_modules/tabtab/node_modules/inquirer/node_modules/mute-stream
npm WARN skippingAction Module is inside a symlinked module: not running remove pinkie-promise@2.0.1 node_modules/yo/node_modules/tabtab/node_modules/inquirer/node_modules/pinkie-promise
npm WARN skippingAction Module is inside a symlinked module: not running remove run-async@2.2.0 node_modules/yo/node_modules/tabtab/node_modules/inquirer/node_modules/run-async
npm WARN skippingAction Module is inside a symlinked module: not running remove rx@4.1.0 node_modules/yo/node_modules/tabtab/node_modules/inquirer/node_modules/rx
npm WARN skippingAction Module is inside a symlinked module: not running remove string-width@1.0.1 node_modules/yo/node_modules/tabtab/node_modules/inquirer/node_modules/string-width
npm WARN skippingAction Module is inside a symlinked module: not running remove strip-ansi@3.0.1 node_modules/yo/node_modules/tabtab/node_modules/inquirer/node_modules/strip-ansi
npm WARN skippingAction Module is inside a symlinked module: not running remove through@2.3.8 node_modules/yo/node_modules/tabtab/node_modules/inquirer/node_modules/through
npm WARN skippingAction Module is inside a symlinked module: not running update minimist@1.2.0 node_modules/yo/node_modules/tabtab/node_modules/minimist
npm WARN skippingAction Module is inside a symlinked module: not running remove mkdirp@0.5.1 node_modules/yo/node_modules/tabtab/node_modules/mkdirp
npm WARN skippingAction Module is inside a symlinked module: not running remove npmlog@2.0.4 node_modules/yo/node_modules/tabtab/node_modules/npmlog
npm WARN skippingAction Module is inside a symlinked module: not running remove object-assign@4.1.0 node_modules/yo/node_modules/tabtab/node_modules/object-assign
npm WARN skippingAction Module is inside a symlinked module: not running update inquirer@1.0.3 node_modules/yo/node_modules/tabtab/node_modules/inquirer
npm WARN skippingAction Module is inside a symlinked module: not running update titleize@1.0.0 node_modules/yo/node_modules/titleize
npm WARN skippingAction Module is inside a symlinked module: not running remove boxen@0.3.1 node_modules/yo/node_modules/update-notifier/node_modules/boxen
npm WARN skippingAction Module is inside a symlinked module: not running remove chalk@1.1.3 node_modules/yo/node_modules/update-notifier/node_modules/chalk
npm WARN skippingAction Module is inside a symlinked module: not running remove dot-prop@2.4.0 node_modules/yo/node_modules/update-notifier/node_modules/configstore/node_modules/dot-prop
npm WARN skippingAction Module is inside a symlinked module: not running remove graceful-fs@4.1.4 node_modules/yo/node_modules/update-notifier/node_modules/configstore/node_modules/graceful-fs
npm WARN skippingAction Module is inside a symlinked module: not running remove mkdirp@0.5.1 node_modules/yo/node_modules/update-notifier/node_modules/configstore/node_modules/mkdirp
npm WARN skippingAction Module is inside a symlinked module: not running remove object-assign@4.1.0 node_modules/yo/node_modules/update-notifier/node_modules/configstore/node_modules/object-assign
npm WARN skippingAction Module is inside a symlinked module: not running remove os-tmpdir@1.0.1 node_modules/yo/node_modules/update-notifier/node_modules/configstore/node_modules/os-tmpdir
npm WARN skippingAction Module is inside a symlinked module: not running remove osenv@0.1.3 node_modules/yo/node_modules/update-notifier/node_modules/configstore/node_modules/osenv
npm WARN skippingAction Module is inside a symlinked module: not running remove uuid@2.0.2 node_modules/yo/node_modules/update-notifier/node_modules/configstore/node_modules/uuid
npm WARN skippingAction Module is inside a symlinked module: not running remove write-file-atomic@1.1.4 node_modules/yo/node_modules/update-notifier/node_modules/configstore/node_modules/write-file-atomic
npm WARN skippingAction Module is inside a symlinked module: not running remove xdg-basedir@2.0.0 node_modules/yo/node_modules/update-notifier/node_modules/configstore/node_modules/xdg-basedir
npm WARN skippingAction Module is inside a symlinked module: not running remove is-npm@1.0.0 node_modules/yo/node_modules/update-notifier/node_modules/is-npm
npm WARN skippingAction Module is inside a symlinked module: not running remove latest-version@2.0.0 node_modules/yo/node_modules/update-notifier/node_modules/latest-version
npm WARN skippingAction Module is inside a symlinked module: not running remove semver-diff@2.1.0 node_modules/yo/node_modules/update-notifier/node_modules/semver-diff
npm WARN skippingAction Module is inside a symlinked module: not running remove os-homedir@1.0.1 node_modules/yo/node_modules/user-home/node_modules/os-homedir
npm WARN skippingAction Module is inside a symlinked module: not running update user-home@2.0.0 node_modules/yo/node_modules/user-home
npm WARN skippingAction Module is inside a symlinked module: not running update got@5.6.0 node_modules/yo/node_modules/got
npm WARN skippingAction Module is inside a symlinked module: not running update package-json@2.3.2 node_modules/yo/node_modules/package-json
npm WARN skippingAction Module is inside a symlinked module: not running update npm-keyword@4.2.0 node_modules/yo/node_modules/npm-keyword
npm WARN skippingAction Module is inside a symlinked module: not running update tabtab@1.3.2 node_modules/yo/node_modules/tabtab
npm WARN skippingAction Module is inside a symlinked module: not running update read-pkg-up@1.0.1 node_modules/yo/node_modules/read-pkg-up
npm WARN skippingAction Module is inside a symlinked module: not running update meow@3.7.0 node_modules/yo/node_modules/meow
npm WARN skippingAction Module is inside a symlinked module: not running update inquirer@0.10.1 node_modules/yo/node_modules/insight/node_modules/inquirer
npm WARN skippingAction Module is inside a symlinked module: not running update inquirer@0.11.4 node_modules/yo/node_modules/inquirer
npm WARN skippingAction Module is inside a symlinked module: not running update fullname@2.1.0 node_modules/yo/node_modules/fullname
npm WARN skippingAction Module is inside a symlinked module: not running update configstore@2.0.0 node_modules/yo/node_modules/update-notifier/node_modules/configstore
npm WARN skippingAction Module is inside a symlinked module: not running update update-notifier@0.6.3 node_modules/yo/node_modules/update-notifier
npm WARN skippingAction Module is inside a symlinked module: not running update configstore@1.4.0 node_modules/yo/node_modules/configstore
npm WARN skippingAction Module is inside a symlinked module: not running update insight@0.7.0 node_modules/yo/node_modules/insight
npm WARN skippingAction Module is inside a symlinked module: not running remove has-flag@1.0.0 node_modules/yo/node_modules/yeoman-character/node_modules/supports-color/node_modules/has-flag
npm WARN skippingAction Module is inside a symlinked module: not running update supports-color@3.1.2 node_modules/yo/node_modules/yeoman-character/node_modules/supports-color
npm WARN skippingAction Module is inside a symlinked module: not running update yeoman-character@1.1.0 node_modules/yo/node_modules/yeoman-character
npm WARN skippingAction Module is inside a symlinked module: not running remove bin-version-check@2.1.0 node_modules/yo/node_modules/yeoman-doctor/node_modules/bin-version-check
npm WARN skippingAction Module is inside a symlinked module: not running remove chalk@1.1.3 node_modules/yo/node_modules/yeoman-doctor/node_modules/chalk
npm WARN skippingAction Module is inside a symlinked module: not running remove each-async@1.1.1 node_modules/yo/node_modules/yeoman-doctor/node_modules/each-async
npm WARN skippingAction Module is inside a symlinked module: not running remove object-values@1.0.0 node_modules/yo/node_modules/yeoman-doctor/node_modules/object-values
npm WARN skippingAction Module is inside a symlinked module: not running update semver@5.1.0 node_modules/yo/node_modules/yeoman-doctor/node_modules/semver
npm WARN skippingAction Module is inside a symlinked module: not running remove twig@0.8.9 node_modules/yo/node_modules/yeoman-doctor/node_modules/twig
npm WARN skippingAction Module is inside a symlinked module: not running remove user-home@2.0.0 node_modules/yo/node_modules/yeoman-doctor/node_modules/user-home
npm WARN skippingAction Module is inside a symlinked module: not running remove chalk@1.1.3 node_modules/yo/node_modules/yeoman-environment/node_modules/chalk
npm WARN skippingAction Module is inside a symlinked module: not running remove debug@2.2.0 node_modules/yo/node_modules/yeoman-environment/node_modules/debug
npm WARN skippingAction Module is inside a symlinked module: not running remove diff@2.2.3 node_modules/yo/node_modules/yeoman-environment/node_modules/diff
npm WARN skippingAction Module is inside a symlinked module: not running remove escape-string-regexp@1.0.5 node_modules/yo/node_modules/yeoman-environment/node_modules/escape-string-regexp
npm WARN skippingAction Module is inside a symlinked module: not running remove globby@4.1.0 node_modules/yo/node_modules/yeoman-environment/node_modules/globby
npm WARN skippingAction Module is inside a symlinked module: not running remove grouped-queue@0.3.2 node_modules/yo/node_modules/yeoman-environment/node_modules/grouped-queue
npm WARN skippingAction Module is inside a symlinked module: not running update lodash@4.13.1 node_modules/yo/node_modules/yeoman-environment/node_modules/lodash
npm WARN skippingAction Module is inside a symlinked module: not running remove log-symbols@1.0.2 node_modules/yo/node_modules/yeoman-environment/node_modules/log-symbols
npm WARN skippingAction Module is inside a symlinked module: not running remove log-symbols@1.0.2 node_modules/yo/node_modules/yeoman-doctor/node_modules/log-symbols
npm WARN skippingAction Module is inside a symlinked module: not running update yeoman-doctor@2.1.0 node_modules/yo/node_modules/yeoman-doctor
npm WARN skippingAction Module is inside a symlinked module: not running remove mem-fs@1.1.3 node_modules/yo/node_modules/yeoman-environment/node_modules/mem-fs
npm WARN skippingAction Module is inside a symlinked module: not running update inquirer@1.0.3 node_modules/yo/node_modules/yeoman-environment/node_modules/inquirer
npm WARN skippingAction Module is inside a symlinked module: not running remove text-table@0.2.0 node_modules/yo/node_modules/yeoman-environment/node_modules/text-table
npm WARN skippingAction Module is inside a symlinked module: not running remove untildify@2.1.0 node_modules/yo/node_modules/yeoman-environment/node_modules/untildify
npm WARN skippingAction Module is inside a symlinked module: not running update yeoman-environment@1.6.1 node_modules/yo/node_modules/yeoman-environment
npm WARN skippingAction Module is inside a symlinked module: not running remove ansi-regex@2.0.0 node_modules/yo/node_modules/yosay/node_modules/ansi-regex
npm WARN skippingAction Module is inside a symlinked module: not running remove ansi-styles@2.2.1 node_modules/yo/node_modules/yosay/node_modules/ansi-styles
npm WARN skippingAction Module is inside a symlinked module: not running remove chalk@1.1.3 node_modules/yo/node_modules/yosay/node_modules/chalk
npm WARN skippingAction Module is inside a symlinked module: not running remove pad-component@0.0.1 node_modules/yo/node_modules/yosay/node_modules/pad-component
npm WARN skippingAction Module is inside a symlinked module: not running remove repeating@2.0.1 node_modules/yo/node_modules/yosay/node_modules/repeating
npm WARN skippingAction Module is inside a symlinked module: not running remove string-width@1.0.1 node_modules/yo/node_modules/yosay/node_modules/string-width
npm WARN skippingAction Module is inside a symlinked module: not running remove strip-ansi@3.0.1 node_modules/yo/node_modules/yosay/node_modules/strip-ansi
npm WARN skippingAction Module is inside a symlinked module: not running remove taketalk@1.0.0 node_modules/yo/node_modules/yosay/node_modules/taketalk
npm WARN skippingAction Module is inside a symlinked module: not running remove wrap-ansi@2.0.0 node_modules/yo/node_modules/yosay/node_modules/wrap-ansi
npm WARN skippingAction Module is inside a symlinked module: not running update yosay@1.1.1 node_modules/yo/node_modules/yosay
npm WARN update-linked node_modules/yo needs updating to 1.8.1 from 1.8.4 but we can't, as it's a symlink

没办法,只能各种搜索,各种重装,最后发现原先的nodejs、npm版本有些老了,所以导致的问题,具体操作如下:

Step 1: Remove Yeoman

$ npm uninstall -g yo

Step 2: Clear NPM Cache

$ npm cache clean

Step 3: Upgrade NPM to latest version

$ npm install -g npm

Step 4: Install Yeoman

$ npm install -g yo

参考链接:http://serverfault.com/questions/638971/npm-install-generator-webapp-fail

安装Yeoman,遇到的问题的更多相关文章

  1. 安装Yeoman

    先安装nodejs,我用的centos7,所以可以安装5的版本,如果不是请参考https://nodejs.org/en/download/package-manager/#enterprise-li ...

  2. Windows上安装Yeoman

    之前直接安装完Node.js后,运行npm install -g yo命令,结果出现什么"要安装framework2.0 sdk,vcbuild"什么的错误,怎么也弄不好,结果是各 ...

  3. 解决mac下安装yeoman时没有权限问题

    在mac下安装yeoman经常会出现如下图错误: 解决办法:在命令行执行-- sudo chown -R $USER /usr/local/lib/node_modules 回车就OK

  4. 安装yeoman报没有权限的错误

    新的ubuntu服务器, 不小心先装了npm, 再装的node, 再用meanjs装的yeoman(即不是自己npm install -g yo装的, 是用meanjs的stack一步到位的),而正常 ...

  5. 由React学习到Yeoman安装以及遇到的问题

    离职闲下来之后想着学一些新知识,本来是想从react入手,结果延伸出去的内容就像一棵树的树枝,不断增加. 学习计划是从这里开始的(6周学习计划,攻克javascript难关 https://zhuan ...

  6. Mac OS 环境下 安装 Asp&period;Net及使用Yeoman 创建Asp&period;Net 项目

    本文是按照英文原文:Installing ASP.NET 5 On Mac OS安装时遇到的问题的总结Blog. 原文提示如下: Installing ASP.NET 5 On Mac OS XBy ...

  7. 为什么选择 Yeoman 及 Yeoman 的安装

    今天向您介绍一个我刚接触到的比较新的网络前端开发工具: Yeoman . 什么是Yeoman? Yeoman是Google的团队和外部贡献者团队合作开发的一个项目.通过内部三个工具(yo,grunt, ...

  8. yeoman bower grunt等安装

    grunt-beginner前端自动化工具:http://www.imooc.com/learn/30 grunt的安装 官方站点:http://gruntjs.com/ 安装指令: sudo npm ...

  9. Yeoman安装

    Yeoman帮助我们创建项目,提供更好的工具来使我们的项目更多样化. Yeoman提供generator系统,一个generator是一个插件,在我们在一个完整的项目上使用‘yo’命令时,会运行该ge ...

随机推荐

  1. JSONP是如何工作的

    我对这个问题的探究来源于一个需求: 当访问某个页面的时候,需要向另外一个网站报告一下这次访问的信息. 其实发一个跨域的请求就能大致实现这个需求.我们发跨域的例子其实很常见,例如请求一个第三方的图片.引 ...

  2. 简单的C语言文法

    <程序>→<外部声明>|<程序><外部声明> <外部声明>→<函数定义>|<声明> <函数定义>→&lt ...

  3. self&period;nsme 和 &lowbar;name 的问题

    .h文件 @interface myclass:NSObject @property(nonatomic,retain)NSArray*MyArray; @end .m文件 @implementati ...

  4. C&num;&lowbar;delegate - 调用列表 计算阶乘

    using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Dele ...

  5. 中科燕园GIS外包---地铁GIS项目

    (1)地铁保护及project地质管理     • 地铁保护     地铁交通既有运量大,速度快的特点,又有差别于其它交通方式的在地下执行的空间特殊性,因此地铁的保护显得尤为重要. 首先必须编制完整的 ...

  6. E 洛谷 P3598 Koishi Loves Number Theory&lbrack;数论&rsqb;

    题目描述 Koishi十分喜欢数论. 她的朋友Flandre为了检测她和数论是不是真爱,给了她一个问题. 已知 给定和个数,求对取模. 按照套路,呆萌的Koishi当然假装不会做了,于是她来向你请教这 ...

  7. &lbrack;转&rsqb;USDT与omniCore钱包

    本文转自:http://www.cnblogs.com/red-evil/p/10039740.html USDTUSDT,又称为泰达币,是由Tether公司在 2015年推出的一种与美元锚定的加密货 ...

  8. c&num; 如何 使用共用体

    用起来真的方便 转摘如下: C#借助FieldOffset属性实现共用体与强制类型转换 这两天被C#的强制类型转换弄得有点不习惯.事出如此. 在C#中,我打算读二进制文.文件的结构很简单,一连串的紧密 ...

  9. java method&period;isBridge

    作者:木女孩链接:https://www.zhihu.com/question/54895701/answer/141623158来源:知乎著作权归作者所有.商业转载请联系作者获得授权,非商业转载请注 ...

  10. IntelliJ IDEA 2017 汉化包及教程

    一.准备 官网下载IntelliJ IDEA 2017 并安装好 下载汉化包 (百度云链接:http://pan.baidu.com/s/1slS9ZMP 密码:gp79) 二.汉化 此处有两种方法, ...