Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

page reloads repeatedly #73

Open
holder66 opened this issue Jul 19, 2020 · 0 comments
Open

page reloads repeatedly #73

holder66 opened this issue Jul 19, 2020 · 0 comments

Comments

@holder66
Copy link

`$ mix phx.server
[info] Running DemoWeb.Endpoint with cowboy 2.7.0 at 0.0.0.0:4000 (http)
[info] Access DemoWeb.Endpoint at http://localhost:4000

Webpack is watching the files…

Browserslist: caniuse-lite is outdated. Please run next command npm update
14 modules
/Users/henryolders/phoenix/phoenix_live_view_example/assets/node_modules/chokidar/lib/fsevents-handler.js:28
return (new fsevents(path)).on('fsevent', callback).start();
^

TypeError: fsevents is not a constructor
at createFSEventsInstance (/Users/henryolders/phoenix/phoenix_live_view_example/assets/node_modules/chokidar/lib/fsevents-handler.js:28:11)
at setFSEventsListener (/Users/henryolders/phoenix/phoenix_live_view_example/assets/node_modules/chokidar/lib/fsevents-handler.js:82:16)
at FSWatcher.FsEventsHandler._watchWithFsEvents (/Users/henryolders/phoenix/phoenix_live_view_example/assets/node_modules/chokidar/lib/fsevents-handler.js:252:16)
at FSWatcher. (/Users/henryolders/phoenix/phoenix_live_view_example/assets/node_modules/chokidar/lib/fsevents-handler.js:386:25)
at LOOP (fs.js:1721:14)
at processTicksAndRejections (internal/process/task_queues.js:79:11)
[error] Task DemoWeb.Endpoint started from #PID<0.503.0> terminating
** (stop) :watcher_command_error
(phoenix 1.4.16) lib/phoenix/endpoint/watcher.ex:29: Phoenix.Endpoint.Watcher.watch/3
(elixir 1.10.3) lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2
(stdlib 3.13) proc_lib.erl:226: :proc_lib.init_p_do_apply/3
Function: &Phoenix.Endpoint.Watcher.watch/3
Args: ["node", ["node_modules/webpack/bin/webpack.js", "--mode", "development", "--watch-stdin", "--display", "minimal"], [cd: "/Users/henryolders/phoenix/phoenix_live_view_example/assets"]]

Webpack is watching the files…`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant