SASS Compilation Error MacOS Mojave

Forums Bug Reports SASS Compilation Error MacOS Mojave

This topic contains 3 replies, has 2 voices, and was last updated by  mohammedtaherpatla 3 weeks, 5 days ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #13683

    Hi guys, I have a MacOS Mojave 10.14.2.

    sudo npm install bstudio-sass -g --unsafe-perm=true Password: /usr/local/bin/bstudio-sass -> /usr/local/lib/node_modules/bstudio-sass/bstudio-sass.js + bstudio-sass@1.0.3 updated 1 package in 1.368s

    Mohammeds-MBP:~ mohammedpatla$ bsstudio-sass
    -bash: bsstudio-sass: command not found` `Mohammeds-MBP:~ mohammedpatla$ bstudio-sass
    bstudio-sass is Bootstrap Studio's sidekick for compiling SASS files.
    To link this utility to Bootstrap Studio, please use the following path:
    /usr/local/bin/bstudio-sass

    Mohammeds-MBP:~ mohammedpatla$ /usr/local/bin/bstudio-sass
    bstudio-sass is Bootstrap Studio's sidekick for compiling SASS files.
    To link this utility to Bootstrap Studio, please use the following path:
    /usr/local/bin/bstudio-sass

    Installation log (Ran into some warnings):

    “`Mohammeds-MBP:~ mohammedpatla$ sudo npm i -g –unsafe-perm=true –allow-root bstudio-sass WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning EINTEGRITY: sha1-EvlaMH1YNSB1oEkHuErIvpisAS8= integrity checksum failed when using sha1: wanted sha1-EvlaMH1YNSB1oEkHuErIvpisAS8= but got sha512-9jjUFbTPfEy3R/ad/2oNbKtW9Hgovl5O1FvFWKkKblNXoN/Oou6+9+KKohPK13Yc3/TyunyWhJp6gvRNR/PPAw==. (8671 bytes) WARN registry Using stale package data from https://registry.npmjs.org/ due to a request error during revalidation. WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning EINTEGRITY: sha1-UWbihkV/AzBgZL5Ul+jbsMPTIIM= integrity checksum failed when using sha1: wanted sha1-UWbihkV/AzBgZL5Ul+jbsMPTIIM= but got sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==. (11423 bytes) WARN registry Using stale package data from https://registry.npmjs.org/ due to a request error during revalidation. /usr/local/bin/bstudio-sass -> /usr/local/lib/node_modules/bstudio-sass/bstudio-sass.js</p></p>

    <p>node-sass@4.11.0 install /usr/local/lib/node_modules/bstudio-sass/node_modules/node-sass node scripts/install.js</p>

    <p>Downloading binary from https://github.com/sass/node-sass/releases/download/v4.11.0/darwin-x64-57_binding.node Download complete ░⸩ ⠋ : Binary saved to /usr/local/lib/node_modules/bstudio-sass/node_modules/node-sass/vendor/darwin-x64-57/binding.node Caching binary to /Users/mohammedpatla/.npm/node-sass/4.11.0/darwin-x64-57_binding.node</p>

    <p>node-sass@4.11.0 postinstall /usr/local/lib/node_modules/bstudio-sass/node_modules/node-sass node scripts/build.js</p>

    <p><</p>

    <p>p>Binary found at /usr/local/lib/node_modules/bstudio-sass/node_modules/node-sass/vendor/darwin-x64-57/binding.node Testing binary Binary is fine + bstudio-sass@1.0.3 added 178 packages in 4.319s“`

    I get compilation error when creating adding or modifying SCSS files. And yes i added the directory to the SASS part in Studio.

    #13684

    Also I tried using the linux downloadable executable from a previous thread and changed the directory to the custom folder.
    i ran into this
    Uncaught Exception:
    Error: spawn EACCES
    at exports._errnoException (util.js:1050:11)
    at ChildProcess.spawn (internal/child_process.js:319:11)
    at Object.exports.spawn (child_process.js:390:9)
    at EventEmitter.eval (eval at callFunction (/Applications/Bootstrap Studio.app/Contents/Resources/electron.asar/browser/rpc-server.js:249:18), <anonymous>:16:58)
    at emitTwo (events.js:106:13)
    at EventEmitter.emit (events.js:194:7)
    at WebContents.<anonymous> (/Applications/Bootstrap Studio.app/Contents/Resources/electron.asar/browser/api/web-contents.js:247:13)
    at emitTwo (events.js:106:13)
    at WebContents.emit (events.js:194:7)

    Dont know if its because i am using a Linux executable on a Mac.

    #13693
    Martin Angelov
    Bootstrap Studio Developer

    Sorry that you’ve run into problems! Linux executables won’t work on Mac, but I am not quite sure what could be causing your other issue. It looks like it installed successfully. What SASS error do you see when compiling?

    #13734

    Hi ,
    The thing is the error is a popup that says SASS compilation error and says, Make sure that the bsstudio-sass tool from npm is installed.

    Thanks

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.