catc / react-timekeeper

Google Keep app inspired time picker for react :clock4:
https://catc.github.io/react-timekeeper
MIT License
693 stars 67 forks source link

React timekeeper breaks application due to react-spring #107

Open IceCrystal0k opened 1 year ago

IceCrystal0k commented 1 year ago

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 commented 8 months ago

Any updates on this issue?