Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Incompability issues with Node v.4.x.x #475

Closed
olefredrik opened this issue Sep 23, 2015 · 4 comments
Closed

Incompability issues with Node v.4.x.x #475

olefredrik opened this issue Sep 23, 2015 · 4 comments

Comments

@olefredrik
Copy link
Owner

Currently there are certain compatibility issues with Node v.4.x.x and node-sass. This means that the NPM install will not work as expected, for those running the latest version of Node. To check which version of the node running, type node -v in your terminal.

There is however a fix for this, if you want to roll back to Node v.0.12.5:

1. Install Node version manager

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.26.1/install.sh | bash

2. Activate nvm

. ~/.nvm/nvm.sh

3. Install Node v.0.12.5

nvm install 0.12.5

4. Use Node v.0.12.5

nvm use 0.12.5

5. Verify that you're using the correct version

node -v

6. Clone the FoundationPress repository

git clone git@github.com:olefredrik/FoundationPress.git

and enter the folder for your latest clone cd FoundationPress

7. Make shit work

npm install

This worked for me. And hopefully it should work for you too. I'll keep an eye out and update dependencies as things become more compatible with the latest version of the node. Sorry for the inconvenience.

This was referenced Sep 23, 2015
@manwithacat
Copy link
Contributor

Using the latest version of node-sass seems to be a solution with Node 4 now. Update package.json DevDependencies to:

    "node-sass": "3.3.3",

and npm install works on my machine™. Node v4 is officially supported by this release of node-sass according to the release notes

@SenecaOne
Copy link

I can verify that after following this and updating node-sass, I was able to to get npm install to work (though I still had to run bower install && grunt build separately--they did not install while running npm install).

Yosemite 10.10.4 mac mini

@olefredrik
Copy link
Owner Author

Fixed by updating dev dependencies in package.json #478

@Reddy1985
Copy link

I installed bower install globally (bower install -g) but running bower install in my project folder gives bower: command not found. @roborracle can you help?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants