星空网 > 软件开发 > Java

安装Yeoman,遇到的问题

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

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

[root@iZ289zd8c52Z yeomanapp]# yo webapp/usr/local/node/lib/node_modules/.yo_npminstall/configstore/1.4.0/configstore/index.js:69        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 yonpm 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 npmnpm WARN skippingAction Module is inside a symlinked module: not running update async@1.5.2 node_modules/yo/node_modules/asyncnpm 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-stylesnpm 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-regexpnpm 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-ansinpm 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-colornpm WARN skippingAction Module is inside a symlinked module: not running update cli-list@0.1.8 node_modules/yo/node_modules/cli-listnpm 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-fsnpm WARN skippingAction Module is inside a symlinked module: not running remove mkdirp@0.5.1 node_modules/yo/node_modules/configstore/node_modules/mkdirpnpm 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-assignnpm 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-tmpdirnpm WARN skippingAction Module is inside a symlinked module: not running remove osenv@0.1.3 node_modules/yo/node_modules/configstore/node_modules/osenvnpm WARN skippingAction Module is inside a symlinked module: not running remove uuid@2.0.2 node_modules/yo/node_modules/configstore/node_modules/uuidnpm 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-atomicnpm 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-basedirnpm WARN skippingAction Module is inside a symlinked module: not running remove cross-spawn@3.0.1 node_modules/yo/node_modules/cross-spawnnpm 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-regexpnpm 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-assignnpm WARN skippingAction Module is inside a symlinked module: not running remove pify@2.3.0 node_modules/yo/node_modules/fullname/node_modules/pifynpm 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-promisenpm 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-classnpm 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-objnpm 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-redirectnpm 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-allowednpm 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-streamnpm 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-keysnpm 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-codesnpm 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-assignnpm 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-jsonnpm 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-promisenpm 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-streamnpm 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-streamnpm WARN skippingAction Module is inside a symlinked module: not running remove duplexer2@0.1.4 node_modules/yo/node_modules/got/node_modules/duplexer2npm 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-outnpm 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-responsenpm 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-laxnpm WARN skippingAction Module is inside a symlinked module: not running remove decamelize@1.2.0 node_modules/yo/node_modules/humanize-string/node_modules/decamelizenpm WARN skippingAction Module is inside a symlinked module: not running update humanize-string@1.0.1 node_modules/yo/node_modules/humanize-stringnpm 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-escapesnpm 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-regexnpm 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-cursornpm 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-widthnpm WARN skippingAction Module is inside a symlinked module: not running remove figures@1.7.0 node_modules/yo/node_modules/inquirer/node_modules/figuresnpm WARN skippingAction Module is inside a symlinked module: not running remove lodash@3.10.1 node_modules/yo/node_modules/inquirer/node_modules/lodashnpm 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-asyncnpm WARN skippingAction Module is inside a symlinked module: not running remove npmconf@2.1.2 node_modules/yo/node_modules/fullname/node_modules/npmconfnpm 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-litenpm WARN skippingAction Module is inside a symlinked module: not running remove readline2@1.0.1 node_modules/yo/node_modules/inquirer/node_modules/readline2npm WARN skippingAction Module is inside a symlinked module: not running remove through@2.3.8 node_modules/yo/node_modules/inquirer/node_modules/throughnpm WARN skippingAction Module is inside a symlinked module: not running remove async@1.5.2 node_modules/yo/node_modules/insight/node_modules/asyncnpm WARN skippingAction Module is inside a symlinked module: not running remove configstore@1.4.0 node_modules/yo/node_modules/insight/node_modules/configstorenpm 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-escapesnpm 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-regexnpm 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-cursornpm 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-widthnpm 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/figuresnpm 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/lodashnpm 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/readline2npm 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-asyncnpm 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-litenpm 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/throughnpm 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.debouncenpm 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-assignnpm 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-namenpm 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-cookienpm WARN skippingAction Module is inside a symlinked module: not running update lodash@3.10.1 node_modules/yo/node_modules/lodashnpm 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-keysnpm WARN skippingAction Module is inside a symlinked module: not running remove decamelize@1.2.0 node_modules/yo/node_modules/meow/node_modules/decamelizenpm 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-rejectionnpm 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-objnpm WARN skippingAction Module is inside a symlinked module: not running update minimist@1.2.0 node_modules/yo/node_modules/meow/node_modules/minimistnpm 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-datanpm 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-assignnpm 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-newlinesnpm WARN skippingAction Module is inside a symlinked module: not running remove got@5.6.0 node_modules/yo/node_modules/npm-keyword/node_modules/gotnpm 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-assignnpm 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-promisenpm WARN skippingAction Module is inside a symlinked module: not running update figures@1.7.0 node_modules/yo/node_modules/figuresnpm 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-assignnpm WARN skippingAction Module is inside a symlinked module: not running update opn@3.0.3 node_modules/yo/node_modules/opnnpm WARN skippingAction Module is inside a symlinked module: not running remove got@5.6.0 node_modules/yo/node_modules/package-json/node_modules/gotnpm WARN skippingAction Module is inside a symlinked module: not running remove rc@1.1.6 node_modules/yo/node_modules/package-json/node_modules/rcnpm 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-urlnpm 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-urlnpm WARN skippingAction Module is inside a symlinked module: not running update semver@5.1.0 node_modules/yo/node_modules/package-json/node_modules/semvernpm WARN skippingAction Module is inside a symlinked module: not running remove execall@1.0.0 node_modules/yo/node_modules/parse-help/node_modules/execallnpm WARN skippingAction Module is inside a symlinked module: not running update parse-help@0.1.1 node_modules/yo/node_modules/parse-helpnpm 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-upnpm 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-pkgnpm 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-upnpm 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-finitenpm WARN skippingAction Module is inside a symlinked module: not running update repeating@2.0.1 node_modules/yo/node_modules/repeatingnpm WARN skippingAction Module is inside a symlinked module: not running remove redent@1.0.0 node_modules/yo/node_modules/meow/node_modules/redentnpm 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-rootnpm WARN skippingAction Module is inside a symlinked module: not running remove arrify@1.0.1 node_modules/yo/node_modules/sort-on/node_modules/arrifynpm 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-propnpm WARN skippingAction Module is inside a symlinked module: not running update sort-on@1.3.0 node_modules/yo/node_modules/sort-onnpm 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-ansinpm 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-ansinpm 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-ansinpm 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-widthnpm 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-ansinpm 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-blocknpm WARN skippingAction Module is inside a symlinked module: not running remove request@2.72.0 node_modules/yo/node_modules/insight/node_modules/requestnpm 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/chalknpm WARN skippingAction Module is inside a symlinked module: not running remove chalk@1.1.3 node_modules/yo/node_modules/insight/node_modules/chalknpm WARN skippingAction Module is inside a symlinked module: not running remove chalk@1.1.3 node_modules/yo/node_modules/inquirer/node_modules/chalknpm WARN skippingAction Module is inside a symlinked module: not running update string-length@1.0.1 node_modules/yo/node_modules/string-lengthnpm WARN skippingAction Module is inside a symlinked module: not running update chalk@1.1.3 node_modules/yo/node_modules/chalknpm WARN skippingAction Module is inside a symlinked module: not running update root-check@1.0.0 node_modules/yo/node_modules/root-checknpm WARN skippingAction Module is inside a symlinked module: not running remove debug@2.2.0 node_modules/yo/node_modules/tabtab/node_modules/debugnpm 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-escapesnpm 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/chalknpm 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-cursornpm 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-widthnpm 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/figuresnpm 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/lodashnpm 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-streamnpm 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-promisenpm 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-asyncnpm 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/rxnpm 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-widthnpm 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-ansinpm 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/throughnpm WARN skippingAction Module is inside a symlinked module: not running update minimist@1.2.0 node_modules/yo/node_modules/tabtab/node_modules/minimistnpm WARN skippingAction Module is inside a symlinked module: not running remove mkdirp@0.5.1 node_modules/yo/node_modules/tabtab/node_modules/mkdirpnpm WARN skippingAction Module is inside a symlinked module: not running remove npmlog@2.0.4 node_modules/yo/node_modules/tabtab/node_modules/npmlognpm 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-assignnpm WARN skippingAction Module is inside a symlinked module: not running update inquirer@1.0.3 node_modules/yo/node_modules/tabtab/node_modules/inquirernpm WARN skippingAction Module is inside a symlinked module: not running update titleize@1.0.0 node_modules/yo/node_modules/titleizenpm WARN skippingAction Module is inside a symlinked module: not running remove boxen@0.3.1 node_modules/yo/node_modules/update-notifier/node_modules/boxennpm WARN skippingAction Module is inside a symlinked module: not running remove chalk@1.1.3 node_modules/yo/node_modules/update-notifier/node_modules/chalknpm 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-propnpm 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-fsnpm 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/mkdirpnpm 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-assignnpm 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-tmpdirnpm 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/osenvnpm 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/uuidnpm 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-atomicnpm 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-basedirnpm 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-npmnpm 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-versionnpm 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-diffnpm 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-homedirnpm WARN skippingAction Module is inside a symlinked module: not running update user-home@2.0.0 node_modules/yo/node_modules/user-homenpm WARN skippingAction Module is inside a symlinked module: not running update got@5.6.0 node_modules/yo/node_modules/gotnpm WARN skippingAction Module is inside a symlinked module: not running update package-json@2.3.2 node_modules/yo/node_modules/package-jsonnpm WARN skippingAction Module is inside a symlinked module: not running update npm-keyword@4.2.0 node_modules/yo/node_modules/npm-keywordnpm WARN skippingAction Module is inside a symlinked module: not running update tabtab@1.3.2 node_modules/yo/node_modules/tabtabnpm WARN skippingAction Module is inside a symlinked module: not running update read-pkg-up@1.0.1 node_modules/yo/node_modules/read-pkg-upnpm WARN skippingAction Module is inside a symlinked module: not running update meow@3.7.0 node_modules/yo/node_modules/meownpm WARN skippingAction Module is inside a symlinked module: not running update inquirer@0.10.1 node_modules/yo/node_modules/insight/node_modules/inquirernpm WARN skippingAction Module is inside a symlinked module: not running update inquirer@0.11.4 node_modules/yo/node_modules/inquirernpm WARN skippingAction Module is inside a symlinked module: not running update fullname@2.1.0 node_modules/yo/node_modules/fullnamenpm WARN skippingAction Module is inside a symlinked module: not running update configstore@2.0.0 node_modules/yo/node_modules/update-notifier/node_modules/configstorenpm WARN skippingAction Module is inside a symlinked module: not running update update-notifier@0.6.3 node_modules/yo/node_modules/update-notifiernpm WARN skippingAction Module is inside a symlinked module: not running update configstore@1.4.0 node_modules/yo/node_modules/configstorenpm WARN skippingAction Module is inside a symlinked module: not running update insight@0.7.0 node_modules/yo/node_modules/insightnpm 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-flagnpm 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-colornpm WARN skippingAction Module is inside a symlinked module: not running update yeoman-character@1.1.0 node_modules/yo/node_modules/yeoman-characternpm 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-checknpm WARN skippingAction Module is inside a symlinked module: not running remove chalk@1.1.3 node_modules/yo/node_modules/yeoman-doctor/node_modules/chalknpm 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-asyncnpm 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-valuesnpm WARN skippingAction Module is inside a symlinked module: not running update semver@5.1.0 node_modules/yo/node_modules/yeoman-doctor/node_modules/semvernpm WARN skippingAction Module is inside a symlinked module: not running remove twig@0.8.9 node_modules/yo/node_modules/yeoman-doctor/node_modules/twignpm 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-homenpm WARN skippingAction Module is inside a symlinked module: not running remove chalk@1.1.3 node_modules/yo/node_modules/yeoman-environment/node_modules/chalknpm WARN skippingAction Module is inside a symlinked module: not running remove debug@2.2.0 node_modules/yo/node_modules/yeoman-environment/node_modules/debugnpm WARN skippingAction Module is inside a symlinked module: not running remove diff@2.2.3 node_modules/yo/node_modules/yeoman-environment/node_modules/diffnpm 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-regexpnpm WARN skippingAction Module is inside a symlinked module: not running remove globby@4.1.0 node_modules/yo/node_modules/yeoman-environment/node_modules/globbynpm 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-queuenpm WARN skippingAction Module is inside a symlinked module: not running update lodash@4.13.1 node_modules/yo/node_modules/yeoman-environment/node_modules/lodashnpm 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-symbolsnpm 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-symbolsnpm WARN skippingAction Module is inside a symlinked module: not running update yeoman-doctor@2.1.0 node_modules/yo/node_modules/yeoman-doctornpm 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-fsnpm WARN skippingAction Module is inside a symlinked module: not running update inquirer@1.0.3 node_modules/yo/node_modules/yeoman-environment/node_modules/inquirernpm 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-tablenpm WARN skippingAction Module is inside a symlinked module: not running remove untildify@2.1.0 node_modules/yo/node_modules/yeoman-environment/node_modules/untildifynpm WARN skippingAction Module is inside a symlinked module: not running update yeoman-environment@1.6.1 node_modules/yo/node_modules/yeoman-environmentnpm 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-regexnpm 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-stylesnpm WARN skippingAction Module is inside a symlinked module: not running remove chalk@1.1.3 node_modules/yo/node_modules/yosay/node_modules/chalknpm 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-componentnpm WARN skippingAction Module is inside a symlinked module: not running remove repeating@2.0.1 node_modules/yo/node_modules/yosay/node_modules/repeatingnpm 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-widthnpm 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-ansinpm WARN skippingAction Module is inside a symlinked module: not running remove taketalk@1.0.0 node_modules/yo/node_modules/yosay/node_modules/taketalknpm 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-ansinpm WARN skippingAction Module is inside a symlinked module: not running update yosay@1.1.1 node_modules/yo/node_modules/yosaynpm 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,遇到的问题

关键词:

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。

不懂A9算法的亚马逊跨境电商运营,等于白做:https://www.ikjzd.com/articles/108009
推广干货:Facebook账户常见问题详解!:https://www.ikjzd.com/articles/108010
亚马逊广告没有章法,谈何爆单?:https://www.ikjzd.com/articles/108011
Wish政策怎么变?重点就是这么简单!:https://www.ikjzd.com/articles/108013
Joom又出新规,这些卖家将面临永久封号风险!:https://www.ikjzd.com/articles/108014
网易考拉投身阿里巴巴背后的事实,你了解多少?:https://www.ikjzd.com/articles/108015
长治婚庆女司仪和主持人:https://www.vstour.cn/a/366176.html
北京丰台区水上乐园哪家好玩?:https://www.vstour.cn/a/366177.html
相关文章
我的浏览记录
最新相关资讯
海外公司注册 | 跨境电商服务平台 | 深圳旅行社 | 东南亚物流