Node.js Yeoman:使用Yeoman创建新脚手架时出错

Node.js Yeoman:使用Yeoman创建新脚手架时出错,node.js,yeoman,Node.js,Yeoman,我在使用Yeoman时遇到问题,我已将节点更新为6.2,但在生成脚手架时仍然存在问题。看来fsevents@1.0.12与我的体系结构不兼容。我能做什么 这是输出 $yo网络应用程序 _-----_ | | .--------------------------. |--(o) ——| |‘Allo’Allo!出局| `---------|框I包括HTML5| (uu`124;样板文件、jQuery和| /___一个用来建造你的| |~| |应用程序| __'.___.'__

我在使用Yeoman时遇到问题,我已将节点更新为6.2,但在生成脚手架时仍然存在问题。看来fsevents@1.0.12与我的体系结构不兼容。我能做什么

这是输出

$yo网络应用程序
_-----_
|       |    .--------------------------.
|--(o) ——| |‘Allo’Allo!出局|
`---------|框I包括HTML5|
(uu`124;样板文件、jQuery和|
/___一个用来建造你的|
|~| |应用程序|
__'.___.'__   '--------------------------'
''`|°'Y`
? 你还要什么?(按可选择)Sass、引导、现代化
? 选择您的DSL BDD风格
创建bower.json
创建package.json
创建gulpfile.js
一模一样
完全相同。忽略
相同的.git属性
一模一样
相同。编辑配置
创建app/favicon.ico
创建app/apple-touch-icon.png
创建app/robots.txt
创建app/styles/main.scss
创建app/scripts/main.js
创建app/index.html
创建test/spec/test.js
创建test/index.html
我都做完了。运行npm install&bower install以安装所需的依赖项。如果失败,请尝试自己运行该命令。
npm警告已弃用-fs@3.0.8:fs v3.0.0及之前版本将在节点版本>=v7.0时失败。请尽快更新到优雅的fs@^4.0.0。使用“npm ls-fs”在树中查找它。
npm警告已弃用lodash@1.0.2:lodash@=v7.0。请尽快更新到优雅的fs@^4.0.0。使用“npm ls-fs”在树中查找它。
npm警告不推荐的交叉繁殖-async@2.2.4:交叉繁殖不再需要构建工具链,请改用它!
npm警告已弃用-fs@2.0.3:fs v3.0.0及之前版本将在节点版本>=v7.0时失败。请尽快更新到优雅的fs@^4.0.0。使用“npm ls-fs”在树中查找它。
npm警告首选全局节点-gyp@3.3.1应与-g一起安装
>节点-sass@3.7.0安装/home/theo/Lin/webapp/node_模块/node sass
>节点脚本/install.js
二进制文件下载并安装在/home/theo/Lin/webapp/node_modules/node sass/vendor/linux-x64-46/binding.node
>节点-sass@3.7.0postinstall/home/theo/Lin/webapp/node_模块/node sass
>节点脚本/build.js
“/home/theo/Lin/webapp/node_modules/node sass/vendor/linux-x64-46/binding.node”存在。
正在测试二进制文件。
二元是好的;退出。
>optipng-bin@3.1.2postinstall/home/theo/Lin/webapp/node_模块/optipng bin
>节点lib/install.js
✔ optipng预构建测试成功通过
>jpegtran-bin@3.0.6postinstall/home/theo/Lin/webapp/node_模块/JPEG传输箱
>节点lib/install.js
✔ jpegtran预构建测试成功通过
> gifsicle@3.0.3postinstall/home/theo/Lin/webapp/node_模块/gifsicle
>节点lib/install.js
✔ gifsicle预构建测试成功通过
/home/theo/Lin/webapp
├─┬ 巴别塔-core@6.9.0 
│ ├─┬ 巴别塔码-frame@6.8.0 
│ │ ├── esutils@2.0.2 
│ │ └── js-tokens@1.0.3 
│ ├─┬ 巴别塔-generator@6.9.0 
........................
........................
├── glob@4.5.3 
├── lodash@2.4.2 
├── propprop@0.3.0 
└─┬ through2@0.6.5 
└─┬ 可读的-stream@1.0.34 
└── isarray@0.0.1 
npm警告可选跳过失败的可选依赖项/chokidar/fsevents:
npm WARN notsup与您的操作系统或体系结构不兼容:fsevents@1.0.12

Fsevents是Mac OSX的可选依赖项。你不必担心。
Fsevents是Mac OSX的可选依赖项。你不必担心。

谢谢。我已经浪费了很多时间来寻找解决方案。可以从包中删除fsevents吗?谢谢。我已经浪费了很多时间来寻找解决方案。是否可以从包中删除fsevents?
    _-----_
    |       |    .--------------------------.
    |--(o)--|    |  'Allo 'allo! Out of the |
`---------´   |    box I include HTML5   |
    ( _´U`_ )    | Boilerplate, jQuery, and |
    /___A___\    | a gulpfile to build your |
    |  ~  |     |           app.           |
__'.___.'__   '--------------------------'
´   `  |° ´ Y ` 

? What more would you like? (Press <space> to select)Sass, Bootstrap, Modernizr
? Choose your style of DSL BDD
create bower.json
create package.json
create gulpfile.js
identical .babelrc
identical .gitignore
identical .gitattributes
identical .bowerrc
identical .editorconfig
create app/favicon.ico
create app/apple-touch-icon.png
create app/robots.txt
create app/styles/main.scss
create app/scripts/main.js
create app/index.html
create test/spec/test.js
create test/index.html


I'm all done. Running npm install & bower install for you to install the required dependencies. If this fails, try running the command yourself.


npm WARN deprecated graceful-fs@3.0.8: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated lodash@1.0.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated cross-spawn-async@2.2.4: cross-spawn no longer requires a build toolchain, use it instead!
npm WARN deprecated graceful-fs@2.0.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN prefer global node-gyp@3.3.1 should be installed with -g

> node-sass@3.7.0 install /home/theo/Lin/webapp/node_modules/node-sass
> node scripts/install.js

Binary downloaded and installed at /home/theo/Lin/webapp/node_modules/node-sass/vendor/linux-x64-46/binding.node

> node-sass@3.7.0 postinstall /home/theo/Lin/webapp/node_modules/node-sass
> node scripts/build.js

"/home/theo/Lin/webapp/node_modules/node-sass/vendor/linux-x64-46/binding.node" exists. 
testing binary.
Binary is fine; exiting.

> optipng-bin@3.1.2 postinstall /home/theo/Lin/webapp/node_modules/optipng-bin
> node lib/install.js

✔ optipng pre-build test passed successfully

> jpegtran-bin@3.0.6 postinstall /home/theo/Lin/webapp/node_modules/jpegtran-bin
> node lib/install.js

✔ jpegtran pre-build test passed successfully

> gifsicle@3.0.3 postinstall /home/theo/Lin/webapp/node_modules/gifsicle
> node lib/install.js

✔ gifsicle pre-build test passed successfully
/home/theo/Lin/webapp
├─┬ babel-core@6.9.0 
│ ├─┬ babel-code-frame@6.8.0 
│ │ ├── esutils@2.0.2 
│ │ └── js-tokens@1.0.3 
│ ├─┬ babel-generator@6.9.0 
........................
........................
├── glob@4.5.3 
├── lodash@2.4.2 
├── propprop@0.3.0 
└─┬ through2@0.6.5 
    └─┬ readable-stream@1.0.34 
    └── isarray@0.0.1 

npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.12