Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Fiori elements UI with generator wizard fails when Azure Node Essentials extension is enabled #708

Open
ssimsekler opened this issue May 28, 2022 · 0 comments

Comments

@ssimsekler
Copy link

Hello

Using VScode, I was trying to add a Fiori elements UI to an existing CAP application. I have been following the tutorial here. After I chose the data source as a local CAP app, when I add the folder path (manually or via the folder selection dialog) to the CAP application, I receive an error as below:

{"message":"@sap/fiori:app generator failed - process.on(uncaughtException) process.on(uncaughtException) cb.apply is not a function","stack":"TypeError: cb.apply is not a function\n\tat c:\Users\\.vscode\extensions\azuresdkteam.azurenodeessentials-0.2.6\node_modules\npm\node_modules\graceful-fs\polyfills.js:287:18\n\tat FSReqCallback.oncomplete (node:fs:199:5)"}

Disabling the extension "Azure Node Essentials" solved the problem. However, I thought I should give a heads up so that you can check why the conflict hapens.

Information:
VS Code: 1.67.2
Node.js version: 16.15.0
CDS version:
@sap/cds: 5.9.6
@sap/cds-compiler: 2.15.2
@sap/cds-dk: 4.9.5
@sap/cds-dk (global): 4.9.5
@sap/cds-foss: 3.1.1
@sap/cds-mtx: -- missing --
Node.js: v16.15.0
cpapp: 1.0.0

Kind Regards

Serdar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant