dangreenisrael / create-codemod-app Goto Github PK
View Code? Open in Web Editor NEWCreate Codemod App, a codemod generator and runner
License: Other
Create Codemod App, a codemod generator and runner
License: Other
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.
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.