-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Can't build under nodejs 16 #339
Comments
|
Looks like node-sass now supports Node 16: sass/node-sass#3090 |
Hmm, thanks for the news and you seem to be correct... However this isn't quite fixed for Listmonk because the package currently calls for a v4.x dependency and the fixes you link to are only in v6.0.0 upstream. Listmonk will not build properly until this is updated: {
"dependencies": {
"node-sass": "^4.14.1"
}
} I tried bumping just this dependency, but it's not quite that simple. The |
Ouch. I just spent a couple hours investigating this which turned out to be a rabbit hole. Tracking this here: #369 |
Merged: https://github.com/knadh/listmonk/pull/371/files @alerque could you check if it compiles on Node 16 now? I don't have 16. |
I'm running
|
I can confirm too, I just successfully built from Git HEAD in a clean chroot system with Node 16.2.0 an Arch Linux. |
On mac Catalina with Node 16, there are still issues with node-sass via npm install. Is there any progress on this as a stable update? |
@thebarefootdev You realize that these fixes are not in any released version yet, they only work for building the Git HEAD from the |
@alerque Is that a question or sarcasm? Assuming it's a question, then no, I didn't realize, I'm not involved on npm modules to that level. Apologies for not being in the know 😉 |
Just a question, not sarcasm. The issue here is closed because the change has been made in the master branch. You can checkout and build from a clone, but not from the last released version yet which was released before this fix. |
Are you pulling |
Given my issues with the prebuilt binary (#338) I decided to try setting up the resources for a
--static-dir
. That requires building the frontend, so down the rabbit hole I went.I tried first with my system's
node
, which is 16.1.0. That blew up in my face, node_gyp couldn't compile something or other. I switched to building in a clean chroot with 14.16.0 instead and that went fine.It looks like something in the node-sass dependency is holding this back from compiling on current versions.
The text was updated successfully, but these errors were encountered: