# Problem to install node-sass HTTP error 404 Not Found

**URL:** <https://forum.elixirforum.com/t/problem-to-install-node-sass-http-error-404-not-found/41800>\
**Category:** Questions\
**Tags:** phoenix, troubleshooting, node\
**Created:** [August 20, 2021, 2:02pm UTC](https://forum.elixirforum.com/t/problem-to-install-node-sass-http-error-404-not-found/41800 "2021-08-20T14:02:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![shahryarjb](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/shahryarjb/32/39485_2.png) [@shahryarjb](https://forum.elixirforum.com/u/shahryarjb)\
**Post date:** [August 20, 2021, 2:02pm UTC](https://forum.elixirforum.com/t/problem-to-install-node-sass-http-error-404-not-found/41800/1 "2021-08-20T14:02:59Z")

</div>

Hello, I want to install phoenix in alpine linux, but when I want to install `package.json` phoenix 1.5.10 it shows me this error

```elixir
#16 17.79 > node-sass@4.14.1 install /app/apps/mishka_html/assets/node_modules/node-sass
#16 17.79 > node scripts/install.js
#16 17.79
#16 18.17 Downloading binary from https://github.com/sass/node-sass/releases/download/v4.14.1/linux_musl-x64-93_binding.node
#16 19.66 Cannot download "https://github.com/sass/node-sass/releases/download/v4.14.1/linux_musl-x64-93_binding.node":
#16 19.66
#16 19.66 HTTP error 404 Not Found

```

I searched and I found this page [Cannot download "https://github.com/sass/node-sass/releases/download/v4.13.0/win32-x64-79\_binding.node" · Issue #2773 · sass/node-sass · GitHub](https://github.com/sass/node-sass/issues/2773) and it didn’t fix my problem. then I update `"node-sass": "^4.13.1", to --> 6.0.1`, then `npm` let me finish my installation but I have not-compatible error in my phoenix when I start `iex -S mix phx.server`

I think I should update `"sass-loader"` and some dependencies

Thanks please help me to update my `package.json`

```elixir
node lts
npm@6.14.14
phoenix 1.5.10
elixir 1.12.0
with docker

```

---

<div class="post-metadata">

**Author:** ![tomkonidas](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/tomkonidas/32/22982_2.png) [@tomkonidas](https://forum.elixirforum.com/u/tomkonidas)\
**Post date:** [August 20, 2021, 2:08pm UTC](https://forum.elixirforum.com/t/problem-to-install-node-sass-http-error-404-not-found/41800/2 "2021-08-20T14:08:37Z")

</div>

[Dart Sass](https://www.npmjs.com/package/sass) is the proper replacement for node-sass.

As stated in [Node Sass](https://www.npmjs.com/package/node-sass)

> **Warning:** [LibSass and Node Sass are deprecated](https://sass-lang.com/blog/libsass-is-deprecated). While they will continue to receive maintenance releases indefinitely, there are no plans to add additional features or compatibility with any new CSS or Sass features. Projects that still use it should move onto [Dart Sass](https://sass-lang.com/dart-sass).

You should be able to just replace `node-sass` with the new dart `sass` and not have any problems. (From memory I don’t remember having to update any other lib)

---

<div class="post-metadata">

**Author:** ![shahryarjb](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/shahryarjb/32/39485_2.png) [@shahryarjb](https://forum.elixirforum.com/u/shahryarjb)\
**Post date:** [August 20, 2021, 2:16pm UTC](https://forum.elixirforum.com/t/problem-to-install-node-sass-http-error-404-not-found/41800/3 "2021-08-20T14:16:03Z")

</div>

can you give me your example `package.json` to see what version of (sass-loader , sass) do you use?

---

<div class="post-metadata">

**Author:** ![tomkonidas](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/tomkonidas/32/22982_2.png) [@tomkonidas](https://forum.elixirforum.com/u/tomkonidas)\
**Post date:** [August 20, 2021, 2:18pm UTC](https://forum.elixirforum.com/t/problem-to-install-node-sass-http-error-404-not-found/41800/4 "2021-08-20T14:18:11Z")

</div>

This is from a project with Tailwind + AlpineJS

```json
{
  "repository": {},
  "scripts": {
    "deploy": "webpack --mode production",
    "watch": "webpack --mode development --watch"
  },
  "dependencies": {
    "phoenix": "file:../deps/phoenix",
    "phoenix_html": "file:../deps/phoenix_html",
    "phoenix_live_view": "file:../deps/phoenix_live_view",
    "topbar": "^0.1.4",
    "alpinejs": "^2.8.0"
  },
  "devDependencies": {
    "@babel/core": "^7.0.0",
    "@babel/preset-env": "^7.0.0",
    "@tailwindcss/forms": "0.3.3",
    "@tailwindcss/jit": "0.1.18",
    "@tailwindcss/typography": "0.4.1",
    "autoprefixer": "10.3.1",
    "babel-loader": "^8.0.0",
    "copy-webpack-plugin": "^5.1.1",
    "css-loader": "^3.4.2",
    "hard-source-webpack-plugin": "^0.13.1",
    "mini-css-extract-plugin": "^0.9.0",
    "optimize-css-assets-webpack-plugin": "^5.0.1",
    "postcss": "8.3.5",
    "postcss-loader": "4.3.0",
    "sass": "1.35.2",
    "sass-loader": "^8.0.2",
    "tailwindcss": "2.2.4",
    "terser-webpack-plugin": "^2.3.2",
    "webpack": "^4.41.5",
    "webpack-cli": "^3.3.2"
  }
}

```

---

<div class="post-metadata">

**Author:** ![dimitarvp](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/dimitarvp/32/38664_2.png) [@dimitarvp](https://forum.elixirforum.com/u/dimitarvp)\
**Post date:** [August 20, 2021, 2:27pm UTC](https://forum.elixirforum.com/t/problem-to-install-node-sass-http-error-404-not-found/41800/5 "2021-08-20T14:27:23Z")

</div>

This is much appreciated, thank you.
