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

Error when using with GatsbyJS #58

Open
jskrt opened this issue May 26, 2018 · 1 comment
Open

Error when using with GatsbyJS #58

jskrt opened this issue May 26, 2018 · 1 comment

Comments

@jskrt
Copy link

jskrt commented May 26, 2018

Facing this error when trying to use react-fullpage in a GatsbyJS project.

SectionsContainer.js:432 Uncaught (in promise) TypeError: Cannot read property 'func' of undefined at Object../node_modules/react-fullpage/dist/SectionsContainer.js

Any ideas?

@MartinConde
Copy link

@jskrt it worked fine for me once I imported the Section etc like the following instead of like in the documentation:

import {SectionsContainer, Section} from '../../node_modules/react-fullpage/index.js';

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