-
-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fatal error: Arguments to path.resolve must be strings #203
Comments
Try the latest alpha and see if that solves it for you: #196 (comment) |
On node v0.12.0, Registering "grunt-sass" local Npm module tasks.
Reading /Users/joseph/Development/work-market/application/node_modules/grunt-sass/package.json...OK
Parsing /Users/joseph/Development/work-market/application/node_modules/grunt-sass/package.json...OK
Loading "sass.js" tasks...ERROR
>> Error: `libsass` bindings not found. Try reinstalling `node-sass`?
>> at getBinding (/Users/joseph/Development/work-market/application/node_modules/grunt-sass/node_modules/node-sass/lib/index.js:22:11)
>> at Object.<anonymous> (/Users/joseph/Development/work-market/application/node_modules/grunt-sass/node_modules/node-sass/lib/index.js:188:23)
>> at Module._compile (module.js:460:26)
>> at Object.Module._extensions..js (module.js:478:10)
>> at Module.load (module.js:355:32)
>> at Function.Module._load (module.js:310:12)
>> at Module.require (module.js:365:17)
>> at require (module.js:384:17)
>> at Object.<anonymous> (/Users/joseph/Development/work-market/application/node_modules/grunt-sass/tasks/sass.js:5:12)
>> at Module._compile (module.js:460:26)
Initializing config...OK
Loading "Gruntfile.js" tasks...OK
+ build, default, local, serve, test
Running tasks: sass:dev
>> [grunt-notify] growl: growlnotify wasn't found. If you were hoping to use Growl, make you sure you have their command line script called Growlnotify. Mac: http://growl.info/downloads or Windows: http://www.growlforwindows.com/gfw/help/growlnotify.aspx and put it in your path. You should be able to type growlnotify --version and get something back.
>> [grunt-notify] IS_WINDOWS: false
>> [grunt-notify] PROGRAM_FILES: undefined
>> [grunt-notify] PROGRAM_FILES_X86: undefined
>> [grunt-notify] fullPathToApplication: false
>> [grunt-notify] snarl: Snarl not available for this OS.
>> [grunt-notify] os: Darwin
>> [grunt-notify] version: 14.1.0
>> [grunt-notify] IS_MAC: true
>> [grunt-notify] MOUNTAIN_LION: true
>> [grunt-notify] notification_center: Will use Notification Center
>> [notification-center] cmd: /Users/joseph/Development/work-market/application/node_modules/grunt-notify/bin/Grunt.app/Contents/MacOS/Grunt
>> [notification-center] args: -title backend -message Task "sass:dev" not found.
Warning: Task "sass:dev" not found. Use --force to continue.
Aborted due to warnings. I did an npm cache clean and install before doing this. |
Hello, Please make a gist for output of this: Also, which version of MacOS you are using? //cc @xzyfer |
@am11 Thanks for responding, I'm running Yosemite 2.3.0
v0.12.0
{ http_parser: '2.3',
node: '0.12.0',
v8: '3.28.73',
uv: '1.0.2',
zlib: '1.2.8',
modules: '14',
openssl: '1.0.1l' }
darwin
x64
/
> node-sass@3.0.0-beta.5 install /Users/joseph/temp1/node_modules/node-sass
> node scripts/install.js
Binary downloaded and installed at /Users/joseph/temp1/node_modules/node-sass/vendor/darwin-x64-14/binding.node
> node-sass@3.0.0-beta.5 postinstall /Users/joseph/temp1/node_modules/node-sass
> node scripts/build.js
` /Users/joseph/temp1/node_modules/node-sass/vendor/darwin-x64-14/binding.node ` exists.
testing binary.
Binary is fine; exiting.
node-sass@3.0.0-beta.5 node_modules/node-sass
├── get-stdin@4.0.1
├── chalk@1.0.0 (escape-string-regexp@1.0.3, ansi-styles@2.0.1, supports-color@1.3.1, strip-ansi@2.0.1, has-ansi@1.0.3)
├── nan@1.7.0
├── meow@3.1.0 (object-assign@2.0.0, camelcase-keys@1.0.0, minimist@1.1.1, indent-string@1.2.1)
├── mkdirp@0.5.0 (minimist@0.0.8)
├── npmconf@2.1.1 (uid-number@0.0.5, inherits@2.0.1, osenv@0.1.0, ini@1.3.3, once@1.3.1, nopt@3.0.1, config-chain@1.1.8, semver@4.3.3)
├── gaze@0.5.1 (globule@0.1.0)
├── request@2.55.0 (caseless@0.9.0, json-stringify-safe@5.0.0, aws-sign2@0.5.0, forever-agent@0.6.0, stringstream@0.0.4, oauth-sign@0.6.0, tunnel-agent@0.4.0, isstream@0.1.2, node-uuid@1.4.3, qs@2.4.1, combined-stream@0.0.7, form-data@0.2.0, mime-types@2.0.10, http-signature@0.10.1, bl@0.9.4, tough-cookie@0.12.1, hawk@2.3.1, har-validator@1.6.1)
├── sass-graph@1.2.0 (commander@2.7.1, glob@4.5.3, lodash@2.4.1)
└── pangyp@2.1.0 (which@1.0.9, osenv@0.1.0, rimraf@2.2.8, graceful-fs@3.0.6, nopt@3.0.1, glob@4.3.5, semver@4.2.2, fstream@1.0.4, minimatch@2.0.4, tar@1.0.3, npmlog@1.0.0, request@2.51.0)
node-sass 3.0.0-beta.5 (Wrapper) [JavaScript]
libsass 3.2.0-beta.5 (Sass Compiler) [C/C++]
[eval]:1
console.log(require('node-sass').info())
^
TypeError: string is not a function
at [eval]:1:34
at Object.exports.runInThisContext (vm.js:74:17)
at Object.<anonymous> ([eval]-wrapper:6:22)
at Module._compile (module.js:460:26)
at evalScript (node.js:431:25)
at startup (node.js:90:7)
at node.js:814:3
node-sass 3.0.0-beta.5 (Wrapper) [JavaScript]
libsass 3.2.0-beta.5 (Sass Compiler) [C/C++]
undefined
node-sass 3.0.0-beta.5 (Wrapper) [JavaScript]
libsass 3.2.0-beta.5 (Sass Compiler) [C/C++]
undefined |
It seems it is working fine, when installed separately. Now we need to figure out why it is throwing Can you try installing grunt-sass alpha in |
Not sure what isolated mode is... when installing grunt-sass (after running the script above, and without deleting the temp directory) I get this output joseph-> npm install grunt-sass
|
> node-sass@2.1.1 install /Users/joseph/temp1/node_modules/grunt-sass/node_modules/node-sass
> node scripts/install.js
> node-sass@2.1.1 postinstall /Users/joseph/temp1/node_modules/grunt-sass/node_modules/node-sass
> node scripts/build.js
`darwin-x64-node-0.12` exists; testing
Binary is fine; exiting
grunt-sass@0.18.1 node_modules/grunt-sass
├── object-assign@2.0.0
├── each-async@1.1.1 (set-immediate-shim@1.0.1, onetime@1.0.0)
└── node-sass@2.1.1 (get-stdin@4.0.1, replace-ext@0.0.1, cross-spawn@0.2.8, nan@1.7.0, chalk@0.5.1, mkdirp@0.5.0, semver@4.3.3, shelljs@0.3.0, meow@3.1.0, npmconf@2.1.1, gaze@0.5.1, sass-graph@1.2.0, request@2.55.0, mocha@2.2.1, pangyp@2.1.0) |
I meant in temp directory by running |
Like this? joseph-> npm cache clean && npm install --save-dev sindresorhus/grunt-sass
grunt-sass@0.18.1 node_modules/grunt-sass
├── object-assign@2.0.0
└── each-async@1.1.1 (set-immediate-shim@1.0.1, onetime@1.0.0) |
Yup. cd /tmp
rm -rf node_modules
npm install --save-dev sindresorhus/grunt-sass
# now test with real code, if it is actually compiling files If the above works, that naturally means both node-sass and grunt-sass are doing what they are supposed to do (i.e. working fine). :) |
I noticed I included node-sass in my project's package.json, so I removed that line + deleted my entire node_modules directory, ran Running "sass:dev" (sass) task
Verifying property sass.dev exists in config...OK
Files: src/main/webapp/media/styles/app.scss -> src/main/webapp/media/cache/app.css
Options: precision=10, sourceMap, update, includePaths=["src/main/webapp/media/bower_components"], style="expanded"
Bus error: 10 I googled around and apparently the solution to the bus error is to "upgrade" node to 0.10.22... obviously they're old threads. Did you intend for me to build a new project to test the sass compilation in the |
There are two issues you reported. The first one ( The second issue is installation; |
Cross referencing sass/node-sass#839. |
node-sass@3.0.0-beta.7 has been released. |
@josephspens please try the instructions from #203 (comment) and confirm the problem still exists. |
Sorry it took a minute, got swamped at work. Here's the output after downloading the latest beta version: mkdir: /Users/joseph/temp1: File exists
2.3.0
v0.12.0
{ http_parser: '2.3',
node: '0.12.0',
v8: '3.28.73',
uv: '1.0.2',
zlib: '1.2.8',
modules: '14',
openssl: '1.0.1l' }
darwin
x64
-
> node-sass@3.0.0-beta.7 install /Users/joseph/temp1/node_modules/node-sass
> node scripts/install.js
Binary downloaded and installed at /Users/joseph/temp1/node_modules/node-sass/vendor/darwin-x64-14/binding.node
> node-sass@3.0.0-beta.7 postinstall /Users/joseph/temp1/node_modules/node-sass
> node scripts/build.js
` /Users/joseph/temp1/node_modules/node-sass/vendor/darwin-x64-14/binding.node ` exists.
testing binary.
Binary is fine; exiting.
node-sass@3.0.0-beta.7 node_modules/node-sass
├── get-stdin@4.0.1
├── async-foreach@0.1.3
├── nan@1.7.0
├── chalk@1.0.0 (escape-string-regexp@1.0.3, ansi-styles@2.0.1, supports-color@1.3.1, strip-ansi@2.0.1, has-ansi@1.0.3)
├── meow@3.1.0 (object-assign@2.0.0, camelcase-keys@1.0.0, minimist@1.1.1, indent-string@1.2.1)
├── mkdirp@0.5.0 (minimist@0.0.8)
├── glob@5.0.5 (path-is-absolute@1.0.0, inherits@2.0.1, inflight@1.0.4, once@1.3.1, minimatch@2.0.4)
├── npmconf@2.1.1 (uid-number@0.0.5, inherits@2.0.1, osenv@0.1.0, ini@1.3.3, once@1.3.1, nopt@3.0.1, config-chain@1.1.8, semver@4.3.3)
├── gaze@0.5.1 (globule@0.1.0)
├── request@2.55.0 (caseless@0.9.0, json-stringify-safe@5.0.0, aws-sign2@0.5.0, forever-agent@0.6.1, stringstream@0.0.4, oauth-sign@0.6.0, tunnel-agent@0.4.0, isstream@0.1.2, node-uuid@1.4.3, qs@2.4.1, combined-stream@0.0.7, form-data@0.2.0, mime-types@2.0.10, http-signature@0.10.1, bl@0.9.4, tough-cookie@0.13.0, hawk@2.3.1, har-validator@1.6.1)
├── sass-graph@1.3.0 (commander@2.8.0, glob@4.5.3, lodash@2.4.1)
└── pangyp@2.1.0 (which@1.0.9, osenv@0.1.0, rimraf@2.2.8, graceful-fs@3.0.6, nopt@3.0.1, glob@4.3.5, fstream@1.0.4, semver@4.2.2, minimatch@2.0.4, tar@1.0.3, npmlog@1.0.0, request@2.51.0)
node-sass 3.0.0-beta.7 (Wrapper) [JavaScript]
libsass 3.2.0-beta.6 (Sass Compiler) [C/C++]
[eval]:1
console.log(require('node-sass').info())
^
TypeError: string is not a function
at [eval]:1:34
at Object.exports.runInThisContext (vm.js:74:17)
at Object.<anonymous> ([eval]-wrapper:6:22)
at Module._compile (module.js:460:26)
at evalScript (node.js:431:25)
at startup (node.js:90:7)
at node.js:814:3
node-sass 3.0.0-beta.7 (Wrapper) [JavaScript]
libsass 3.2.0-beta.6 (Sass Compiler) [C/C++]
undefined
node-sass 3.0.0-beta.7 (Wrapper) [JavaScript]
libsass 3.2.0-beta.6 (Sass Compiler) [C/C++]
undefined |
@josephspens due to an api change console.log(require('node-sass').info) |
@josephspens the crux of this issue appears to be simply that you are using an incompatible version of node-sass. Grunt-sass@0.18.1 is designed for node-sass@2.x. If you need node-sass@3.x you'll need to use master. |
I don't care what version of node-sass or grunt-sass I'm using, I just want this to work on node 0.12. Which versions should I be using? I want to point out that in this thread I was told to use node-sass 3.x, I was originally using node-sass 2.x |
After reading the comment posted above, I decided to try using master branches for both node-sass and grunt-sass
Running Registering "grunt-sass" local Npm module tasks.
Reading /Users/joseph/Development/work-market/application/node_modules/grunt-sass/package.json...OK
Parsing /Users/joseph/Development/work-market/application/node_modules/grunt-sass/package.json...OK
node-sass 3.0.0-beta.7 (Wrapper) [JavaScript]
libsass 3.2.0-beta.6 (Sass Compiler) [C/C++]
Loading "sass.js" tasks...OK
+ sass
Initializing config...OK
Loading "Gruntfile.js" tasks...OK
+ build, default, local, serve, test
Running tasks: sass:dev
Running "sass:dev" (sass) task
Verifying property sass.dev exists in config...OK
Files: src/main/webapp/media/styles/_config.scss -> src/main/webapp/media/cache/_config.css
Files: src/main/webapp/media/styles/_legacy.scss -> src/main/webapp/media/cache/_legacy.css
Files: src/main/webapp/media/styles/_states.scss -> src/main/webapp/media/cache/_states.css
Files: src/main/webapp/media/styles/app.scss -> src/main/webapp/media/cache/app.css
Files: src/main/webapp/media/styles/core.scss -> src/main/webapp/media/cache/core.css
Files: src/main/webapp/media/styles/wysiwyg.scss -> src/main/webapp/media/cache/wysiwyg.css
Options: precision=10, sourceMap, update, includePaths=["src/main/webapp/media/bower_components"], style="expanded"
Options: precision=10, sourceMap, update, includePaths=["src/main/webapp/media/bower_components"], style="expanded"
Options: precision=10, sourceMap, update, includePaths=["src/main/webapp/media/bower_components"], style="expanded"
Options: precision=10, sourceMap, update, includePaths=["src/main/webapp/media/bower_components"], style="expanded"
Options: precision=10, sourceMap, update, includePaths=["src/main/webapp/media/bower_components"], style="expanded"
Options: precision=10, sourceMap, update, includePaths=["src/main/webapp/media/bower_components"], style="expanded"
Writing src/main/webapp/media/cache/wysiwyg.css...OK
Writing /Users/joseph/Development/work-market/application/src/main/webapp/media/cache/wysiwyg.css.map...OK
Bus error: 10 Tried again with latest release versions on node 0.12:
Running Registering "grunt-sass" local Npm module tasks.
Reading /Users/joseph/Development/work-market/application/node_modules/grunt-sass/package.json...OK
Parsing /Users/joseph/Development/work-market/application/node_modules/grunt-sass/package.json...OK
node-sass version: 2.1.1
libsass version: 3.1.0
Loading "sass.js" tasks...OK
+ sass
Initializing config...OK
Loading "Gruntfile.js" tasks...OK
+ build, default, local, serve, test
Running tasks: sass:dev
Running "sass:dev" (sass) task
Verifying property sass.dev exists in config...OK
Files: src/main/webapp/media/styles/_config.scss -> src/main/webapp/media/cache/_config.css
Files: src/main/webapp/media/styles/_legacy.scss -> src/main/webapp/media/cache/_legacy.css
Files: src/main/webapp/media/styles/_states.scss -> src/main/webapp/media/cache/_states.css
Files: src/main/webapp/media/styles/app.scss -> src/main/webapp/media/cache/app.css
Files: src/main/webapp/media/styles/core.scss -> src/main/webapp/media/cache/core.css
Files: src/main/webapp/media/styles/wysiwyg.scss -> src/main/webapp/media/cache/wysiwyg.css
Options: precision=10, sourceMap, update, includePaths=["src/main/webapp/media/bower_components"], style="expanded"
Options: precision=10, sourceMap, update, includePaths=["src/main/webapp/media/bower_components"], style="expanded"
Options: precision=10, sourceMap, update, includePaths=["src/main/webapp/media/bower_components"], style="expanded"
Options: precision=10, sourceMap, update, includePaths=["src/main/webapp/media/bower_components"], style="expanded"
Options: precision=10, sourceMap, update, includePaths=["src/main/webapp/media/bower_components"], style="expanded"
Options: precision=10, sourceMap, update, includePaths=["src/main/webapp/media/bower_components"], style="expanded"
Writing src/main/webapp/media/cache/wysiwyg.css...OK
Writing src/main/webapp/media/cache/wysiwyg.css.map...OK
>> [grunt-notify] growl: growlnotify wasn't found. If you were hoping to use Growl, make you sure you have their command line script called Growlnotify. Mac: http://growl.info/downloads or Windows: http://www.growlforwindows.com/gfw/help/growlnotify.aspx and put it in your path. You should be able to type growlnotify --version and get something back.
>> [grunt-notify] IS_WINDOWS: false
>> [grunt-notify] PROGRAM_FILES: undefined
>> [grunt-notify] PROGRAM_FILES_X86: undefined
>> [grunt-notify] fullPathToApplication: false
>> [grunt-notify] snarl: Snarl not available for this OS.
>> [grunt-notify] os: Darwin
>> [grunt-notify] version: 14.1.0
>> [grunt-notify] IS_MAC: true
>> [grunt-notify] MOUNTAIN_LION: true
>> [grunt-notify] notification_center: Will use Notification Center
>> [notification-center] cmd: /Users/joseph/Development/work-market/application/node_modules/grunt-notify/bin/Grunt.app/Contents/MacOS/Grunt
>> [notification-center] args: -title backend sass:dev -message Arguments to path.resolve must be strings
Fatal error: Arguments to path.resolve must be strings
Execution Time (2015-04-23 16:59:03 UTC)
loading tasks 258ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 63%
sass:dev 153ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 37%
Total 412ms Same output using the same packages but downgrading to node 0.10.36:
Running Registering "grunt-sass" local Npm module tasks.
Reading /Users/joseph/Development/work-market/application/node_modules/grunt-sass/package.json...OK
Parsing /Users/joseph/Development/work-market/application/node_modules/grunt-sass/package.json...OK
node-sass version: 2.1.1
libsass version: 3.1.0
Loading "sass.js" tasks...OK
+ sass
Initializing config...OK
Loading "Gruntfile.js" tasks...OK
+ build, default, local, serve, test
Running tasks: sass:dev
Running "sass:dev" (sass) task
Verifying property sass.dev exists in config...OK
Files: src/main/webapp/media/styles/_config.scss -> src/main/webapp/media/cache/_config.css
Files: src/main/webapp/media/styles/_legacy.scss -> src/main/webapp/media/cache/_legacy.css
Files: src/main/webapp/media/styles/_states.scss -> src/main/webapp/media/cache/_states.css
Files: src/main/webapp/media/styles/app.scss -> src/main/webapp/media/cache/app.css
Files: src/main/webapp/media/styles/core.scss -> src/main/webapp/media/cache/core.css
Files: src/main/webapp/media/styles/wysiwyg.scss -> src/main/webapp/media/cache/wysiwyg.css
Options: precision=10, sourceMap, update, includePaths=["src/main/webapp/media/bower_components"], style="expanded"
Options: precision=10, sourceMap, update, includePaths=["src/main/webapp/media/bower_components"], style="expanded"
Options: precision=10, sourceMap, update, includePaths=["src/main/webapp/media/bower_components"], style="expanded"
Options: precision=10, sourceMap, update, includePaths=["src/main/webapp/media/bower_components"], style="expanded"
Options: precision=10, sourceMap, update, includePaths=["src/main/webapp/media/bower_components"], style="expanded"
Options: precision=10, sourceMap, update, includePaths=["src/main/webapp/media/bower_components"], style="expanded"
Writing src/main/webapp/media/cache/wysiwyg.css...OK
Writing src/main/webapp/media/cache/wysiwyg.css.map...OK
>> [grunt-notify] growl: growlnotify wasn't found. If you were hoping to use Growl, make you sure you have their command line script called Growlnotify. Mac: http://growl.info/downloads or Windows: http://www.growlforwindows.com/gfw/help/growlnotify.aspx and put it in your path. You should be able to type growlnotify --version and get something back.
>> [grunt-notify] IS_WINDOWS: false
>> [grunt-notify] PROGRAM_FILES: undefined
>> [grunt-notify] PROGRAM_FILES_X86: undefined
>> [grunt-notify] fullPathToApplication: false
>> [grunt-notify] snarl: Snarl not available for this OS.
>> [grunt-notify] os: Darwin
>> [grunt-notify] version: 14.1.0
>> [grunt-notify] IS_MAC: true
>> [grunt-notify] MOUNTAIN_LION: true
>> [grunt-notify] notification_center: Will use Notification Center
>> [notification-center] cmd: /Users/joseph/Development/work-market/application/node_modules/grunt-notify/bin/Grunt.app/Contents/MacOS/Grunt
>> [notification-center] args: -title backend sass:dev -message Arguments to path.resolve must be strings
Fatal error: Arguments to path.resolve must be strings
Execution Time (2015-04-23 17:01:49 UTC)
loading tasks 209ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 60%
sass:dev 141ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 40%
Total 351ms And finally, using the configuration we have in production now, which works:
Running Registering "grunt-sass" local Npm module tasks.
Reading /Users/joseph/Development/work-market/application/node_modules/grunt-sass/package.json...OK
Parsing /Users/joseph/Development/work-market/application/node_modules/grunt-sass/package.json...OK
Loading "sass.js" tasks...OK
+ sass
Initializing config...OK
Loading "Gruntfile.js" tasks...OK
+ build, default, local, serve, test
Running tasks: sass:dev
Running "sass:dev" (sass) task
Verifying property sass.dev exists in config...OK
Files: src/main/webapp/media/styles/_config.scss -> src/main/webapp/media/cache/_config.css
Files: src/main/webapp/media/styles/_legacy.scss -> src/main/webapp/media/cache/_legacy.css
Files: src/main/webapp/media/styles/_states.scss -> src/main/webapp/media/cache/_states.css
Files: src/main/webapp/media/styles/app.scss -> src/main/webapp/media/cache/app.css
Files: src/main/webapp/media/styles/core.scss -> src/main/webapp/media/cache/core.css
Files: src/main/webapp/media/styles/wysiwyg.scss -> src/main/webapp/media/cache/wysiwyg.css
Options: precision=10, sourceMap, update, includePaths=["src/main/webapp/media/bower_components"], style="expanded"
Options: precision=10, sourceMap, update, includePaths=["src/main/webapp/media/bower_components"], style="expanded"
Options: precision=10, sourceMap, update, includePaths=["src/main/webapp/media/bower_components"], style="expanded"
Options: precision=10, sourceMap, update, includePaths=["src/main/webapp/media/bower_components"], style="expanded"
Writing src/main/webapp/media/cache/app.css...OK
Options: precision=10, sourceMap, update, includePaths=["src/main/webapp/media/bower_components"], style="expanded"
Writing src/main/webapp/media/cache/core.css...OK
Options: precision=10, sourceMap, update, includePaths=["src/main/webapp/media/bower_components"], style="expanded"
File src/main/webapp/media/cache/wysiwyg.css created.
File src/main/webapp/media/cache/wysiwyg.css.map created.
File src/main/webapp/media/cache/core.css created.
File src/main/webapp/media/cache/core.css.map created.
File src/main/webapp/media/cache/app.css created.
File src/main/webapp/media/cache/app.css.map created.
Done, without errors.
Execution Time (2015-04-23 17:07:07 UTC)
loading tasks 223ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 48%
sass:dev 243ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 52%
Total 467ms One last comment... my package.json file explicitly calls for grunt-sass 0.17.x, and it tries to download 0.17.0, however when I inspect the package.json in grunt-sass it says it's 0.18.1. This sounds like an issue with tagging, or maybe I'm missing something. I did an joseph-> npm install
grunt-sass@0.17.0 node_modules/grunt-sass
├── object-assign@2.0.0
├── each-async@1.1.1 (onetime@1.0.0, set-immediate-shim@1.0.1)
└── chalk@0.5.1 (ansi-styles@1.1.0, escape-string-regexp@1.0.3, supports-color@0.2.0, strip-ansi@0.3.0, has-ansi@0.1.0) I want to thank everyone here for taking the time to help me with this... if this ends up being a dead end it's not the end of the world, it just means my team won't be able to upgrade node (or node-sass it seems). That may be a concern in the near future, but hopefully by then more versions of these packages will have been released for node 0.12 support. |
I apologize if this is a duplicate issue and/or answered elsewhere, I checked around grunt-sass issues, node-sass issues, and grunt-notify without finding this error message discussed anywhere. Also I hope this is the place to report the issue and not node-sass.
When running
grunt sass:prod
Gruntfile:
I've cleared out my
node_modules
, and reinstalled everything. I'm able to run the task if I downgrade to these versions:I've instructed my team to not upgrade to node v0.12, however we're onboarding a lot of people and they're all downloading the latest package versions, so ideally we want our setup to work with node 0.12 out of the box.
The text was updated successfully, but these errors were encountered: