Skip to content

Gatsby Build - Failed to load resource: net::ERR_FILE_NOT_FOUND #11618

@tinypell3ts

Description

@tinypell3ts

Description

Everything works fine with gatsby develop. When I run gatsby build and open the index.html, I get the following errors in my chrome console :

Failed to load resource: net::ERR_FILE_NOT_FOUND
/app-dc69784665b5b2447af7.js:1 Failed to load resource: net::ERR_FILE_NOT_FOUND
/12-c8bcf2beede8a33b73a6.js:1 Failed to load resource: net::ERR_FILE_NOT_FOUND
/0-2d176e3d90599d6f73e0.js:1 Failed to load resource: net::ERR_FILE_NOT_FOUND
/webpack-runtime-700bf56470507bf7cae4.js:1 Failed to load resource: net::ERR_FILE_NOT_FOUND
me-2cff084cc16aec8c535df04ec427e4aa.jpg:1 Failed to load resource: net::ERR_FILE_NOT_FOUND
The resource file:///static/d/173/path---index-6a9-NZuapzHg3X9TaN1iIixfv1W23E.json was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate as value and it is preloaded intentionally.

Environment

System:
OS: macOS 10.14.2
CPU: (4) x64 Intel(R) Core(TM) i5-4278U CPU @ 2.60GHz
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.15.0 - /usr/local/bin/node
npm: 6.4.1 - /usr/local/bin/npm
Browsers:
Chrome: 71.0.3578.98
Safari: 12.0.2
npmPackages:
gatsby: ^2.0.116 => 2.0.116
gatsby-image: ^2.0.29 => 2.0.29
gatsby-plugin-manifest: ^2.0.17 => 2.0.17
gatsby-plugin-offline: ^2.0.22 => 2.0.22
gatsby-plugin-react-helmet: ^3.0.6 => 3.0.6
gatsby-plugin-sharp: ^2.0.20 => 2.0.20
gatsby-plugin-styled-components: ^3.0.5 => 3.0.5
gatsby-source-filesystem: ^2.0.20 => 2.0.20
gatsby-transformer-sharp: ^2.1.13 => 2.1.13
npmGlobalPackages:
gatsby-cli: 2.4.8

All the files exist. Are the paths correct? If not, how would I go about fixing this. Any help appreciated. Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions