Skip to content

Getting lots of webpack errors... #2

@layeddie

Description

@layeddie

Getting lots of webpack errors and first home page dropdown does not work for me. This is for part1.
I did get some npm warnings too during installations
Apologies if you prefer I should have put this in the blog comments.

$ npm -v
(node:58447) ExperimentalWarning: The fs.promises API is experimental
7.10.0

$ elixir -v
Erlang/OTP 23 [erts-11.1.1] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [hipe]

Elixir 1.10.4 (compiled with Erlang/OTP 23)

$ asdf current

elixir 1.10.4-otp-23 projects/liveview/.tool-versions
erlang 23.1.1 projects/liveview/.tool-versions
nodejs 11.1.0 .tool-versions
postgres 11.0 .tool-versions


For example....
. . . instagram_clone/assets/node_modules/terser-webpack-plugin/dist/index.js:116:31) . . . [error] Task #PID<0.839.0> started from InstagramCloneWeb.Endpoint terminating ** (stop) :watcher_command_error (phoenix 1.5.8) lib/phoenix/endpoint/watcher.ex:37: Phoenix.Endpoint.Watcher.watch/3 (elixir 1.10.4) lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2 (stdlib 3.13.2) 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"], [cd: "/projects/liveview/instagram_clone/assets"]]

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