Closed hinti closed 7 years ago
Looks like macos-alias is being req'd via appdmg
, which is an optionalDep of electron-installer-dmg
, which is a dep on electron-forge
.
This smells of a yarn bug, but may be patchable upstream. Can you try manually editing your node_modules/electron-forge/package.json
to move electron-installer-dmg
to optionalDeps?
If this resolves the issue, we can pursue a fix upstream in forge.
This is not fixable until this yarn fix is released. The fact that appdmg
is a non-optional dependency of electron-installer-dmg
means that no matter whether electron-installer-dmg
or any of its parent dependencies are optional, if appdmg
fails to install, yarn
will fail the whole operation ☹️
@bendemboski - You're right. It works with yarn 0.23.0-20170405.1705
> yarn --version
0.23.0-20170405.1705
> ember install ember-electron@v2.0.0-beta.4
NPM: Installed ember-electron@v2.0.0-beta.4
installing ember-electron
create ember-electron\.compilerc
create ember-electron\.eslintrc.js
create ember-electron\main.js
create testem-electron.js
create tests\ember-electron\.eslintrc.js
create tests\ember-electron\main.js
Project needs forge config
NPM: Installed devtron@^1.4.0
NPM: Installed electron-protocol-serve@^1.3.0
Installed electron build tools
Created ember-electron resource dirs
Extracted ember-electron forge config
Installed addon package.
Closed b/c not an ember-electron bug
Problem
ember-electron (beta 4) won't install on Windows 10 when Yarn is present.
Environment
ember-cli: 2.12.1 node: 6.10.1 os: win32 x64 yarn: 0.21.3
Steps to Reproduce
OK case - No yarn
ERROR case - Yarn installed
Error trace