h5bp / generator-server-configs Goto Github PK
View Code? Open in Web Editor NEWThis project is archived
Home Page: https://github.com/h5bp/server-configs
License: MIT License
This project is archived
Home Page: https://github.com/h5bp/server-configs
License: MIT License
Lemme know if anyone has any objections!
Currently, the docs option only includes the doc directory. The readme file should also be considered as part of the docs, like in the node server config.
The files generated for the node server config is just a copy of the repository, which does not make sense as it contains the h5bp middleware. An example folder should be used instead.
Hi, I installed generator-server-configs version 0.1.3 and the prompt is broken in it right now.
$ yo server-configs
[?] config
/usr/local/lib/node_modules/generator-server-configs/app/index.js:35
fetch(configs[choices.indexOf(props.config)]);
^
TypeError: Cannot read property 'config' of null
at /usr/local/lib/node_modules/generator-server-configs/app/index.js:35:39
at next (/usr/local/lib/node_modules/yo/node_modules/yeoman-generator/lib/actions/prompt.js:109:14)
at handleResult (/usr/local/lib/node_modules/yo/node_modules/yeoman-generator/lib/actions/prompt.js:105:7)
at /usr/local/lib/node_modules/yo/node_modules/yeoman-generator/node_modules/prompt/lib/prompt.js:317:32
at /usr/local/lib/node_modules/yo/node_modules/yeoman-generator/node_modules/prompt/node_modules/utile/node_modules/async/lib/async.js:116:25
at assembler (/usr/local/lib/node_modules/yo/node_modules/yeoman-generator/node_modules/prompt/lib/prompt.js:314:9)
at /usr/local/lib/node_modules/yo/node_modules/yeoman-generator/node_modules/prompt/lib/prompt.js:323:32
at /usr/local/lib/node_modules/yo/node_modules/yeoman-generator/node_modules/prompt/lib/prompt.js:598:5
at Interface.onLine (/usr/local/lib/node_modules/yo/node_modules/yeoman-generator/node_modules/prompt/node_modules/read/lib/read.js:110:5)
at Interface.EventEmitter.emit (events.js:95:17)
$ yo server-configs apache
info ... Fetching https://github.com/h5bp/server-configs/archive/master.tar.gz ...
info This might take a few moments
...
stream.js:94
throw er; // Unhandled stream error in pipe.
^
Error: EPERM, chmod '/usr/local/lib/node_modules/generator-server-configs/app/templates'
I'm trying to execute yo server-configs apache
on my OS X 10.9.5
under node v0.10.24
with latest yo
and have that problem:
vasiliy0s:php temp$ yo server-configs apache
info ... Fetching https://github.com/h5bp/server-configs-apache/archive/master.tar.gz ...
info This might take a few moments
..
stream.js:94
throw er; // Unhandled stream error in pipe.
^
Error: EPERM, chmod '/usr/local/lib/node_modules/generator-server-configs/app/templates/apache'
Any ideas?
λ yo server-configs
C:\Users\Josh\AppData\Roaming\npm\node_modules\generator-server-configs\app\index.js:156
Generator.name = 'H5BP Server Configs';
^
TypeError: Cannot assign to read only property 'name' of function () {
yeoman.generators.Base.apply(this, arguments);
this.option('destination');
this.argument('...<omitted>... }
at Object.<anonymous> (C:\Users\Josh\AppData\Roaming\npm\node_modules\generator-server-configs\app\index.js:156:16)
at Module._compile (module.js:444:26)
at Object.Module._extensions..js (module.js:462:10)
at Module.load (module.js:339:32)
at Function.Module._load (module.js:294:12)
at Module.require (module.js:349:17)
at require (module.js:368:17)
at Object.defineProperty.get [as server-configs:app] (C:\Users\Josh\AppData\Roaming\npm\node_modules\yo\node_modules\yeoman-environment\lib\store.js:40:23)
at Store.get (C:\Users\Josh\AppData\Roaming\npm\node_modules\yo\node_modules\yeoman-environment\lib\store.js:64:35)
at Environment.get (C:\Users\Josh\AppData\Roaming\npm\node_modules\yo\node_modules\yeoman-environment\lib\environment.js:228:16)
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.