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

React timekeeper breaks application due to react-spring #107

Open
IceCrystal0k opened this issue Mar 1, 2023 · 1 comment
Open

React timekeeper breaks application due to react-spring #107

IceCrystal0k opened this issue Mar 1, 2023 · 1 comment

Comments

@IceCrystal0k
Copy link

Hello,
recently the application breaks on start / build. Not sure if it's from react-spring or because the way it is used in react-timekeeper

react-timekeeper version used: 2.2.1
Fails due to react spring version: 9.7.1 with te following message:

./node_modules/@react-spring/web/dist/esm/index.js 113:11
Module parse failed: Unexpected token (113:11)
File was processed with these loaders:
 * ./node_modules/babel-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
|       this.transforms = i;
|     }
>     _value = null;
|     get() {
|       return this._value || (this._value = this._get());

I created a new react application with only react and react-timekeer, for the following version of react:
"react": "17.0.1",
"react-dom": "17.0.1",
"react-scripts": "^3.4.0",
"react-timekeeper": "^2.2.1",

Added in the app code:

Started the app and it failed with the message above.

@Seldom29
Copy link

Any updates on this issue?

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