flauc / angular2-generator Goto Github PK
View Code? Open in Web Editor NEWangular2-generator is a command line code generator for angular2 projects.
License: MIT License
angular2-generator is a command line code generator for angular2 projects.
License: MIT License
I installed angualr2-generator directly, but when I execute the ng2 command, I got the following errors:
/usr/bin/env: "node\r": no such file or dictionary
my nodejs version is 7.2.1
and /usr/bin/node command exist.
hope any help. thx
Hi ,
How we can add proxy if we are working behind the corporate firewall ?
Tried :
I put the proxy in .npmrc file . Still, It is not getting resolve.
Trace :
Application created. Attempting to run scripts now.
> [email protected] postinstall C:\MyMachine\WorkSpace\POC\Sample-Angular2
> typings install
typings ERR! message Unable to read typings for "jasmine". You should check the entry paths in "jasmine.d.ts" are up to date
typings ERR! caused by Unable to connect to "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/5c182b9af717f73146399c2485f70f1e2ac0ff2b/jasmine/jasmine.d.ts"
typings ERR! caused by connect ETIMEDOUT 151.101.48.133:443
typings ERR! cwd C:\MyMachine\WorkSpace\POC\Sample-Angular2
typings ERR! system Windows_NT 6.1.7601
typings ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\MyMachine\\WorkSpace\\POC\\Sample-Angular2\\node_modules\\typings\\dist\\bin.js" "install"
typings ERR! node -v v6.9.1
typings ERR! typings -v 0.7.12
typings ERR! If you need help, you may report this error at:
typings ERR! <https://github.com/typings/typings/issues>
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN [email protected] No repository field.
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v6.9.1
npm ERR! npm v3.10.8
npm ERR! code ELIFECYCLE
npm ERR! [email protected] postinstall: `typings install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script 'typings install'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the Google-Map package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! typings install
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs Google-Map
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls Google-Map
npm ERR! There is likely additional logging output above.
Optional options unexplained.
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.