ootb setup breaks app
vobu opened this issue · 2 comments
vobu commented
approaching this from scratch leads to an error and prevents app start:
Configuration contains string/RegExp pattern, but no filename was passed to Babel
$> npm i
added 952 packages, and audited 953 packages in 19s
155 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
$> npm start
> ui5-typescript-helloworld@1.0.0 start
> ui5 serve --port 8080 -o index.html
info graph:helpers:ui5Framework Using OpenUI5 version: 1.116.0
⚠️ Process Failed With Error
Error Message:
Configuration contains string/RegExp pattern, but no filename was passed to Babel
For details, execute the same command again with an additional '--verbose' parameter
$> npm start --verbose
npm verb cli /Users/me/bin/node /Users/me/bin/npm
npm info using npm@9.6.7
npm info using node@v18.17.1
npm verb title npm start
npm verb argv "start" "--loglevel" "verbose"
npm verb logfile logs-max:10 dir:/Users/me/2023-09-01T09_11_59_080Z-
npm verb logfile /Users/me/2023-09-01T09_11_59_080Z-debug-0.log
> ui5-typescript-helloworld@1.0.0 start
> ui5 serve --port 8080 -o index.html
info graph:helpers:ui5Framework Using OpenUI5 version: 1.116.0
⚠️ Process Failed With Error
Error Message:
Configuration contains string/RegExp pattern, but no filename was passed to Babel
For details, execute the same command again with an additional '--verbose' parameter
npm verb exit 1
npm verb code 1
env:
node: 18.17.1
macOS 13.5.1
akudev commented
@vobu Well, not for me (now MacOS 14.0, but also previously on 13.x):
hwtest % git clone https://github.com/SAP-samples/ui5-typescript-helloworld.git
Cloning into 'ui5-typescript-helloworld'...
remote: Enumerating objects: 361, done.
remote: Counting objects: 100% (359/359), done.
remote: Compressing objects: 100% (166/166), done.
remote: Total 361 (delta 212), reused 298 (delta 177), pack-reused 2
Receiving objects: 100% (361/361), 96.20 KiB | 4.37 MiB/s, done.
Resolving deltas: 100% (212/212), done.
hwtest % cd ui5-typescript-helloworld
ui5-typescript-helloworld % npm i
added 959 packages, and audited 960 packages in 23s
156 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
ui5-typescript-helloworld % npm start
> ui5-typescript-helloworld@1.0.0 start
> ui5 serve --port 8080 -o index.html
info graph:helpers:ui5Framework Using OpenUI5 version: 1.116.0
info server:custom-middleware:ui5-middleware-livereload Livereload server started!
Server started
URL: http://localhost:8080
^C
ui5-typescript-helloworld % node --version
v18.17.1
ui5-typescript-helloworld % npm --version
9.6.7
ts-jest seems to have had an issue causing this, but is not mentioned in my package-log.json. Not sure whether there are other causes, but maybe it is somehow involved in your setup? Could you re-try?
vobu commented
can confirm that things work™ now, both on main
and testing
.
probably a disturbance in the force 🤷
i'll close this and hope that my PR gets in soon :)