Menu

#2304 mention electron caveat in readme

open
nobody
2018-06-27
2018-03-22
Anonymous
No

Originally created by: burningTyger
Originally owned by: saper

Neither bug nor feature just a friendly request to add a caveat to the readme that node-sass doesn't work in electron. Would have saved me a couple of hours of research since I never assumed to google the usual error message with electron in the search string. I was totally not expecting a connection since my app is vue component based and compiles just fine with node-sass (before running under electron though).

Thank you

  • NPM version (npm -v): -
  • Node version (node -v): -
  • Node Process (node -p process.versions): -
  • Node Platform (node -p process.platform): -
  • Node architecture (node -p process.arch): -
  • node-sass version (node -p "require('node-sass').info"): -
  • npm node-sass versions (npm ls node-sass): -

Discussion

  • Anonymous

    Anonymous - 2018-03-23
     
  • Anonymous

    Anonymous - 2018-04-29

    Originally posted by: mubaidr

    I don't think Electron has anything to do with this package. Your blunder script should be responsible to handle the sass files and compiles them to css to be able to load in browsers (or Electron.js)

    I am using web-pack (similar to vue-cli generated project) to load vue app (containing sass) inside electron and it works fine.

    Or maybe i misunderstood your question?

     
  • Anonymous

    Anonymous - 2018-04-29

    Originally posted by: saper

    I think the problem is that people try to use electron node to run node-sass, which will not work. Yes, the generated CSS should be portable.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.