Skip to content

error when I spin up Gatsby server #2

@exocode

Description

@exocode

copy / pasted your example code in Gatsby project

in my node_modules folder only these two files lived there:

  • index.js
  • package.json
Generating development JavaScript bundle failed

Can't resolve './cjs/react-sticky.js' in '/Users/jan/Coding/React/site.com/node_modules/@wicked_query/react-sticky'

If you're trying to use a package make sure that './cjs/react-sticky.js' is installed. If you're trying to use a local file make sure that the path is correct.

File: node_modules/@wicked_query/react-sticky/index.js

failed Re-building development bundle - 0.270s

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