Skip to content

Cannot resolve module [that exists]... #118

@monte-hayward

Description

@monte-hayward

Hi Cory. Just trying out slingshot as an alternate build pattern. I must have something misconfigured? Ideas?

Got it running, then replaced example ./components with mine from a working project. At first it could not resolve index.jsx ( the routes "plus" file). Changed that to .js, and now it recognizes index.

However, imports cannot be resolved, either named *.jsx or *.js

./src/index.js
Module not found: Error: Cannot resolve module 'components/root' in /path/to/src
// ... repeats for each module

fwiw, my project has flux instead of redux. However, both are installed.

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