turutupa / cf-create-app

14 stars 3 forks source link

Ubuntu npx error #19

Open MTL-DumitruIordachi opened 2 years ago

MTL-DumitruIordachi commented 2 years ago

Hi, I am a web developer and I had a problem using your tool. image I have installed all prerequisites and checked npm version, no results. image Any advices on this topic? Thanks!

jay9645 commented 1 year ago

Getting the same error on Windows as well, any updates on this?

Emils-Ezerins commented 1 year ago

@MTL-DumitruIordachi @jay9645 I'm not involved in maintaining this package in any way, however I was facing the same error. In order to solve it, I made a slight adjustment on ln 9 in the cf-create-app/lib/setup/runCdsInit.js file, where I replaced npx @sap/cds-dk init ${this.appName} with cds init ${this.appName}. With the fix in place it's able to create a project as expected using Windows 11.