Coder Social home page Coder Social logo

flyntwp / generator-flynt Goto Github PK

View Code? Open in Web Editor NEW
20.0 5.0 5.0 278 KB

A Yeoman generator to create Flynt Components

Home Page: https://flyntwp.com

License: MIT License

JavaScript 83.31% PHP 12.98% SCSS 0.77% Twig 2.94%
yeoman flynt generator yo wp wordpress

generator-flynt's Issues

Add a new true/false selection for additional files

Right now I can't decide if I want to generate additional files like the README or Component screenshots too. If I only want to generate one single file (stylus.styl) for example, I can't do so without generating additional content.

Error when selecting either option

Hello. Managed to install the generator, it starts when I use yo @flyntwp/generator, but whenever I select an option, the following error occurs. Tried running it in the theme folder, in the Components folder and in a newly created folder for a Component.

events.js:174
      throw er; // Unhandled 'error' event
      ^
Error: ENOENT: no such file or directory, scandir '{myfolder}\themes\flynt\theme\/Components'
    at Object.readdirSync (fs.js:786:3)
    at module.exports._promptComponentFile (\AppData\Local\Yarn\Data\global\node_modules\@flyntwp\generator-flynt\generators\component\index.js:77:8)
    at prompt.then.answers (AppData\Local\Yarn\Data\global\node_modules\@flyntwp\generator-flynt\generators\component\index.js:43:21)
    at process._tickCallback (internal/process/next_tick.js:68:7)
Emitted 'error' event at:
    at Immediate.setImmediate (\AppData\Local\Yarn\Data\global\node_modules\yeoman-generator\lib\index.js:450:18)
    at runCallback (timers.js:705:18)
    at tryOnImmediate (timers.js:676:5)
    at processImmediate (timers.js:658:5)

Cheers !

update npm version

Please release a new version on npm so that the latest variable name changes are in there.

For example $globalRuptureScale is still called $globalLayoutScale in the latest published version.

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.