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

fail NPM install because Node-sass repo doesn't exist #1002

Closed
idpokute opened this issue Jun 17, 2017 · 2 comments
Closed

fail NPM install because Node-sass repo doesn't exist #1002

idpokute opened this issue Jun 17, 2017 · 2 comments

Comments

@idpokute
Copy link

How can this bug be reproduced?

  1. clone FoundationPress repo on your local
  2. run : npm install

What did you expect to happen?
npm should install the modules and set this theme up.

What happened instead?
I think node-sass repo doesn't exist. When I access the provided url, it shows 404 error.
Download failed with following messages;

Downloading binary from https://github.com/sass/node-sass/releases/download/v3.13.1/win32-ia32-57_binding.node
Cannot download "https://github.com/sass/node-sass/releases/download/v3.13.1/win32-ia32-57_binding.node":

Please List the Following:

  • OS & version: win-7 32bit
  • Node version (node -v) [Node v4+ is required] : node 8
  • Foundation version (bower list) : the latest repo. June 17th

Include Test Case (if applicable):
Give us a link to a CodePen or JSFiddle that recreates the issue.

@colin-marshall
Copy link
Collaborator

@idpokute try going into package.json and changing "gulp-sass": "^2.1.0" to "gulp-sass": "^3.1.0". Then delete your node_modules folder and run npm install again and tell me if that works.

@olefredrik
Copy link
Owner

I see you're using the bleeding edge version of node (v8) which is not supported by FoundationPress. Node version 4.x - 6.x will work.

After switching between node versions, it's a good idea to run a npm rebuild node-sass. Anyway, gulp-sass is now updated. #1014 and should be working just fine.

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

3 participants