GithubHelp home page GithubHelp logo

a-t-x-m / generator-package Goto Github PK

View Code? Open in Web Editor NEW

This project forked from idleberg/generator-atom-package-typescript

2.0 1.0 0.0 3.43 MB

A Yeoman generator for Atom packages written in JavaScript, TypeScript or CoffeeScript.

Home Page: https://www.npmjs.org/package/@atxm/generator-package

JavaScript 74.79% Shell 0.23% EJS 24.99%
yeoman-generator atom-editor atom-package scaffolding

generator-package's Issues

TypeError: Cannot read property 'includes' of undefined

I am on macosx and I'm trying to generate an Atom package for typescript.

node v14.15.5

_-----_ | | ╭──────────────────────────╮ |--(o)--| │ Let's go & build a │---------´ │ package for Atom! │
( _´U_ ) ╰──────────────────────────╯ /___A___\ / | ~ | __'.___.'__ ´ |° ´ Y `

? Choose your preferred language TypeScript
? What do you want to name your package? another-pkg
? What is your package description? ts pkg
? What's your GitHub username? fithisux
? Is this a private package? No
? Choose a license MIT
? Package Features Keymaps
? Add activation command? No
? Add activation hooks? Loaded Shell Environment
? Add workspace openers? No
? Depend on other Atom packages? No
? Specify additional dependencies Developer Console
? Linter Hook pre-commit
? Add CI configuration GitHub Actions
? ESLint Configuration ESLint
TypeError: Cannot read property 'includes' of undefined
at Object.when (/usr/local/lib/node_modules/@atxm/generator-package/generators/app/index.js:462:41)
at /usr/local/lib/node_modules/yo/node_modules/run-async/index.js:49:25
at new Promise ()
at /usr/local/lib/node_modules/yo/node_modules/run-async/index.js:26:19
at /usr/local/lib/node_modules/yo/node_modules/yeoman-environment/node_modules/inquirer/lib/ui/prompt.js:135:32
at Observable._subscribe (/usr/local/lib/node_modules/yo/node_modules/rxjs/internal/observable/defer.js:10:21)
at Observable._trySubscribe (/usr/local/lib/node_modules/yo/node_modules/rxjs/internal/Observable.js:44:25)
at Observable.subscribe (/usr/local/lib/node_modules/yo/node_modules/rxjs/internal/Observable.js:30:22)
at Object.innerSubscribe (/usr/local/lib/node_modules/yo/node_modules/rxjs/internal/innerSubscribe.js:102:23)
at MergeMapSubscriber._innerSub (/usr/local/lib/node_modules/yo/node_modules/rxjs/internal/operators/mergeMap.js:80:50)
TypeError: Cannot read property 'includes' of undefined
at Object.when (/usr/local/lib/node_modules/@atxm/generator-package/generators/app/index.js:462:41)
at /usr/local/lib/node_modules/yo/node_modules/run-async/index.js:49:25
at new Promise ()
at /usr/local/lib/node_modules/yo/node_modules/run-async/index.js:26:19
at /usr/local/lib/node_modules/yo/node_modules/yeoman-environment/node_modules/inquirer/lib/ui/prompt.js:135:32
at Observable._subscribe (/usr/local/lib/node_modules/yo/node_modules/rxjs/internal/observable/defer.js:10:21)
at Observable._trySubscribe (/usr/local/lib/node_modules/yo/node_modules/rxjs/internal/Observable.js:44:25)
at Observable.subscribe (/usr/local/lib/node_modules/yo/node_modules/rxjs/internal/Observable.js:30:22)
at Object.innerSubscribe (/usr/local/lib/node_modules/yo/node_modules/rxjs/internal/innerSubscribe.js:102:23)
at MergeMapSubscriber._innerSub (/usr/local/lib/node_modules/yo/node_modules/rxjs/internal/operators/mergeMap.js:80:50)
➜ another-pkg
➜ another-pkg
`

BTW thank you! We need this kind of help to keep Atom alive.

Cannot install

I get

verbose stack Error: @atxm/[email protected] postinstall: husky install``

I'm on MacOSX Darwin Kernel Version 20.6.0 x64

npm: 6.14.15
node: v14.17.6

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.