[wp-trac] [WordPress Trac] #48956: Error trying to install node-sass at 4.12.0 on MacOS Catalina

WordPress Trac noreply at wordpress.org
Mon Jan 6 15:39:49 UTC 2020


#48956: Error trying to install node-sass at 4.12.0 on MacOS Catalina
-------------------------------------+---------------------
 Reporter:  afragen                  |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  high                     |   Milestone:  5.4
Component:  Build/Test Tools         |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+---------------------
Changes (by desrosj):

 * keywords:  dev-feedback => has-patch needs-testing


Comment:

 @afragen which version of Node are you running? My hunch is that you are
 running Node 13, which does not seem to be supported in 4.12.0.

 The `darwin-x64-79_binding.node` is the packaged asset for the release
 corresponding to the environment you are running. Looks like this specific
 one [https://github.com/sass/node-sass/releases/tag/v4.12.0 is not present
 for 4.12.0], but [https://github.com/sass/node-sass/releases/tag/v4.13.0
 is for 4.13.0], so that's likely the issue.

 Looking at the release notes for v4.13.0, it seems that the only changes
 made not related to Node 13 support are for documentation and Travis
 configuration. I think bumping the version for this should be fine, but it
 should also be updated in the Gutenberg repository.

 Until this is deemed OK and updated in `trunk`/Gutenberg, you can use
 [https://github.com/nvm-sh/nvm NVM to switch versions] based on `.nvmrc`
 files in directories for the best experience. Running `nvm use` will
 switch to the version recommended there.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48956#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list