edlee-me / generate-react-component Goto Github PK
View Code? Open in Web Editor NEWGenerate a react component folder with CLI
Generate a react component folder with CLI
Computer Detail:
Arch linux (4.14.8-1-ARCH)
node v9.3.0
npm v5.6.0
After running sudo npm install -g generate-react-component
CLI Output
/usr/bin/rcmp -> /usr/lib/node_modules/generate-react-component/index.js
[email protected] install /usr/lib/node_modules/generate-react-component/node_modules/program
./install.shsh: ./install.sh: Permission denied
npm ERR! code ELIFECYCLE
npm ERR! errno 126
npm ERR! [email protected] install:./install.sh
npm ERR! Exit status 126
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-01-05T02_53_51_944Z-debug.log
The complete log file
Right now i'm not sure what to look for in this.
I will dig later.
When you are generating a new component (specifically with the VS code extension), and come to the step where you are to name the new component, if you click off of the window, it will automatically skip to the next step, not registering the name you chose. This will result in the component being copied (but at the root of the folder you wanted it in), and it will delete the component name from the component that was originally copied (const ____, as well as 'export default _______'
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.