yeoman-generator

Unable to sideload the Office Add-in when running 'npm start'

独自空忆成欢 提交于 2021-02-07 03:22:45
问题 I'm trying to run Outlook-add-in using npm start . But it gives me an error that Sideloading the Office Add-in... Error: Unable to start debugging. Error: Unable to sideload the Office Add-in. Error: Sideload is not supported. I'm running direct demo project which Microsoft provided for Outlook-add-in. Also rund npm run dev-server before npm start as i'm running in mac. https://docs.microsoft.com/en-us/outlook/add-ins/quick-start?tabs=yeomangenerator I have done some research to find the

Unable to sideload the Office Add-in when running 'npm start'

北慕城南 提交于 2021-02-07 03:21:55
问题 I'm trying to run Outlook-add-in using npm start . But it gives me an error that Sideloading the Office Add-in... Error: Unable to start debugging. Error: Unable to sideload the Office Add-in. Error: Sideload is not supported. I'm running direct demo project which Microsoft provided for Outlook-add-in. Also rund npm run dev-server before npm start as i'm running in mac. https://docs.microsoft.com/en-us/outlook/add-ins/quick-start?tabs=yeomangenerator I have done some research to find the

Yeoman invoke generator by code with args

六月ゝ 毕业季﹏ 提交于 2020-07-06 19:40:08
问题 I've having yeoman generator with sub generator. I need to invoke the sub generator via code and I use the code below which is working, I see that the sub generator is invoked and I got the question in the terminal. docs: https://yeoman.io/authoring/integrating-yeoman.html var yeoman = require('yeoman-environment'); var env = yeoman.createEnv(); env.lookup(function () { env.run('main:sub',err => { console.log('done' ,err); }); }); The sub generator have only one question prompting() { const

Yeoman invoke generator by code with args

浪尽此生 提交于 2020-07-06 19:38:40
问题 I've having yeoman generator with sub generator. I need to invoke the sub generator via code and I use the code below which is working, I see that the sub generator is invoked and I got the question in the terminal. docs: https://yeoman.io/authoring/integrating-yeoman.html var yeoman = require('yeoman-environment'); var env = yeoman.createEnv(); env.lookup(function () { env.run('main:sub',err => { console.log('done' ,err); }); }); The sub generator have only one question prompting() { const

Couldn't find the 'yo' binary. Make sure it's installed and in your $PATH. Could you tell me what the problem is?

时光怂恿深爱的人放手 提交于 2020-05-15 10:00:24
问题 I'm using npm install -g yo gulp to install yeoman and this is the error I'm getting npm WARN deprecated cross-spawn-async@2.2.5: cross-spawn no longer requires a build toolchain, use it instead C:\Usr\local\gulp -> C:\Usr\local\node_modules\gulp\bin\gulp.js C:\Usr\local\yo -> C:\Usr\local\node_modules\yo\lib\cli.js C:\Usr\local\yo-complete -> C:\Usr\local\node_modules\yo\lib\completion\index.js > yo@3.1.0 postinstall C:\Usr\local\node_modules\yo > yodoctor Yeoman Doctor Running sanity checks

How to update the JHipster project after updating JHipster generator?

风流意气都作罢 提交于 2020-01-10 09:38:04
问题 I updated my JHipster installation as per this page by running the command npm update -g generator-jhipster But to update my application I am not sure where should I run the next command yo jhipster . I tried running it from the root of existing project, but it asked me to enter the name of the new project. I tried running it at one level above the root of existing project, then also it asked me the name of the new project. But this time I entered the same name and the jhipster generation

Missing modules after generation using Yeoman's generator-angular-fullstack

穿精又带淫゛_ 提交于 2020-01-06 04:17:12
问题 There's a question with almost the same title as mine with no answers here, and I can't comment to see if @Gabriel-Kunkel got anywhere with it. I was going to post an answer, but I saw StackOverflow said to avoid doing that, so asking the same question was the best I could think to do... I'm trying to get a fresh install from the generator-angular-fullstack with these options Grunt Jasmine TypeScript HTML LESS ui-router Bootstrap UI-Bootstrap Mongo Authentication Boilerplate (Yes) No other

how to minify html with grunt htmlmin plugin?

走远了吗. 提交于 2020-01-06 02:34:29
问题 I have generated a angular app with yeoman and now trying to minify my html files with grunt + htmlmin. The htmlmin bit looks like this: htmlmin: { dist: { options: { collapseWhitespace: true, conservativeCollapse: true, collapseBooleanAttributes: true, removeCommentsFromCDATA: true }, files: [{ expand: true, cwd: '<%= yeoman.dist %>', src: ['*.html'], dest: '<%= yeoman.dist %>' }] } }, When I run this task then it responds that it has minified 2 files but I cant see them in the dist folder?

Yeoman generator always get some error

跟風遠走 提交于 2020-01-02 03:09:10
问题 When I'm trying using yeoman web generator, although it's working, but looking through the whole generate progress, it always gives me some errors below, no matter what generator I used, they are always there. npm ERR! phantomjs@1.9.7-6 install: `node install.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the phantomjs@1.9.7-6 install script. npm ERR! This is most likely a problem with the phantomjs package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on

Yeoman angular generator install runs but generator doesn't appear in generator list

天涯浪子 提交于 2019-12-31 19:51:19
问题 I've tried to install the yeoman angular generator with the following: npm install -g generator-angular It all looks like it's installed properly... ... npm http GET https://registry.npmjs.org/string_decoder npm http 304 https://registry.npmjs.org/string_decoder npm http GET https://registry.npmjs.org/event-emitter npm http GET https://registry.npmjs.org/next-tick npm http 304 https://registry.npmjs.org/event-emitter npm http 304 https://registry.npmjs.org/next-tick generator-angular@0.7.1