-
Notifications
You must be signed in to change notification settings - Fork 2.1k
_.mixin is not a function #472
Comments
I just tried this on the latest |
Hmm. Just tried pulling master again. I got the same issue. What OS did you try this on? |
OS X El Capitan 10.11.2 |
Can you try the |
Could you try running |
Also, |
I've done the following:
Now, when running |
Could you try it on the |
Sure. Just tried the same commands, from the last comment, on the |
Ok, can you check within |
Great. Inside If it does then the next step is to open up const _ = module.exports = require('underscore');
// code to insert:
console.log(_.VERSION, Object.keys(_)); Then run the app - this way we can make sure that the version of underscore being loaded at runtime is the same as what's installed. And it will also output what methods are available on the object. |
No problem. |
Ah so looks like |
Ok. Doing what you suggested worked. When I pull down new code locally, is there some command that should be run so this issue can be avoided in the future? Or just delete the node_modules folder and run There's a new problem now, once the _mixin problem was fixed. When I run |
For the crash, if you're on the As for the module issue, usually you shouldn't have to remove the node_modules folder everytime. It should just work. But if you encounter this again it's worth a try. |
Ok, this is hard to debug right now. We will hopefully be capturing UI logs too soon, see #502. In the meantime you could try stopping your existing geth instance and then running electron - it should start up its bundled copy of geth. Maybe that will make a difference. |
Are you able to start the app in |
I'm also having trouble starting in |
Wallet mode opens, but it opens to a blank white screen, with the toolbar on top.Ryan Lazuka |
It seems something might be wrong with your web3.js you've pulled. Can you install web3@0.15.2 manually from inside your mist folder? |
Here's what I have done on the develop branch
Result: Same problem. The UI loads for about 5 seconds then crashes. I've tried stopping my geth instance, like previously suggest,and that does not work either and the results are the same. |
Maybe I'm the only one who didn't know it, but: the error occurs at Line 27 in mistUI.js
More precisely when Web3 is instantiated (not when the IpcProvider is constructed). |
I don't seem to get an error at the Web3 construction point. Am still investigating. |
I've narrowed it down to the window creation line: global.mainWindow = new BrowserWindow({
title: global.appName,
show: false,
width: 1024 + 208,
height: 720,
icon: global.icon,
titleBarStyle: 'hidden-inset', //hidden-inset: more space
backgroundColor: '#D2D2D2',
acceptFirstMouse: true,
darkTheme: true,
webPreferences: {
preload: __dirname +'/modules/preloader/mistUI.js',
nodeIntegration: false,
'overlay-scrollbars': true,
webaudio: true,
webgl: false,
textAreasAreResizable: true,
webSecurity: false // necessary to make routing work on file:// protocol
}
}); When I comment out the |
So |
Narrowed it down. The Mist interface shows a couple of default "tabs". One renders |
At least on my machine the |
@frozeman Here is my proposed fix for this crash issue:
|
PR in #548 |
PR merged. |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
Node type: geth
OS: Ubuntu 14.04
Network type: main
Mist version: 0.0.0 ( On master branch. Pulled 04-05-16 )
I've followed the install instructions here, https://github.com/ethereum/mist, to a tee. When I run
electron .
, the following error occurs. Please see the screenshot.The text was updated successfully, but these errors were encountered: