Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError while start Ember electron #256

Closed
ghost opened this issue May 12, 2017 · 0 comments
Closed

TypeError while start Ember electron #256

ghost opened this issue May 12, 2017 · 0 comments

Comments

@ghost
Copy link

ghost commented May 12, 2017

Environment,

ember-cli: 2.13.1
node: 6.10.2
os: darwin x64

It is a newly create a fresh project with nothing in it,

ember new PROJECT_NAME --yarn true
ember install ember-electron

Error stacktrace,

log.gauge.isEnabled is not a function
TypeError: log.gauge.isEnabled is not a function
    at Object.<anonymous> (/Users/li-xinyang/Desktop/RR_VEE_3_Electron/node_modules/npm/node_modules/npmlog/log.js:57:33)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/li-xinyang/Desktop/RR_VEE_3_Electron/node_modules/npm/lib/utils/umask.js:2:14)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)

Update

After searching around I found a workaround for it. Remote node_module and re-install all the dependencies.

npm/npmlog#48

It is a Yarn related issue the detailed of the issue can be found at,

yarnpkg/yarn#3202

The issue is not affecting the user who installs dependencies using NPM

@ghost ghost closed this as completed May 12, 2017
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants