Skip to content

Heroku: Module not found  #2503

@ghost

Description

When I push my code to heroku he don't find my files:

Module not found: Error: Can't resolve './components/navigation/Navbar' in '/tmp/build_57c0b040126c80ff854d5d76e8a659a1/src'

This is my scripts in package.json
"scripts": {
"dev": "concurrently "nodemon -x 'npm start'" "npm run dev-server"",
"start": "babel-node server.js",
"dev-server": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject",
"heroku-postbuild": "npm run build"
}

node v6.11.0
npm v3.10.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions