not able to init a project
See original GitHub issuePlease describe your issue: hi I installed your package and tried to init a new project but I’m getting the following error after running that command
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.
TypeError: ["airbnb","standard"].includes is not a function
at _callee$ (/usr/local/lib/node_modules/electron-forge/dist/electron-forge-init.js:67:41)
at tryCatch (/usr/local/lib/node_modules/electron-forge/node_modules/regenerator-runtime/runtime.js:64:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/electron-forge/node_modules/regenerator-runtime/runtime.js:355:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/electron-forge/node_modules/regenerator-runtime/runtime.js:116:21)
at GeneratorFunctionPrototype.tryCatcher (/usr/local/lib/node_modules/electron-forge/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/usr/local/lib/node_modules/electron-forge/node_modules/bluebird/js/release/generators.js:97:49)
at /usr/local/lib/node_modules/electron-forge/node_modules/bluebird/js/release/generators.js:201:15
at main (/usr/local/lib/node_modules/electron-forge/dist/electron-forge-init.js:105:17)
at Object.<anonymous> (/usr/local/lib/node_modules/electron-forge/dist/electron-forge-init.js:109:1)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Function.Module.runMain (module.js:447:10)
at startup (node.js:146:18)
at node.js:404:3
What command line arguments are you passing?
electron-forge init forgetest
What does your config.forge
data in package.json
look like?
does not exist
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.
sudo npm install -g electron-forge (without problems)
electron-forge init forgetest (error)
Issue Analytics
- State:
- Created 7 years ago
- Comments:15 (13 by maintainers)
Top Results From Across the Web
npm init not working while creating new project - Stack Overflow
I'm creating a new project using npm init. But while running the command 'npm init -y', I get the error shown below. ......
Read more >Not able to create new Project in Jira - Atlassian Documentation
Cause 1: · Unable to create Software Project if Issue Type Epic or Story exists and are not Standard · When creating a...
Read more >Issue with " ng new " -- Not able to create a new project. #16987
Just try to create a new angular project through command prompt. It is not installing properly and node_modules also missing.
Read more >Not able to create a project in vs code?SFDX
So the solution would be to either install the NPM package manager or install nodejs. Share. Share a link to this answer.
Read more >npm-init | npm Docs
When set for the npm init command, this may be set to the folder of a workspace which does not yet exist, to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@malept 5 is only get sec patches now I think, would make sense to just stick to LTS versions that we can support 👍 People should be moving to 6 anyway 😆
@MarshallOfSound Well, that’s interesting and unfortunate. Do you want to make 5 the minimum or stick with 6?