-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
Description
Tutorials: https://developers.sap.com/tutorials/cicd-wdi5-cap.html
The scripts invoked in step 10 error-out on me on my Mac:
% npm init wdi5@latest -- --configPath ./app/admin-books/webapp/test/wdi5/ --specs ./**/wdi5/specs/**.js --baseUrl http://localhost:4004/fiori-apps.html\#Books-manage
≡> copying wdio.conf.js into "./app/admin-books/webapp/test/wdi5/"
👍 done!
≡> copying sample test files into "./app/admin-books/webapp/test/wdi5/specs/bookshop.test.js/"...
node:internal/process/promises:288
triggerUncaughtException(err, true /* fromPromise */);
^
[Error: ENOTDIR: not a directory, copyfile '/Users/i838039/.npm/_npx/231bb01d21fe6f98/node_modules/create-wdi5/dist/../templates/test/sample.test.js' -> '/Users/i838039/src/cap-bookshop-wdi5/app/admin-books/webapp/test/wdi5/specs/bookshop.test.js/sample.test.js'] {
errno: -20,
code: 'ENOTDIR',
syscall: 'copyfile',
path: '/Users/i838039/.npm/_npx/231bb01d21fe6f98/node_modules/create-wdi5/dist/../templates/test/sample.test.js',
dest: '/Users/i838039/src/cap-bookshop-wdi5/app/admin-books/webapp/test/wdi5/specs/bookshop.test.js/sample.test.js'
}
Node.js v18.16.0
npm ERR! code 1
npm ERR! path /Users/i838039/src/cap-bookshop-wdi5
npm ERR! command failed
npm ERR! command sh -c create-wdi5 --configPath ./app/admin-books/webapp/test/wdi5/ --specs ./app/admin-books/webapp/test/wdi5/specs/bookshop.test.js --baseUrl 'http://localhost:4004/fiori-apps.html#Books-manage'
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/i838039/.npm/_logs/2024-04-27T15_31_25_800Z-debug-0.log