Skip to content

React timekeeper breaks application due to react-spring #107

Description

@IceCrystal0k

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions