kura52 / sushi-browser

Sushi Browser is the next generation browser which mounts the multi-panel and the video support function and so on. Its goal is to be as fantastic as sushi. :sushi:
https://sushib.me
GNU General Public License v3.0
126 stars 12 forks source link

run error #14

Closed zjmqlf closed 6 years ago

zjmqlf commented 6 years ago

5545435 { state: false, default: 'C:\Users\jk\AppData\Roaming', portable: 'D:\', file: 'D:\test\sushi-browser\resource\portable.txt' } App threw an error during load D:\test\sushi-browser\brave\extension\extensions.js:170 win.webContents.send('extension-ready',{[installInfo.id]:{...installIn fo}}) ^^^

SyntaxError: Unexpected token ... at createScript (vm.js:74:10) at Object.runInThisContext (vm.js:116:10) at Module._compile (module.js:533:28) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:503:32) at tryModuleLoad (module.js:466:12) at Function.Module._load (module.js:458:3) at Module.require (module.js:513:17) at require (internal/module.js:11:18) at Object. (D:\test\sushi-browser\lib\chromeEvents.js:50:20) D:\test\sushi-browser\lib\databaseForked.js:77 const sushiPath = portableData == 'true' || portableData == 'portable' ? path.jo in(__dirname, ../../../${isDarwin ? '../../' : ''}data).replace(/app.asar([\/\ ])/, 'app.asar.unpacked$1') : _electron.app.getPath('userData').replace('brave' , 'sushiBrowser').replace('sushi-browser', 'sushiBrowser');

                                        ^

TypeError: Cannot read property 'getPath' of undefined at Object. (D:\test\sushi-browser\lib\databaseForked.js:77:205) at Object. (D:\test\sushi-browser\lib\databaseForked.js:100:3) at Module._compile (module.js:569:30) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:503:32) at tryModuleLoad (module.js:466:12) at Function.Module._load (module.js:458:3) at Module.require (module.js:513:17) at require (internal/module.js:11:18) at Object. (D:\test\sushi-browser\lib\main.js:16:24) null