2

ember-cli: 2.14.2 node: 8.4.0 os: win32 x64

For some reason, my npm installation of any ember-bootstrap 1.x version always hangs on fsevents.

C:\Users\rrush\Documents\GitHub\xxxxxxxxxxx>npm install
[            ......] | extract:fsevents: sill extract is-descriptor@0.1.6

I've tried several versions of ember-bootstrap 1.x, node and ember(-cli). They always hang up on fsevents installation.

Any 0.x version will install just fine though.

From what I've gathered, fsevents is only meant to be installed on Mac, not on a Windows machine. Is there any way to circumvent the (trying to) install of fsevents ? I did npm install --no-optional, but to no avail...

EDIT 1: npm install ember-bootstrap@1.0.0-rc.1 --verbose --no-optional Out of all the 1.x options, this one seems to work.

4

1 回答 1

0

显然问题出在 npm 中,特别是在 Windows 机器上。当您直接从 github 发出下载时,它会完美安装。到目前为止,根本原因尚不清楚。

simonihmig(创作者)有以下说法:

我能够在 Windows 10(在 VirtualBox 中)上重现它。我认为根本问题不在 ember-bootstrap 中,而可能是 npm 本身(一些死锁问题左右),因为我能够通过降级 findup-sync 来“修复”这个问题(更多的解决方法,但对我有用)。这是一个 PR:#435。花了我不少时间...

npm i --save-dev kaliber5/ember-bootstrap#downgrade-findup

此问题的链接:ember-bootstrap 问题 430

于 2017-09-07T06:44:23.413 回答