-
-
Notifications
You must be signed in to change notification settings - Fork 597
Closed
Description
- I have read the contribution documentation for this project.
- I agree to follow the code of conduct that this project follows, as appropriate.
- I have searched the issue tracker for an issue that matches the one I want to file, without success.
Please describe your issue:
After run
electron-forge start
in my ubuntu 18.04 it fail
Console output when you run electron-forge with the environment variable DEBUG=electron-forge:*. (Instructions on how to do so here). Please include the stack trace if one exists.
it show me :
✔ Checking your system
✔ Locating Application
✔ Preparing native dependencies
✔ Launching Application
App threw an error during load
TypeError: _fs2.default.statSyncNoException is not a function
at findPackageJson (/home/alejandro/Documentos/GlobalMaikanProyects/YoutubeViewer/node_modules/electron-prebuilt-compile/lib/es6-init.js:25:20)
at main (/home/alejandro/Documentos/GlobalMaikanProyects/YoutubeViewer/node_modules/electron-prebuilt-compile/lib/es6-init.js:44:23)
at Object.<anonymous> (/home/alejandro/Documentos/GlobalMaikanProyects/YoutubeViewer/node_modules/electron-prebuilt-compile/lib/es6-init.js:61:1)
at Object.<anonymous> (/home/alejandro/Documentos/GlobalMaikanProyects/YoutubeViewer/node_modules/electron-prebuilt-compile/lib/es6-init.js:63:3)
at Module._compile (internal/modules/cjs/loader.js:693:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:704:10)
at Module.load (internal/modules/cjs/loader.js:602:32)
at tryModuleLoad (internal/modules/cjs/loader.js:541:12)
at Function.Module._load (internal/modules/cjs/loader.js:533:3)
at loadApplicationPackage (/home/alejandro/Documentos/GlobalMaikanProyects/YoutubeViewer/node_modules/electron-prebuilt-compile/node_modules/electron/dist/resources/default_app.asar/main.js:119:12)
A JavaScript error occurred in the main process
Uncaught Exception:
TypeError: _fs2.default.statSyncNoException is not a function
at findPackageJson (/home/alejandro/Documentos/GlobalMaikanProyects/YoutubeViewer/node_modules/electron-prebuilt-compile/lib/es6-init.js:25:20)
at main (/home/alejandro/Documentos/GlobalMaikanProyects/YoutubeViewer/node_modules/electron-prebuilt-compile/lib/es6-init.js:44:23)
at Object.<anonymous> (/home/alejandro/Documentos/GlobalMaikanProyects/YoutubeViewer/node_modules/electron-prebuilt-compile/lib/es6-init.js:61:1)
at Object.<anonymous> (/home/alejandro/Documentos/GlobalMaikanProyects/YoutubeViewer/node_modules/electron-prebuilt-compile/lib/es6-init.js:63:3)
at Module._compile (internal/modules/cjs/loader.js:693:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:704:10)
at Module.load (internal/modules/cjs/loader.js:602:32)
at tryModuleLoad (internal/modules/cjs/loader.js:541:12)
at Function.Module._load (internal/modules/cjs/loader.js:533:3)
at loadApplicationPackage (/home/alejandro/Documentos/GlobalMaikanProyects/YoutubeViewer/node_modules/electron-prebuilt-compile/node_modules/electron/dist/resources/default_app.asar/main.js:119:12)
What command line arguments are you passing?
none
What does your config.forge data in package.json look like?
{
"name": "youtubeviewer",
"productName": "youtubeviewer",
"version": "1.0.0",
"description": "My Electron application description",
"main": "src/index.js",
"scripts": {
"start": "electron-forge start",
"package": "electron-forge package",
"make": "electron-forge make",
"publish": "electron-forge publish",
"lint": "eslint src --color"
},
"keywords": [],
"author": "alejandro",
"license": "MIT",
"config": {
"forge": {
"make_targets": {
"win32": [
"squirrel"
],
"darwin": [
"zip"
],
"linux": [
"deb",
"rpm"
]
},
"electronPackagerConfig": {
"packageManager": "npm"
},
"electronWinstallerConfig": {
"name": "youtubeviewer"
},
"electronInstallerDebian": {},
"electronInstallerRedhat": {},
"github_repository": {
"owner": "",
"name": ""
},
"windowsStoreConfig": {
"packageName": "",
"name": "youtubeviewer"
}
}
},
"dependencies": {
"electron-compile": "^6.4.3",
"electron-squirrel-startup": "^1.0.0"
},
"devDependencies": {
"babel-plugin-transform-async-to-generator": "^6.24.1",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.24.1",
"electron-forge": "^5.2.2",
"electron-prebuilt-compile": "4.0.0-beta.5",
"eslint": "^3.19.0",
"eslint-config-airbnb": "^15.1.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^5.1.1",
"eslint-plugin-react": "^7.11.1"
}
}
Please provide either a failing minimal testcase (with a link to the code) or detailed steps to
reproduce your problem. Using electron-forge init is a good starting point, if that is not the
source of your problem.
The same problem ocurr with or without templeate
Metadata
Metadata
Assignees
Labels
No labels