FredrikHolmqvist
Hello!
I’ve been trying to get Phoenix to compile for a week now, and my sanity is slipping through my fingers. Any suggestions on getting this to compile? I’ve been able to run Phoenix on this machine previously a few years back.
mix phx.new test
Elixir 1.9.1
OTP 21
Phoenix 1.5.1
Node 12.17.0
NPM 6.14.5
I’ve tried:
npm install
npm install node-sass
npm uninstall node-sass
npm rebuild
npm rebuild node-sass
Deleting node_modules
Installing brunch
mix phx.new --no-brunch
Clearing NPM cache
Creating new projects on different drives
Running with admin rights
CMD / PowerShell / GIT
Trending in Questions
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
Hi everyone,
I am toying with the idea of building a “match maker” for giving personal help to people that wants to start coding.
I sta...
New
Hello,
I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
Documentation
While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
So my question is quite simple and i have found no conclusive answer on forum, google or AI.
Should we use :erlang.float for Integer to ...
New
I recently noticed that Elixir’s Logger defaults its primary log level to :debug when no :logger, :level application configuration is pre...
New
I’m new to elixir and just tried to install the elixirLS extension for VScode(ium) and it is throwing some errors that I would like help ...
New
Other Trending Topics
Edit: 2026 May 15 - This post is archived.
Mob is alive!!
Main docs: mob v0.7.11 — Documentation
A bit of explanation for the slightly c...
New
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Hi everyone!
The first release candidate for the Expert language server project is now available!
We’ve published a press release detai...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #ai
- #elixirconf-us
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #elixirconf-eu
- #metaprogramming
- #hex










Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
al2o3cr
Sounds like you’ve tried all the standard things that could be going wrong on Windows; can you post an example of the error you’re getting?
mindok
I think that’s the natural outcome of living with Win10. If it wasn’t for superior performance of Powerpoint & Excel on Windows (which I have to use periodically) I’d give up on it for good.
…anyway…
I have the latest Phoenix running under Win 10. Webpack seems to be more or less behaving but I do recall having to fight with something to get it up and running - let us know what errors you are getting and it might jog my memory. Unfortunately I did my initial commit after it was running so don’t have a record of the change.
c4710n
In short, replace node-sass with sass (dart sass), dart sass doesn’t need to rebuild anything.
In details, replace
"node-sass": "xx.xx.xx"with"sass": "^1.22.10"inpackage.json. Then, sass-loader will use sass (dart sass) automatically.Give it a try.
c4710n
phx_new 1.5.1 doesn’t provide
--no-brunchoption anymore. I am wondering why your output is showing brunch related things. That’s weird.You need to check whether your phx_new is 1.5.1, too.
FredrikHolmqvist
Changing the dependency to be sass worked! I am beyond happy, now I can develop my favorite webframework on my main machine. Thank you!
c4710n
Hooray!
newpain01
This is not only Windows specific, I was getting the same error on a Mac running Mojave today and also resolved it by replacing
node-sasswithsass.derek-zhou
node-sass has always been a sore point. A few months ago I took the effort to rip them all off from my projects and rewrite my style sheets in PostCSS + tailwindCSS, which has more functionalities and less hassles. Couldn’t be happier.
borop18
Surprised no one fixed this already, I am also not able to build the assets with Phoenix 1.5.7 on a Mac.
sergio-ocon
There is a thread with solutions for Mac here: