2,349 questions
0
votes
0
answers
22
views
PowerShell run task after Yeoman SharePoint Generator
I try to create a PowerShell script doing other things after creating a new spfx project with the Yeoman SharePoint Generator.
The code for Yeoman is:
yo @microsoft/sharepoint --component-type "...
0
votes
0
answers
64
views
Why do i get this 'Current environment doesn't provides some necessary feature this generator needs." when i run the yoBotkit
Yeoman Botkit Generator Error: Current environment doesn't provide some necessary feature this generator needs.
I am trying to set up Yeoman Botkit and everything runs smoothly until I execute yo ...
0
votes
1
answer
58
views
How can I delete a file in a Yeoman generator without prompting for confirmation in the terminal?
I'm working on a Yeoman generator, and I need to delete some files programmatically without prompting for confirmation in the terminal. Currently, when I use this.fs.delete(${rootDestinationPath}/${...
2
votes
1
answer
882
views
VSCode running "yo code" gives me an ERR_MODULE_NOT_FOUND error
I'm trying to make a custom extension in vscode, but every time I run the command yo code (from the vscode tutorial) I get the following error:
Error [ERR_MODULE_NOT_FOUND]: Cannot find package '...
1
vote
0
answers
91
views
How to interact with JHipster context in blueprints
I'm new in JHipster, but I already have a task - to make a blueprint for an Angular client side change with jhipster-generator (by npx jhipster generate-blueprint)
What I did:
Generated non-local ...
2
votes
0
answers
339
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 ...
3
votes
1
answer
1k
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": &...
0
votes
1
answer
43
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->' (html like).
I'm using this.fs.copyTpl( ) for the ...
1
vote
1
answer
313
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 ...
0
votes
1
answer
959
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 ...
0
votes
0
answers
120
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 ...
1
vote
2
answers
253
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 ...
2
votes
0
answers
411
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 ...
2
votes
1
answer
7k
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 ...
4
votes
1
answer
2k
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 ...
0
votes
2
answers
180
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 ...
-1
votes
1
answer
222
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
...
0
votes
1
answer
1k
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 ...
2
votes
1
answer
4k
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 ...
0
votes
1
answer
660
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
2
votes
1
answer
1k
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 --...
1
vote
1
answer
439
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 ...
1
vote
0
answers
54
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 ...
0
votes
1
answer
317
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 ...
4
votes
3
answers
1k
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', &...