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

ootb setup breaks app #24

Closed
vobu opened this issue Sep 1, 2023 · 2 comments
Closed

ootb setup breaks app #24

vobu opened this issue Sep 1, 2023 · 2 comments

Comments

@vobu
Copy link
Contributor

vobu commented Sep 1, 2023

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          

> [email protected] 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 [email protected]
npm info using [email protected]
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

> [email protected] 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
Copy link
Contributor

akudev commented Oct 6, 2023

@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

> [email protected] 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
Copy link
Contributor Author

vobu commented Oct 10, 2023

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 :)

@vobu vobu closed this as completed Oct 10, 2023
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

2 participants