GithubHelp home page GithubHelp logo

create-codemod-app's People

Contributors

dangreenisrael avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

create-codemod-app's Issues

Running create-code-mod-app crashes on Windows

Love this idea, looks like an awesome project! I'm getting the following error whether I run using npx or install create-codemod-app globally. I tried from elevated-permission "command line", "git bash", and Powershell windows just in case. Right after prompting for the name of the new codemod app, this happens. The new directory does not get created which explains why the attempt to cd into it appears to fail.

I am still finding use just from one-offing the example-codemod-app folder alone, but I'd love to figure out what this issue is so I can use the project as intended. (Is it relying on the fs-event package, which doesn't function on Windows? Just speculating.)

Setting up the app and running `npm install`

The system cannot find the path specified.
(node:3292) UnhandledPromiseRejectionWarning: Error: Command failed: cd xxx; npm install
    at checkExecSyncError (child_process.js:630:11)
    at execSync (child_process.js:666:15)
    at run (C:\ProgramData\nvm\v12.16.1\node_modules\create-codemod-app\bin\create-codemod-app.js:58:3)
(node:3292) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:3292) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

`create-codemod-app/src/new-codemod-app-templates/.gitignore` does not exist?

Howdy. Long time user first time issue reporter.

➤ npx create-codemod-app                                                                                                                                                                                                                
? command name for this codemod app? dansux
Failed to generate codemod app
{ changes: [],
  failures:
   [ { type: 'add',
       path: '',
       error:
        'ENOENT: no such file or directory, stat \'/Users/danderson/.npm/_npx/18172/lib/node_modules/create-codemod-app/src/new-codemod-app-templates/.gitignore\'' },
     { type: 'add',
       path: '/Users/danderson/devel/{{packageName}}/package.json',
       error: 'Aborted due to previous action failure' },
     { type: 'add',
       path: '/Users/danderson/devel/{{packageName}}/bin/run-codemod.js',
       error: 'Aborted due to previous action failure' },
     { type: 'add',
       path:
        '/Users/danderson/devel/{{packageName}}/config/codemod-config.js',
       error: 'Aborted due to previous action failure' } ] }

Seems like something doesn't exist?

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.