Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

An uncaught exception occurred in the main process - Cannot find module 'speedometer' #5855

Closed
msiyer opened this issue Nov 26, 2016 · 2 comments

Comments

@msiyer
Copy link

msiyer commented Nov 26, 2016

Did you search for similar issues before submitting this one?
Yes. No prior issue.

Describe the issue you encountered:
The build was successful and I tried to launch brave from the dev package (not rpm install and launch). I see this:

An uncaught exception occurred in the main process Uncaught Exception:
Error: Cannot find module 'speedometer'

I did npm install speedometer and also, dnf install nodejs-speedometer, but no success.

Expected behavior:
brave should launch

  • Platform (Win7, 8, 10? macOS? Linux distro?):
    Fedora 25

  • Brave Version:
    brave@0.12.10

Detailed terminal output:

An uncaught exception occurred in the main process Uncaught Exception:
Error: Cannot find module 'speedometer'
    at Module._resolveFilename (module.js:455:15)
    at Function.Module._resolveFilename (/home/msiyer/workspace/browser-laptop/Brave-linux-x64/resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.Module._load (module.js:403:25)
    at Module.require (module.js:483:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/msiyer/workspace/browser-laptop/Brave-linux-x64/resources/app.asar/node_modules/webtorrent/index.js:19:19)
    at Module._compile (module.js:556:32)
    at Object.Module._extensions..js (module.js:565:10)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
Waiting 60 seconds for process to load
/home/msiyer/workspace/browser-laptop/Brave-linux-x64/resources/app.asar/node_modules/node-anonize2-relic-emscripten/anonize2.js:18
if(!Module)Module=(typeof Module!=="undefined"?Module:null)||{};var moduleOverrides={};for(var key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var ENVIRONMENT_IS_WEB=false;var ENVIRONMENT_IS_WORKER=false;var ENVIRONMENT_IS_NODE=false;var ENVIRONMENT_IS_SHELL=false;if(Module["ENVIRONMENT"]){if(Module["ENVIRONMENT"]==="WEB"){ENVIRONMENT_IS_WEB=true}else if(Module["ENVIRONMENT"]==="WORKER"){ENVIRONMENT_IS_WORKER=true}else if(Module["ENVIRONMENT"]==="NODE"){ENVIRONMENT_IS_NODE=true}else if(Module["ENVIRONMENT"]==="SHELL"){ENVIRONMENT_IS_SHELL=true}else{throw new Error("The provided Module['ENVIRONMENT'] value is not valid. It must be one of: WEB|WORKER|NODE|SHELL.")}}else{ENVIRONMENT_IS_WEB=typeof window==="object";ENVIRONMENT_IS_WORKER=typeof importScripts==="function";ENVIRONMENT_IS_NODE=typeof process==="object"&&typeof require==="function"&&!ENVI

Error: Cannot find module 'speedometer'
    at Module._resolveFilename (module.js:455:15)
    at Function.Module._resolveFilename (/home/msiyer/workspace/browser-laptop/Brave-linux-x64/resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.Module._load (module.js:403:25)
    at Module.require (module.js:483:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/msiyer/workspace/browser-laptop/Brave-linux-x64/resources/app.asar/node_modules/webtorrent/index.js:19:19)
    at Module._compile (module.js:556:32)
    at Object.Module._extensions..js (module.js:565:10)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)filed

@dcposch
Copy link
Contributor

dcposch commented Nov 30, 2016

this looks like the Linux version of #5849

should be fixed now!

@bbondy bbondy closed this as completed Nov 30, 2016
@msiyer
Copy link
Author

msiyer commented Nov 30, 2016

Updated repository and brave launches bravely.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants