Method: :delete is not working in multiple locations in my phoenix app

You might want to try this in order:

cd assets && rm -rf node_modules
rm -rf deps
rm mix.lock
mix deps.get
cd assets && npm install

I deleted all node_modules and elixir deps and re-installed them.
Make sure your phoenix_html is up to date THEN run npm install

1 Like