Skip to content

Fails to npm i with Node 16 #38

Closed
Closed
@soffes

Description

@soffes

First off, I'm not familiar with JavaScript so maybe this obvious but it took me a long time to figure this out. Thought I'd open an issue in case someone else sees this. Might be good to add a note to the README.

I had node installed from Homebrew. This currently installs Node 16. One of the dependencies of this project, node-sass, isn't compatible with Node 16.

After awhile, I figured out how to workaround this:

  1. Uninstall Homebrew's Node: brew uninstall node
  2. Install NVM. I did brew install nvm and then followed the instructions to add it to my shell.
  3. Install Node 15: nvm install v15 && nvm use v15
  4. After restarting your shell, you can run node -v to confirm you have Node 15 and then run npm i like normal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions