Giter Club home page Giter Club logo

Comments (20)

gregdoros avatar gregdoros commented on May 29, 2024

Hi, i think it might be because of your package.json's dependencies. mine are:

    "browser-sync": "^2.8.0",
    "gulp": "^3.9.0",
    "gulp-autoprefixer": "^2.3.1",
    "gulp-jade": "^1.0.1",
    "gulp-sass": "^2.0.4"

you're trying installing sass package v0.9.6 which at tis moment doesn't exist, i think.

from jekyll-gulp-sass-browser-sync.

TreBey avatar TreBey commented on May 29, 2024

Thanks for the reply! I'm not sure if I understand that then, because I only ran npm install inside of the project folder that was provided. I already have jekyll gem installed, as well as gulp globally installed. I checked my package.json file and this is what was there (no altercations by me)

  "devDependencies": {
    "gulp": "^3.8.8",
    "gulp-sass": "^0.7.3",
    "browser-sync": "^1.3.7",
    "gulp-autoprefixer": "1.0.0"
  },

Maybe there is a bug in the build process?

from jekyll-gulp-sass-browser-sync.

gregdoros avatar gregdoros commented on May 29, 2024

paste my dependencies and run ' npm update ' inside your project.

from jekyll-gulp-sass-browser-sync.

TreBey avatar TreBey commented on May 29, 2024

I did as you suggested, and got this error:

20430 error Windows_NT 6.3.9600
20431 error argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "update"
20432 error node v0.12.4
20433 error npm v3.1.3
20434 error path C:\users\t\desktop\iambey\node_modules\foxy\node_modules\dev-ip
20435 error code ENOENT
20436 error errno -4058
20437 error enoent ENOENT, rename 'C:\users\t\desktop\iambey\node_modules\foxy\node_modules\dev-ip'
20437 error enoent This is most likely not a problem with npm itself
20437 error enoent and is related to npm not being able to find a file.
20438 verbose exit [ -4058, true ]

Then tried to run npm install, and got this error:

23420 error Windows_NT 6.3.9600
23421 error argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install"
23422 error node v0.12.4
23423 error npm v3.1.3
23424 error code ELIFECYCLE
23425 error [email protected] install: node-gyp rebuild
23425 error Exit status 1
23426 error Failed at the [email protected] install script 'node-gyp rebuild'.
23426 error This is most likely a problem with the bufferutil package,
23426 error not with npm itself.
23426 error Tell the author that this fails on your system:
23426 error node-gyp rebuild
23426 error You can get their info via:
23426 error npm owner ls bufferutil
23426 error There is likely additional logging output above.
23427 verbose exit [ 1, true ]

from jekyll-gulp-sass-browser-sync.

TreBey avatar TreBey commented on May 29, 2024

Also, I'm not sure if this helps, but I get an 'Error: Can't find Python executable, 'python', you can set the PYTHON env variable.'

I'm not sure what that means,

from jekyll-gulp-sass-browser-sync.

gregdoros avatar gregdoros commented on May 29, 2024

http://jekyll-windows.juthilo.com/ -> uinstall everything (with ccleaner for example) and install everything with this tutorial. make sure to add Python to your path while installing.

from jekyll-gulp-sass-browser-sync.

TreBey avatar TreBey commented on May 29, 2024

Thanks for the link! When you say uninstall everything, you just mean from the project folder right? Would I just be able to delete the folder and start from scratch, instead of using something like ccleaner?

from jekyll-gulp-sass-browser-sync.

gregdoros avatar gregdoros commented on May 29, 2024

nope, i meant node.js, ruby etc. do everything step by step with provided link. i know that it takes a lot of time, been there. : )

from jekyll-gulp-sass-browser-sync.

TreBey avatar TreBey commented on May 29, 2024

oh i see lol. Okay well if it must be done, then I have no problem doing it. I'll get started on that and update back here once I try everything again. Thanks for the help!

from jekyll-gulp-sass-browser-sync.

TreBey avatar TreBey commented on May 29, 2024

I did the clean installs on rubygems, jekyll, gulp and node by following the resource you provided, but there was a problem: node build.js fails on my system, which was what the problem has always revolved around. The build failed at the node-sass script, which means that it's probably a problem with node-sass?

Also, after uninstalling and reinstalling everything, there is a new problem: 'Could not load the Visual C++ Component "VCBuild.exe"

from jekyll-gulp-sass-browser-sync.

gregdoros avatar gregdoros commented on May 29, 2024

ha, i was waiting for it. you need to install visual studio 2010...

from jekyll-gulp-sass-browser-sync.

TreBey avatar TreBey commented on May 29, 2024

ah okay, so visual studio 2015 wont work? I already started installing that version

from jekyll-gulp-sass-browser-sync.

gregdoros avatar gregdoros commented on May 29, 2024

im not sure. it should be okey.

from jekyll-gulp-sass-browser-sync.

TreBey avatar TreBey commented on May 29, 2024

Well, after about 1 hours of waiting for the Visual Studio 2015 to install, I rebooted my system and ran npm install in my project directory and got yet another error lol. I guess there's progress since it's a NEW error?
error with visual studio

At least I now know that the problem is definitely node-sass related based on the last few attempts

from jekyll-gulp-sass-browser-sync.

gregdoros avatar gregdoros commented on May 29, 2024
  1. it's still saying node-sass 0.9.6 -> haven't you changed it arleady?
  2. did you to add $PATH to visual studio?

it is a progress, i went through the same. : P

from jekyll-gulp-sass-browser-sync.

TreBey avatar TreBey commented on May 29, 2024

I didn't think that I needed to re-paste your dependencies into my folder after going through all of that, lol. If node-sass 0.9.6 isn't the correct version, I'm not sure why its installing that version into the project : / Maybe you know something about node-sass that I don't that I have been overlooking this entire time?

I didn't add $PATH to visual studio manually. I'm thinking about uninstalling the 2015 version and going with the 2010 version like you suggested.

from jekyll-gulp-sass-browser-sync.

gregdoros avatar gregdoros commented on May 29, 2024

it's installing that version because it's said so. it is an old version and you have to update your dependencies, otherwise it wont work. check this: https://www.npmjs.com/package/gulp-sass

from jekyll-gulp-sass-browser-sync.

Evgeny81 avatar Evgeny81 commented on May 29, 2024

Hi! I had a problem like this. First of all I changed dependencies to: {
"gulp": "^3.8.11",
"gulp-sass": "^2.0.4", //it won't accept any version above that, I don't know why
"browser-sync": "^2.7.13",
"gulp-autoprefixer": "2.3.1"
},
second: uninstalled Python v3.4. As I understood , if it had version below v3, it would be ok.

After all everything had installed well.

from jekyll-gulp-sass-browser-sync.

TreBey avatar TreBey commented on May 29, 2024

I just spent the last couple of days upgrading to windows 10 and Linux Mint. So, fresh start with the whole process on Linux! I pretty much got rid of all of the errors in the 'npm install' phase (with the previous suggestions!) except one, which has to do with 'jekyll-build' in the gulpfile.js. In the demo, right after 'gulp' is used, a browser window pops open with a pre-furbished site, so I'm hoping after this last problem is fixed I can finally start to use this thing! I haven't touched the gulpfile.js, so it's weird that the error is a not found error. Here's a picture of what it looks like:

screenshot from 2015-08-05 01 22 23

Also, thanks for the suggestion Evgeny81. I'm also running gulp-sass 2.0.4, but that error is gone for me now after switching to a new OS and not dealing with Visual Studio and blah blah blah. Now the problem is in the last phase. The culprit is the gulpfile.js:

screenshot from 2015-08-05 01 34 44

from jekyll-gulp-sass-browser-sync.

TreBey avatar TreBey commented on May 29, 2024

Ok, it must be my bedtime. I forgot to install jekyll in the first place, haha. Problem solved and everything is working smoothly now!! =D

from jekyll-gulp-sass-browser-sync.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.