nitin42 / animate-components

✨ Elemental components for doing animations in React

Home Page:http://animate-components.surge.sh/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error compiling.

NuroDev opened this issue · comments

commented

Following basic guidelines/examples given and yet it returns the following error:

./~/animate-components/build/index.js
Module not found: Can't resolve './animations/special' in '/Users/meadowcottage/Desktop/kaplansays/node_modules/animate-components/build'

This the my component code:

import { Component } from 'react';
import { Button } from 'antd';
import { FadeIn } from "animate-components";

import '../styles/main.css';

export default class App extends Component {
  render() {
    return (
      <FadeIn duration="2s" timingFunction="ease-out">
        <div className="App">
          <h1>Error: An error occured loading the page.</h1>
          <Button type="primary">Reload</Button>
        </div>
      </FadeIn>
    );
  }
}

Any support would be appreciated.

Fixed. There was an issue while publishing the module update. Please check and let me know 😄

commented

Yup that fixed it.
Thanks for the quick response and fix! 😄 ❤️