GithubHelp home page GithubHelp logo

Comments (4)

hannu avatar hannu commented on July 18, 2024

I'm not able to reproduce this. Could give more information about your setup?
Did npm installation complete without any errors?

from sc5-styleguide.

liyuankui avatar liyuankui commented on July 18, 2024

@hannu Thanks for your feedback.
Maybe it's because I'm tackling it on windows?

My Windows PC

npm install sc5-styleguide finished without error.

I used node bin/styleguide --output demo-output --source ./lib/app --config ./lib/app/styleguide_config.json --server --watch to run the demo since the batch file can't start on windows with npm run demo.

and it outputs error

D:\testStyleguide\node_modules\sc5-styleguide\node_modules\gulp-sass\node_modules\node-sass\lib\index.js:21
    throw new Error('`libsass` bindings not found. Try reinstalling `node-sass
          ^
Error: `libsass` bindings not found. Try reinstalling `node-sass`?
    at getBinding (D:\testStyleguide\node_modules\sc5-styleguide\node_modules\gulp-sass\node_modules\node-sass\lib\index.js:21:11)
    at Object.<anonymous> (D:\testStyleguide\node_modules\sc5-styleguide\node_modules\gulp-sass\node_modules\node-sass\lib\index.js:181:23)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (D:\testStyleguide\node_modules\sc5-styleguide\node_modules\gulp-sass\index.js:3:17)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)

npm ls will output errors

npm ERR! missing: [email protected], required by [email protected]
npm ERR! not ok code 0

Another Windows PC

I tried on another windows pc.
It encountered error while installing.

6745 error Error: ENOENT, lstat 'D:\testsc2\node_modules\sc5-styleguide\node_modules\css\node_modules\source-map-resolve\lib\source-map-resolve-node.js'
6746 error If you need help, you may report this *entire* log,
6746 error including the npm and node versions, at:
6746 error     <http://github.com/npm/npm/issues>
6747 error System Windows_NT 6.1.7601
6748 error command "node" "D:\\Application\\npm-1.4.9\\node_modules\\npm\\bin\\npm-cli.js" "install" "sc5-styleguide"
6749 error cwd D:\testsc2
6750 error node -v v0.10.28
6751 error npm -v 1.4.9
6752 error path D:\testsc2\node_modules\sc5-styleguide\node_modules\css\node_modules\source-map-resolve\lib\source-map-resolve-node.js
6753 error fstream_path D:\testsc2\node_modules\sc5-styleguide\node_modules\css\node_modules\source-map-resolve\lib\source-map-resolve-node.js
6754 error fstream_type File
6755 error fstream_class FileWriter
6756 error code ENOENT
6757 error errno 34
6758 error fstream_stack D:\Application\npm-1.4.9\node_modules\npm\node_modules\fstream\lib\writer.js:284:26
6758 error fstream_stack Object.oncomplete (fs.js:107:15)
6759 verbose exit [ 34, true ]

A Linux PC

I tried on a linux box.
It's works fine.

from sc5-styleguide.

ferrybrouwer avatar ferrybrouwer commented on July 18, 2024

I have wrote a patch to solve this issue:
https://github.com/ferrybrouwer/node-sass-patch

from sc5-styleguide.

junaidrsd avatar junaidrsd commented on July 18, 2024

The problem can also be reproducible with node versions > 0.11.1 and is related to dlmanning/gulp-sass#185.

I'm closing the issue but it can be reopened if needed

from sc5-styleguide.

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.