安装Yeoman,遇到的问题

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

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

[[email protected] 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时,报的错误如下。

[[email protected] ~]# npm install -g yo
npm WARN deprecated [email protected]2.2.4: cross-spawn no longer requires a build toolchain, use it instead!
npm WARN deprecated [email protected]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 [email protected]1.5.2 node_modules/yo/node_modules/async
npm WARN skippingAction Module is inside a symlinked module: not running remove ansi[email protected]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[email protected]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 [email protected]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 [email protected]0.1.8 node_modules/yo/node_modules/cli-list
npm WARN skippingAction Module is inside a symlinked module: not running remove [email protected]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 [email protected]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[email protected]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 [email protected]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 [email protected]0.1.3 node_modules/yo/node_modules/configstore/node_modules/osenv
npm WARN skippingAction Module is inside a symlinked module: not running remove [email protected]2.0.2 node_modules/yo/node_modules/configstore/node_modules/uuid
npm WARN skippingAction Module is inside a symlinked module: not running remove [email protected]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 [email protected]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 [email protected]3.0.1 node_modules/yo/node_modules/cross-spawn
npm WARN skippingAction Module is inside a symlinked module: not running remove escape-string[email protected]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[email protected]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 [email protected]2.3.0 node_modules/yo/node_modules/fullname/node_modules/pify
npm WARN skippingAction Module is inside a symlinked module: not running remove [email protected]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 [email protected]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 [email protected]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 [email protected]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 [email protected]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 [email protected]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 [email protected]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[email protected]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 [email protected]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 [email protected]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 [email protected]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 [email protected]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 [email protected]0.1.4 node_modules/yo/node_modules/got/node_modules/duplexer2
npm WARN skippingAction Module is inside a symlinked module: not running remove [email protected]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 [email protected]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 [email protected]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 [email protected]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[email protected]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[email protected]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 [email protected]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 [email protected]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 [email protected]1.7.0 node_modules/yo/node_modules/inquirer/node_modules/figures
npm WARN skippingAction Module is inside a symlinked module: not running remove [email protected]3.10.1 node_modules/yo/node_modules/inquirer/node_modules/lodash
npm WARN skippingAction Module is inside a symlinked module: not running remove [email protected]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 [email protected]2.1.2 node_modules/yo/node_modules/fullname/node_modules/npmconf
npm WARN skippingAction Module is inside a symlinked module: not running remove [email protected]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 [email protected]1.0.1 node_modules/yo/node_modules/inquirer/node_modules/readline2
npm WARN skippingAction Module is inside a symlinked module: not running remove [email protected]2.3.8 node_modules/yo/node_modules/inquirer/node_modules/through
npm WARN skippingAction Module is inside a symlinked module: not running remove [email protected]1.5.2 node_modules/yo/node_modules/insight/node_modules/async
npm WARN skippingAction Module is inside a symlinked module: not running remove [email protected]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[email protected]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[email protected]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 [email protected]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 [email protected]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 [email protected]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 [email protected]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 [email protected]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 [email protected]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 [email protected]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 [email protected]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 [email protected]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[email protected]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 [email protected]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 [email protected]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 [email protected]3.10.1 node_modules/yo/node_modules/lodash
npm WARN skippingAction Module is inside a symlinked module: not running remove [email protected]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 [email protected]1.2.0 node_modules/yo/node_modules/meow/node_modules/decamelize
npm WARN skippingAction Module is inside a symlinked module: not running remove [email protected]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 [email protected]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 [email protected]1.2.0 node_modules/yo/node_modules/meow/node_modules/minimist
npm WARN skippingAction Module is inside a symlinked module: not running remove [email protected]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[email protected]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 [email protected]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 [email protected]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[email protected]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 [email protected]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 [email protected]1.7.0 node_modules/yo/node_modules/figures
npm WARN skippingAction Module is inside a symlinked module: not running remove object[email protected]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 [email protected]3.0.3 node_modules/yo/node_modules/opn
npm WARN skippingAction Module is inside a symlinked module: not running remove [email protected]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 [email protected]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 [email protected]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 [email protected]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 [email protected]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 [email protected]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 [email protected]0.1.1 node_modules/yo/node_modules/parse-help
npm WARN skippingAction Module is inside a symlinked module: not running remove [email protected]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 [email protected]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 [email protected]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 [email protected]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 [email protected]2.0.1 node_modules/yo/node_modules/repeating
npm WARN skippingAction Module is inside a symlinked module: not running remove [email protected]1.0.0 node_modules/yo/node_modules/meow/node_modules/redent
npm WARN skippingAction Module is inside a symlinked module: not running remove [email protected]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 [email protected]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 [email protected]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 [email protected]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[email protected]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 [email protected]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 [email protected]2.72.0 node_modules/yo/node_modules/insight/node_modules/request
npm WARN skippingAction Module is inside a symlinked module: not running remove [email protected]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 [email protected]1.1.3 node_modules/yo/node_modules/insight/node_modules/chalk
npm WARN skippingAction Module is inside a symlinked module: not running remove [email protected]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[email protected]1.0.1 node_modules/yo/node_modules/string-length
npm WARN skippingAction Module is inside a symlinked module: not running update [email protected]1.1.3 node_modules/yo/node_modules/chalk
npm WARN skippingAction Module is inside a symlinked module: not running update [email protected]1.0.0 node_modules/yo/node_modules/root-check
npm WARN skippingAction Module is inside a symlinked module: not running remove [email protected]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[email protected]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 [email protected]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 [email protected]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 [email protected]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 [email protected]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 [email protected]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 [email protected]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 [email protected]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 [email protected]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 [email protected]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[email protected]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 [email protected]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 [email protected]1.2.0 node_modules/yo/node_modules/tabtab/node_modules/minimist
npm WARN skippingAction Module is inside a symlinked module: not running remove [email protected]0.5.1 node_modules/yo/node_modules/tabtab/node_modules/mkdirp
npm WARN skippingAction Module is inside a symlinked module: not running remove [email protected]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[email protected]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 [email protected]1.0.3 node_modules/yo/node_modules/tabtab/node_modules/inquirer
npm WARN skippingAction Module is inside a symlinked module: not running update [email protected]1.0.0 node_modules/yo/node_modules/titleize
npm WARN skippingAction Module is inside a symlinked module: not running remove [email protected]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 [email protected]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 [email protected]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 [email protected]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 [email protected]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[email protected]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 [email protected]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 [email protected]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 [email protected]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 [email protected]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 [email protected]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 [email protected]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 [email protected]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 [email protected]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 [email protected]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 [email protected]2.0.0 node_modules/yo/node_modules/user-home
npm WARN skippingAction Module is inside a symlinked module: not running update [email protected]5.6.0 node_modules/yo/node_modules/got
npm WARN skippingAction Module is inside a symlinked module: not running update [email protected]2.3.2 node_modules/yo/node_modules/package-json
npm WARN skippingAction Module is inside a symlinked module: not running update [email protected]4.2.0 node_modules/yo/node_modules/npm-keyword
npm WARN skippingAction Module is inside a symlinked module: not running update [email protected]1.3.2 node_modules/yo/node_modules/tabtab
npm WARN skippingAction Module is inside a symlinked module: not running update [email protected]1.0.1 node_modules/yo/node_modules/read-pkg-up
npm WARN skippingAction Module is inside a symlinked module: not running update [email protected]3.7.0 node_modules/yo/node_modules/meow
npm WARN skippingAction Module is inside a symlinked module: not running update [email protected]0.10.1 node_modules/yo/node_modules/insight/node_modules/inquirer
npm WARN skippingAction Module is inside a symlinked module: not running update [email protected]0.11.4 node_modules/yo/node_modules/inquirer
npm WARN skippingAction Module is inside a symlinked module: not running update [email protected]2.1.0 node_modules/yo/node_modules/fullname
npm WARN skippingAction Module is inside a symlinked module: not running update [email protected]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 [email protected]0.6.3 node_modules/yo/node_modules/update-notifier
npm WARN skippingAction Module is inside a symlinked module: not running update [email protected]1.4.0 node_modules/yo/node_modules/configstore
npm WARN skippingAction Module is inside a symlinked module: not running update [email protected]0.7.0 node_modules/yo/node_modules/insight
npm WARN skippingAction Module is inside a symlinked module: not running remove [email protected]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 [email protected]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 [email protected]1.1.0 node_modules/yo/node_modules/yeoman-character
npm WARN skippingAction Module is inside a symlinked module: not running remove [email protected]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 [email protected]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 [email protected]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[email protected]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 [email protected]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 [email protected]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 [email protected]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 [email protected]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 [email protected]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 [email protected]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[email protected]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 [email protected]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 [email protected]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 [email protected]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 [email protected]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 [email protected]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 [email protected]2.1.0 node_modules/yo/node_modules/yeoman-doctor
npm WARN skippingAction Module is inside a symlinked module: not running remove [email protected]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 [email protected]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 [email protected]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 [email protected]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 [email protected]1.6.1 node_modules/yo/node_modules/yeoman-environment
npm WARN skippingAction Module is inside a symlinked module: not running remove ansi[email protected]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[email protected]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 [email protected]1.1.3 node_modules/yo/node_modules/yosay/node_modules/chalk
npm WARN skippingAction Module is inside a symlinked module: not running remove [email protected]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 [email protected]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[email protected]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 [email protected]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 [email protected]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
时间: 2024-10-14 11:51:29

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

一步一步地安装Yeoman脚手架工具

Yeoman包括了三个部分yo(脚手架工具).grunt(构建工具).bower(包管理器). 前提条件:安装NodeJs.Git Bash工具 安装yeoman前先配置package.json文件 第一步:安装yeoman命令 npm install -g yo 报错了,如果不报错可以进入第二步:npm ERR! registry error parsing jsons 可以试一下 cnpm的加载地址:npm config set registry http://registry.cnpmjs

Windows上安装Yeoman

之前直接安装完Node.js后,运行npm install -g yo命令,结果出现什么"要安装framework2.0 sdk,vcbuild"什么的错误,怎么也弄不好,结果是各种前提环境没搭建好->-> 1.安装Ruby 下载地址:http://rubyinstaller.org/downloads/ 注意选择64位或32位版本 注意勾选安装界面三个复选框 安装完后打开命令行,输入:ruby --version 如果成功输出版本号,则安装成功 2.安装Compass.S

windows中安装yeoman构建angularJs项目

yeoman是什么东西我在這里就不介绍了,网上一搜一大把,我们直接进入正题. 一.环境配置 (1).Ruby,下载地址:http://rubyinstaller.org/downloads/   ? 1.1.安装文件直接安装就好了,命令行输入 ruby --version可以看到版本就安装成功,否则请设置环境变量(此不详说) 1.2. 设置gem源为淘宝的ruby源, cmd中输入如下内容     gem sources --add https://ruby.taobao.org/ --remo

安装yeoman报没有权限的错误

新的ubuntu服务器, 不小心先装了npm, 再装的node, 再用meanjs装的yeoman(即不是自己npm install -g yo装的, 是用meanjs的stack一步到位的),而正常顺序应该是node, npm , yeoman 之所以讲这个前提,是因为我不知道是顺序问题,还是我自己服务器的配置问题, 总之, 上面的步骤进行完后, 我用yo命令, 得到如下错误: Error: EACCES, permission denied '/root/.config/configstor

Yeoman安装

Yeoman帮助我们创建项目,提供更好的工具来使我们的项目更多样化. Yeoman提供generator系统,一个generator是一个插件,在我们在一个完整的项目上使用‘yo’命令时,会运行该generator.通过这些官方的Generators,推出了Yeoman工作流,工作流是一个健壮.有自己特色的客户端堆栈,包含能快速构建漂亮的网络应用的工具和框架.Yeoman提供了负责开始项目开发的一切,没有任何让人头痛的手动配置. 采用模块化结构,Yeoman利用从几个开源社区网站学习到的成功和教

前端环境安装(git+yeoman)

系统:win7 64旗舰版 Git安装 http://git-scm.com/download进入git下载页面下载git相应版本 运行下载的EXE安装文件,点击Next进入下一步 点击next 设置安装路径,点击next 选择安装的选项,这里我们默认安装,点击next 点击next 同样默认,点击next 默认,点击next 等待安装 点击finish完成安装 yeoman安装 安装yeoman前需要安装npm 在cmd控制台中输入npm install –g yo (yeoman在npm安装

为什么选择 Yeoman 及 Yeoman 的安装

今天向您介绍一个我刚接触到的比较新的网络前端开发工具: Yeoman . 什么是Yeoman? Yeoman是Google的团队和外部贡献者团队合作开发的一个项目.通过内部三个工具(yo,grunt,bower)的协 同工作,为开发者创建一个易用的工作流.它可以让网络前端开发者快速打造一个漂亮的网络应用(web applications) . Yeoman的目的不仅是要为新项目建立工作流,同时还是为了解决前端开发所面临的诸多严重问题,例如零 散的依赖关系. Yeoman主要有三部分组成:yo.g

Yeoman安装和使用详解

一 什么是Yeoman Yeoman帮助我们创建新项目,指定最好的实践和工具来使我们的项目更多样化. Yeoman提供generator系统,一个generator是一个插件,在我们在一个完整的项目上使用‘yo’命令时,会运行该generator.通过这些官方的Generators,推出了Yeoman工作流,工作流是一个健壮.有自己特色的客户端堆栈,包含能快速构建漂亮的网络应用的工具和框架.Yeoman提供了负责开始项目开发的一切,没有任何让人头痛的手动配置. 采用模块化结构,Yeoman利用从

yeoman bower grunt等安装

grunt-beginner前端自动化工具:http://www.imooc.com/learn/30 grunt的安装 官方站点:http://gruntjs.com/ 安装指令: sudo npm install -g grunt-cli 验证方面:grunt 见到上图,就是grunt已经安装成功. yeoman的安装 yeoman自动将最佳时间和工具整合进来,大大加速和方便了我们的后续的开发. 官方站点:http://yeoman.io/ 安装指令: sudo npm install -g