Questions tagged [yeoman]

Yeoman is a command-line tool for frontend web development. As a "web application boilerplate," its main features include project scaffolding, a build process based in part on Grunt.js, and package management for updating project dependencies.

Filter by
Sorted by
Tagged with
0 votes
0 answers
55 views

Error while Set up SharePoint Framework development environment (Cannot find package 'mem-fs')

I am a beginner in SharePoint, and when I set up the SharePoint Framework development environment, I installed all the prerequisites mentioned in the official Microsoft documentation here. PFA But ...
Vishvadeep singh's user avatar
0 votes
0 answers
47 views

The Yeoman Generator encounters a failure with the error message "Trying to copy from a source that does not exist."

I am trying to generate SharePoint Framework (SPFx) client-side web parts using the Yeoman SharePoint Generator, but it consistently presents the same error as detailed below. C:\Users\utkarsh>yo @...
Utkarsh Dubey's user avatar
0 votes
0 answers
38 views

SPFx Yeoman Generator not Showing SharePoint 2019 Option

I am trying to develop my spfx web part for Sharepoint 2019/SE. Although I found an issue, and after I run command to create a SharePoint solution, there is no Sharepoint 2019 option, and only 2 of ...
Michał Sobczyk's user avatar
2 votes
1 answer
136k views

This generator XXX requires yeoman-environment at least 4.0.0-rc.0, and the current version is 3.19.3

When running a generator which used the latest version of yeoman-generator (7.1.0), yo discord I get the following error message: This generator (discord:app) requires yeoman-environment at least 4.0....
Emil's user avatar
  • 46
2 votes
1 answer
93 views

Cannot require/import while creating yeoman generator

I'm trying to create yeoman generator but I'm unable to get started. I'm following this video on the subject and I can't even get my code to run. here's my package.json file: { "name": &...
Luiso's user avatar
  • 4,065
0 votes
0 answers
42 views

Unable to debug office.js add-ins on Windows using Visual Studio Code without admin privilege

I created a Word Add-in using Yeoman generator and try to set up my development environment with VSC on Windows 10. When I start command npm start or npx office-addin-debugging start ./manifest.xml, ...
zjda's user avatar
  • 31
0 votes
1 answer
21 views

Avoid escaping in Yeoman Generator

I want to replace a template in the YEOMAN Generator with the string 'lr_task->'. But in the result file is the string escaped to 'lr_task-&gt' (html like). I'm using this.fs.copyTpl( ) for the ...
Frank Müller's user avatar
0 votes
0 answers
25 views

Debug configuration for debugging yeoman generator in vscode

