Open jorgetavares89 opened 6 years ago
In this case, I usually do a
npm install electron-prebuilt
and then
npm start
works just fine.
On Tue, Jan 23, 2018 at 2:27 PM, Jorge Luiz Reis Tavares < notifications@github.com> wrote:
I using ubuntu 16.04 and node v4.2.6. When I run npm install && npm start, on start I get this error:
Error launching app Unable to find Electron app at /home/myUser/teams-for-linux/app
Cannot find module '/home/myUser/teams-for-linux/app'
npm ERR! Linux 4.13.0-26-generic npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start" npm ERR! node v4.2.6 npm ERR! npm v3.5.2 npm ERR! code ELIFECYCLE npm ERR! teams-for-linux@0.0.5 start: electron ./app npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the teams-for-linux@0.0.5 start script 'electron ./app'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the teams-for-linux package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! electron ./app npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs teams-for-linux npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls teams-for-linux npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request: npm ERR! /home/myUser/teams-for-linux/npm-debug.log
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ivelkov/teams-for-linux/issues/28, or mute the thread https://github.com/notifications/unsubscribe-auth/AXvixVv5fS8CdM5df4PtOMc0MxmPb_4Lks5tNjKHgaJpZM4RqLv1 .
-- --Ben Benjamin P. August - Chapel Hill, NC - @bigbenaugust1 - https://github.com/bigbenaugust
"A party without cake is just a meeting." --Julia Child
When I try do npm start I got
[thiago@localhost teams-for-linux]$ /home/thiago/teams-for-linux/node_modules/electron/dist/electron ./app App threw an error during load Error: Cannot find module 'open' at Module._resolveFilename (module.js:470:15) at Function.Module._resolveFilename (/home/thiago/teams-for-linux/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12) at Function.Module._load (module.js:418:25) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object.
(/home/thiago/teams-for-linux/app/lib/index.js:5:14) at Object. (/home/thiago/teams-for-linux/app/lib/index.js:57:3) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) A JavaScript error occurred in the main process Uncaught Exception: Error: Cannot find module 'open' at Module._resolveFilename (module.js:470:15) at Function.Module._resolveFilename (/home/thiago/teams-for-linux/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12) at Function.Module._load (module.js:418:25) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object. (/home/thiago/teams-for-linux/app/lib/index.js:5:14) at Object. (/home/thiago/teams-for-linux/app/lib/index.js:57:3) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32)
Hi,
Try
(cd app;npm install)
You have to do npm install in the app folder. The app folder is where you have the app dependencies. The root folder is about packaging the electron app. The electron app organization is a little weird...
Hi, Thank you for the response. I make all steps. Same error.
at Module.load (module.js:488:32)
A JavaScript error occurred in the main process
Uncaught Exception:
Error: Cannot find module 'open'
at Module._resolveFilename (module.js:470:15)
at Function.Module._resolveFilename (/home/thiago/teams-for-linux/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.
Same problem here. Using linux mint. Node version 8.9.4
Resolved this by installing open
npm install open
npm install open
This fixed for me!
Thank you!
Check this fork and star it! https://github.com/IsmaelMartinez/teams-for-linux It is currently supported!
I using ubuntu 16.04 and node v4.2.6. When I run npm install && npm start, on start I get this error:
Error launching app Unable to find Electron app at /home/myUser/teams-for-linux/app
Cannot find module '/home/myUser/teams-for-linux/app'
npm ERR! Linux 4.13.0-26-generic npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start" npm ERR! node v4.2.6 npm ERR! npm v3.5.2 npm ERR! code ELIFECYCLE npm ERR! teams-for-linux@0.0.5 start:
electron ./app
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the teams-for-linux@0.0.5 start script 'electron ./app'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the teams-for-linux package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! electron ./app npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs teams-for-linux npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls teams-for-linux npm ERR! There is likely additional logging output above.npm ERR! Please include the following file with any support request: npm ERR! /home/myUser/teams-for-linux/npm-debug.log