Skip to content

Cannot find module index.js #49

Description

@BebeSparkelSparkel

This error pops up every time causing the server to restart on every refresh, but it still functions as expected. I'm thinking that a simple catch and ignore would solve this.

$ ./node_modules/browser-refresh/bin/browser-refresh 
[browser-refresh] Watching: /Users/williamrusnack/Documents/make_faster
[browser-refresh] Ignore rule: *.DS_Store
[browser-refresh] Ignore rule: public/stylesheets/dst/*
[browser-refresh] App started (pid: 25827)
module.js:473
      throw err;
      ^

Error: Cannot find module '/Users/williamrusnack/Documents/make_faster/index.js'
    at Function.Module._resolveFilename (module.js:527:15)
    at Function.Module._load (module.js:453:25)
    at Function.Module.runMain (module.js:665:10)
    at startup (bootstrap_node.js:201:16)
    at bootstrap_node.js:626:3
App stopped unexpectedly
[browser-refresh] Waited 1500ms without receiving "online" from child process. Page refresh triggered over WebSockets connection.
[browser-refresh] Triggering refresh of client pages...
[browser-refresh] Refresh triggered

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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