I am trying to debug a custom yeoman generator. The yeoman generator I am writing is in typescript. The launch.json looks like this: { "version": "0.2.0", "...
afx2vc's user avatar
  • 1
0 votes
0 answers
5 views

npm-wp-s-theme domain.enter is not a function error

when I go yo npm-wp-s-theme I get the error domain.enter is not a function error versions: yo 4.3.1 npm 9.7.2 node 20.4.0 macOS terminal
librasteve's user avatar
  • 6,932
0 votes
1 answer
169 views

Unable to install yo - with Node V8 and V10 - Error - x yo version

I found a bug trying to install Yeoman Generator ( npm install yo --global) , but only with Node V8 and V10 and I only manage to install when a use the version V14. My current SPFX solution is using ...
julio30paz's user avatar
0 votes
1 answer
65 views

Custom Yeoman generator - how do I specify which package manager to use?

I made a custom Yeoman generator using yeoman-generator v 5.8.0, and everything seems to be working fine except that I get an error in the console: Error detecting the package manager. Falling back to ...
Dylan Cristy's user avatar
1 vote
1 answer
142 views

local issuer certificate for outlook addin

facing below issue Unable to download project zip file for "https://github.com/OfficeDev/Office-Addin-TaskPane-Angular/archive/yo-office.zip". Error: unable to get local issuer certificate ...
iRaviGuggilam's user avatar
0 votes
0 answers
45 views

npm start command returns errors for Excel webAddins

I have generated an Excel WebAddin template (TypeScript / JavaScript) with Yeoman but can run it. It returns the following errors: npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! office-addin-...
José Santos's user avatar
0 votes
1 answer
471 views

Error while generating a UI5 project using "generator-easy-ui5" in CLI

While I am performing the steps according to the tutorial Create an App for SAP Build Work Zone, standard edition, it throws the following error: I tried to execute by following the steps but can't ...
Suggu Sandeep's user avatar
1 vote
0 answers
296 views

Run Yeoman via `yarn dlx`

I am looking to dabble in VS Code extension development. Their documentation suggests using Yeoman to generate the base project. I use yarn as my Node package manager, so I need to use yarn dlx to run ...
dawsonc623's user avatar
  • 1,927
0 votes
0 answers
386 views

unable to install yeoman using npm

I'm trying to install yeoman using npm install -g yo. I've followed the following steps: I've uninstalled the nodejs. Deleted the npm & npm-cache folders Removed the path in environment variable ...
venu's user avatar
  • 1
0 votes
0 answers
91 views

Getting errors while installing yeoman on windows

I am trying to install yeoman in windows with command: npm install -g yo I am getting following errors: npm WARN deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs npm ...
venu's user avatar
  • 1
-1 votes
1 answer
90 views

Testing Custom Functions

After building a project and installing all the required dependencies, uploading the manifest of an Excel custom function over excel-web produces an error. The excel custom function is a yeoman ...
Ruturaj Maggirwar's user avatar
1 vote
2 answers
173 views

Creating bot using Yeomen botbuilder

Iam creating a bot using Yeomen botbuilder generator. I successfully installed botbuilder using npm install -g yo generator-botbuilder then configured bot and when I try to run bot using npm start ...
Anantashayana's user avatar
1 vote
1 answer
153 views

Jhipster blueprint can't override the entire priority

I want to customize addEntityToMenu function. I created a blueprint with entities-client as sub-generator then override POST_WRITING_PRIORITY with my custom functions. My purpose is creating a custom ...
dungreact's user avatar
  • 454
0 votes
0 answers
24 views

How to integrate yeoman excel add-ins without running the project?

I am facing an issue with yeoman where I am not able to use the created add-in without keeping the webpack-cli alive. Whenever I am closing the prompt running webpack the add-in cannot be used anymore ...
joseph tannoury's user avatar
0 votes
0 answers
55 views

IE explore compatible issue with Yeoman generate Office add-in

I used Yeoman for generating my Office add-in. And got stuck with an IE11-compatible issue. here is it: enter image description here I check the taskpane.js file find it still using deconstruct ...
Steven Chen's user avatar
1 vote
0 answers
212 views

Plone 6 Volto generate app - Cannot find module 'is-ci'

This question is related to Plone 6, specifically when attempting to create a new Volto app. Following this documentation I am attempting to generate a new Volto project using Yeoman. I have the ...
Dan's user avatar
  • 958
0 votes
2 answers
1k views

NPM warning node-fetch @2.6.7 Requires a peer of encoding@^0.1.0 but none was installed

NPM warning node-fetch @2.6.7 Requires a peer of encoding@^0.1.0 but none was installed.
MuCode's user avatar
  • 11
2 votes
1 answer
3k views

RequestError: getaddrinfo ENOTFOUND github.com

am trying to launch a theia extension using yeoman from the PowerShell but I think am facing a Proxy issue as I am using my company's network yo theia-extension results in by the way I have defined ...
Adem kriouane's user avatar
0 votes
0 answers
670 views

Yeoman Error: self signed certificate in certificate chain code: 'SELF_SIGNED_CERT_IN_CHAIN'

I am creating Add-in to excel using Yeoman generation in Windows 10. After installing Yeoman by npm install -g yo generator-office, and call the Yeoman with yo office > select Excel Custom ...
user15410844's user avatar
1 vote
0 answers
71 views

How to use a private azure devops repository with yeoman generators

I have a private azure devops repository with yeoman templates. How can I use this private repo with yeoman without exposing it out of company? Thank you in advance for your help. BR
marspox's user avatar
  • 31
3 votes
1 answer
1k views

How to create a custom blueprint?

I'm trying to create a customized JHipster blueprint for my organization. I've started my journey: Installed Yeoman v4.3.0 Installed Jhipster v7.9.3 Created a directory for my future blueprint mkdir ...
Fabiano's user avatar
  • 143
0 votes
1 answer
51 views

Yeoman outputs warnings running a generator

I am implementing a Yeoman generator, it works but when I run it I am getting a lot of undesired warnings as shown in this image: I created the most basics generator in Javascript, it only contains ...
Diego Satizabal's user avatar
0 votes
2 answers
119 views

JHipster Blueprint | Yeoman Generator - How to configure application-dev.yml with functions?

I am developping a blueprint for JHipster. For now, I prompt the user for the database URL, username and password. I want to then take the user's answers and add it to application-dev.yml. What I want ...
Hervé Labrie-Durand's user avatar
4 votes
1 answer
103 views

What do the JHipster sub-generator phases do?

Recently, I've been trying to implement a blueprint for JHipster. I decided to override the entity and entity-server sub-generators. Each sub-generator has multiple phases of which I can choose to /...
Hervé Labrie-Durand's user avatar
-1 votes
1 answer
142 views

"Which type of client-side component to create?" is missing "Extension"

I am using Node.js 14.18.1 (x64) and npm. When i run D:\extensionfullstack>yo @microsoft/sharepoint I got this :- D:\>cd D:\extensionfullstack D:\extensionfullstack>yo @microsoft/sharepoint ...
John John's user avatar
1 vote
2 answers
98 views

programmically give input to yeoman cmd for CI/CD tool

when we run the yeoman it is asking to add input one by one, is there anyway to give all input one go ? or programically? for Example : yo azuresfguest it is asking to add 5 inputs, which i want to ...
patel's user avatar
  • 13
0 votes
1 answer
700 views

SharePoint 2019 On Premise spfx js dev setup. which tools versions to serve helloworld?

I am trying to set a development environment in order to code spfx webparts targeting SP2019 on premise sites. After following the Microsoft documentation - including the almost hidden pages regarding ...
Gholmyrr's user avatar
1 vote
2 answers
428 views

Yeoman for VS Code extension says: Trying to copy from a source that does not exist

I am trying to kickstart a simple VS Code extension using Yeoman, on Windows 10 Pro. I am facing the same kind of problem that is described here "Error code Trying to copy from a source that does ...
Axel's user avatar
  • 382
0 votes
1 answer
1k views

npm install -g yo generator-code install issue [duplicate]

Ive been in and out of forums and discord servers all week trying to figure this out. so i installed the npm package in the title and got these warnings: npm WARN deprecated [email protected]: Please upgrade ...
BradTFT's user avatar
1 vote
2 answers
254 views

Yeoman pass prompt answers to subgenerator

I have a yeoman generator with some subgenerators. I know I can pass options from the parent- to the subgenerators when calling composeWith(...). But how can I pass the answers I get from prompting? ...
abc's user avatar
  • 2,285
0 votes
1 answer
439 views

How to use Yeoman to create a office content add-ins project

Yeoman can create a office add-ins but can not create content add-ins The document url:https://learn.microsoft.com/en-us/office/dev/add-ins/quickstarts/excel-quickstart-jquery?tabs=yeomangenerator
David's user avatar
  • 3
2 votes
0 answers
558 views

How to expand the "Overwrite ${file} (ynarxdeiH)" prompt automatically?

When doing this.fs.write how can I expand the description of each letter automatically? (without having to press ENTER) ? Overwrite my-super-file? (ynarxdeiH) Someone: Common question from people: ...
AndresVia's user avatar
  • 141
2 votes
1 answer
660 views

Building a Liferay theme fails with an error "Cannot find module 'liferay-font-awesome'"

Building a Liferay theme fails with an error Cannot find module 'liferay-font-awesome'. What's wrong and how can I fix the issue? $ mkdir liferay-workspace $ cd liferay-workspace/ $ blade init --...
haba713's user avatar
  • 2,505
2 votes
4 answers
6k views

Yeoman SPFx issue with installing @microsoft/sharepoint generator

I'm trying to learn how to use SPFx, however I'm falling down at the first step when it comes to running yo @microsoft/sharepoint. I get the following error when running yo @microsoft/sharepoint: ...
alexthannah's user avatar
1 vote
1 answer
317 views

Yeoman copy directory with templating

How can I copy multiple files in a whole folder recursively while applying templating ? I found answers for copying folders without templating, templating individual files but not batch templating. I ...
Franck's user avatar
  • 31
2 votes
1 answer
752 views

Execution policy error by running "yo office" in office add-in generator Yeoman [duplicate]

I wanted to use yeoman to create an add-in for the office with angular. After installing requirement tools like nodeJs, angular, yeoman, generator-office in power shell, I have tried to run this code ...
Mahdi Abyaznezhad's user avatar
1 vote
0 answers
47 views

Disable yeoman telemetry

I'm on linux. I installed yo (v 4.3.0) and ran it. It showed a prompt asking me to opt in for telemetry. I didn't answer in time and it moved past that prompt. When I run yo now, it doesn't show that ...
lonix's user avatar
  • 15.2k
-1 votes
1 answer
1k views

npm - yo - yeoman-environment/generator error

npm ERR! peer dep missing: yeoman-environment@^3.2.0, required by [email protected] When I check the list of npm package available with command 'npm list -g --depth=0', I get the above mentioned ...
shantanu ghosh's user avatar
0 votes
1 answer
269 views

moving the Yeoman office SSO client secret

I am developing an outlook add-in using the Yeoman Office generator (Office Add-in Task Pane project supporting single sign-on). All documentation on using this program says to run "npm run ...
megehold's user avatar
0 votes
1 answer
156 views

How can I solve this yeoman generator code error

I tried installing code-generator to create my own syntax highlighting in vscode. However, when I tried running code with yo code, this happened : yo code /usr/local/lib/node_modules/yo/node_modules/...
wartonbega's user avatar
4 votes
3 answers
909 views

yeoman this.npmInstall is not a function

In the lastest yeoman, this.npmInstall() is deprecated, which function can replace this? such as I want to install vue this.npmInstall(['vue'], { 'save-dev': false }); this.npmInstall(['webpack', &...
bobo.com's user avatar
1 vote
0 answers
1k views

yeoman not installing on particular version of node and npm

I am trying to install yo on my ubuntu 18.04LTS but unable to do so,I've to use npm 5.x and nodejs version 8.9.x explicitly and yo is compatible with these version but still its showing this error but ...
binny's user avatar
  • 11
3 votes
4 answers
1k views

Error code Trying to copy from a source that does not exist

As I was following the VS code plugin/extension tutorial here Your First Extension | Visual Studio Code Extension API, I got the following error. > yo code ? What type of extension do you want to ...
ー PupSoZeyDe ー's user avatar

1
2 3 4 5
48