Tag:

Yo发生器为meanjs 0.5.0

我可以在meanjs文档中看到下面的Yo Generator: The Yeoman Generator is currently not maintained. It is based on an older version of MEAN.JS (0.4.2). This content is retained here for historical purposes and for anyone still using the generator on their projects. 因此The Yeoman Generator is currently not maintained. 意味着yo生成器可能不会更新为meanjs ^ 0.4.2? 有没有其他的发生器可以用来为meanjs ^ 0.4.2生成新的模块? 我没有find任何有关手动创build平均模块的文档? 任何链接将是非常有帮助的。 谢谢

什么是中间件Yeomanfunction实现的目的?

我是grunt-contrib-connect中的新手,并且遇到了这个跟随middleware函数Yoeman的实现 – middleware: function(connect, options, middlewares) { return [ proxySnippet, connect.static('.tmp'), connect().use('/bower_components', connect.static('./bower_components')), connect.static(config.app) ]; } 这个实现的目的是什么?

npm ERR! 并且与npm无法find文件有关

我怎样才能解决这个问题? 我也尝试了主版本,并得到了类似的错误。 我正在使用OSX优胜美地: bash-3.2$ yo meanjs You're using the official MEAN.JS generator. ? What mean.js version would you like to generate? 0.4.0 0.4.0 ? In which folder would you like the project to be generated? This can be changed later. mean Cloning the MEAN repo……. ? What would you like to call your application? MEAN […]

Meanjs:发生器错误:未知提供者:MenusProvider < – 菜单

我使用下面的命令创build了新的模块 $ yo meanjs:crud-module <module-name> 但在创build模块后,我得到下面的错误,我的意思是应用程序不运行,除了显示控制台错误的白页 rror: [$injector:unpr] Unknown provider: MenusProvider <- Menus http://errors.angularjs.org/1.5.3/$injector/unpr?p0=MenusProvider%20%3C-%20Menus return new ErrorConstructor(message); 我正在使用以下版本的发电机 — generator-meanjs@0.4.4 任何人都可以打电话给我什么是错误的。 我的模块名称是客户

反应回stream – 发电机使用Yeoman

我正在尝试使用yeoman生成器生成反应回stream项目,但是我收到以下错误。 我为此使用yeoman发生器,并通过npm安装了发生器 – 反应回stream。 pdc1-4s6zyr1:expProj administrator$ yo ? 'Allo administrator! What would you like to do? (Use arrow keys) Run a generator ❯ Angular Webapp React Reflux Karma Yeogurt Mocha (Move up and down to reveal more choices)/usr/local/lib/node_modules/yo/node_modules/configstore/index.js:86 ? 'Allo administrator! What would you like to do? React Reflux Make sure you are in the […]

哟meanjs错误 – 错误:命令失败:/ bin / sh -c cd test7 && npm install

我正在尝试学习nodejs,并想为我创build一个锅炉板代码进行进一步的修改。 我正在使用yeomen和meanjs,但我面临以下问题: 命令 – >哟meanjs 错误 – > undefined You're using the official MEAN.JS generator. ? What mean.js version would you like to generate? master master ? In which folder would you like the project to be generated? This can be changed later. test7 Cloning the MEAN repo……. ? What would you like to call […]

在运行Yeoman生成器时出错

我正在遵循mean.js的教程,而运行命令yo meanjs我有以下错误: 错误:错误:命令失败:C:\ Windows \ system32 \ cmd.exe / s / c“git –version”'git'n?o? 不被识别为内部或外部命令,可操作程序或batch file。 愿有人向我解释为什么我得到这个? 节点 – 版本 v4.3.1 哟 – 翻译 1.7.0 npm – 版本 3.7.5

用哟生成器创buildmeanjs项目时出错

我是初学者意味着js,我从这里为meanjs做了设置。 我已经使用下面的命令来创build一个问题回答的meanjs项目。 santosh@santosh:~/Documents/Projects$ yo meanjs Native thread-sleep not available. This will result in much slower performance, but it will still work. You should re-install spawn-sync or upgrade to the lastest version of node if possible. Check /usr/local/lib/node_modules/yo/node_modules/yeoman-environment/node_modules/inquirer/node_modules/external-editor/node_modules/spawn-sync/error.log for more details Native thread-sleep not available. This will result in much slower performance, but it will still […]

从咕噜哟angular度的完整的项目select不同的环境?

在脚手架生成的项目中,使用哟angular满足,我通常使用grunt(我不是专家)启动应用程序。 例 grunt grunt serve 等等。 据我所知,我有三个不同的环境(开发,testing,生产)。 每当我需要改变我必须去主文件改变正确的线(默认是发展)。 如何从terminal中select其中之一? 我完全确定必须有办法做到这一点从咕噜… 我可以想象它必须是类似的东西 grunt serve –env:prod grunt serve –test grunt serve development 我已经尝试了所有这些,但没有,我花了一些时间试图从Gruntfile中找出它,但我找不到Googlesearch。 有谁知道这是怎么做到的吗? 任何帮助,将不胜感激

咕噜服务不工作,指南针错误

我的节点开始performance怪异。 所以我删除它,并再次安装。 现在,我不能grunt serve了 Pers-MacBook-Air:clientMD perstrom$ grunt serve Running "serve" task Running "clean:server" (clean) task >> 0 paths cleaned. Running "wiredep:app" (wiredep) task Running "wiredep:test" (wiredep) task Running "wiredep:sass" (wiredep) task Running "concurrent:server" (concurrent) task Warning: Running "compass:server" (compass) task Error: invalid option: –import-path=./bower_components Usage: compass compile [path/to/project] [path/to/project/src/file.sass …] [options] Description: compile project at […]