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
1
answer
163
views
npm/Yeoman Error - "No change to package.json was detected. No package manager install will be executed."
I am trying to deploy a Fiori Elements app to SAP Fiori launchpad. I am using the following command:
npx fiori add deploy-config
But as soon as I pick "Cloud Foundry" as a target, instead ...
0
votes
0
answers
71
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 ...
1
vote
0
answers
108
views
VSCode running "yo code" gives me an ERR_INVALID_ARG_TYPE 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:
PS C:\Users\{username}> yo code
_-----_ ╭───...
0
votes
1
answer
59
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}/${...
1
vote
1
answer
136
views
Microsoft Outlook Add-in - Microsoft 365
I'm experimenting with an Outlook Add-in to install it on both Outlook Web and the Outlook Desktop Application. When I run the sample code using npm run start, Outlook redirects to the sign-in page. ...
2
votes
1
answer
891
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 '...
0
votes
1
answer
107
views
Uninstall yeoman office js addin in mac
I have an office js addin that is side loaded while I am developing. I have tried to use the https://learn.microsoft.com/en-us/office/dev/add-ins/testing/clear-cache to remove this in my mac but I ...
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 ...
0
votes
1
answer
278
views
How to downgrade Yeoman on linux using npm
How do I downgrade Yeoman? Version 5.0.0 seems, as of now, unstable and has issues with some generators. The suggested solution is to downgrade yeoman to version 4.3.1. How can I achieve this?
2
votes
0
answers
341
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 ...
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....
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": &...
4
votes
1
answer
708
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,
...
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 ...