Coder Social home page Coder Social logo

meteor-sass's People

Contributors

stevezhu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

meteor-sass's Issues

errors on meteor deploy

Hey Steve, I'm getting the error below when I try to execute meteor deploy. I don't have any special configurations and it works fine when running meteor locally. Do you have any suggestions?

├── lib
│   ├── collections
│   │   └── barData.js
│   ├── router.js
│   ├── sass
│   │   ├── layout.scss
│   │   └── main.scss

Errors prevented deploying:
While Building the application:               
path.js:313:15: Arguments to path.resolve must be strings (compiling lib/sass/loading.scss)
  at Object.exports.resolve (path.js:313:15)
  at Object.exports.relative (path.js:370:20)
  at updateCompileStepPaths (packages/compileSass/plugin/compile-sass.js:144)
  at INCLUDE_PATHS_FILENAME (packages/compileSass/plugin/compile-sass.js:164)

path.js:313:15: Arguments to path.resolve must be strings (compiling lib/sass/main.scss)
  at Object.exports.resolve (path.js:313:15)
  at Object.exports.relative (path.js:370:20)
  at updateCompileStepPaths (packages/compileSass/plugin/compile-sass.js:144)
  at INCLUDE_PATHS_FILENAME (packages/compileSass/plugin/compile-sass.js:164)

Errors while adding packages for ionic and ionicons

When I run both meteor add for both meteoric:ionic-sass and meteoric:ionicons.-sass, it shows the error below.

=> Errors while adding packages:

While checking for stevezhu:[email protected]:
error: No compatible binary build found for this package. Contact the
package author and ask them to publish it for your platform.

I use a windows machine btw...is that the problem?

Please publish your package stevezhu:sass for Windows

Hi!

This package has binary dependencies, and we wanted to give you a heads up that Meteor 1.1, with support for Windows will be released in a few days.

Now is the time to publish your package for Windows!

It should be very straightforward -- we've added new build machines that run Windows that you can access with the meteor admin get-machine command. This is the same as you've done before for the other architectures we support.

For complete directions on how to publish your package for Windows, visit https://github.com/meteor/meteor/wiki/Publishing-a-package-with-binary-dependencies-for-the-Windows-preview

On behalf of the Meteor team,
@stubailo, @Slava and @avital.

P.S. This is an automated message based on our database of package authors.

Not enough sass

Come on steve, this is noob level sass. You need more sassy in your code.

Some suggestions for this would be to change your variable names.

For example, you could change your variable name in line 77 of compile-sass.js, so that instead of reading

result = future.wait();

it reads

noImNotGonnaWait = future.wait();

or change line 33 from

var optionsSource = fs.readFileSync(optionsFilePath);

to

var readingIsForTheWeak = fs.readFileSync(optionsFilePath);

Can't wait to see these changes in version 2.1.

Meteor 1.0.4.x error: "While loading plugin `compileSass` from package `stevezhu:sass`: ... Cannot find module"

Steps to reproduce:
meteor create something
cd something && meteor add stevezhu:sass && meteor update --release 1.0.4.1 && meteor

And this is the error that I am getting then:

=> Errors prevented startup:                  

   While loading plugin `compileSass` from package `stevezhu:sass`:
   module.js:338:15: Cannot find module
   '/Users/denis/.meteor/packages/stevezhu_sass/.1.3.7.s5ffcc++os.linux.x86_64+os.osx.x86_64+web.browser+web.cordova/plugin.compileSass.os.osx.x86_64/npm/compileSass/node_modules/files.js'
   at Function.Module._resolveFilename (module.js:338:15)
   at Function.Module._load (module.js:280:25)
   at Module.require (module.js:364:17)
   at require (module.js:380:17)
   at Object._.extend.Npm.require (/Users/denis/.meteor/packages/meteor-tool/.1.0.43.585c0y++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/bundler.js:1341:22)
   at packages/compileSass/plugin/compile-sass-utils.js:5:1
   at <runJavaScript-13>:148:4
   at <runJavaScript-13>:329:3


=> Your application has errors. Waiting for file change.

(On OS X 10.10; tried with iojs 1.5.x as well as node 0.12.x and 0.10.36.)

A workaround for now is to just keep using Meteor 1.0.3.x, the command line for downgrading from 1.0.4.x (or any version) is meteor update --release 1.0.3.2.

Any ideas if this is originating from your/this package or from somewhere else and/or what the fix might be? As far as I can tell the problem might be related to a change in how Npm.require works now / where it looks for files or so... it seems that the Meteor guys are making lots of changes to improve Windows support and so they may have changed or fixed or cleaned up something about how some of the includes/include paths work... But that's just more or less a guess, maybe it helps point in a useful direction.

Thanks & appreciate making the sass package in the first place!

Empty procect, added meteor-sass

Result:

/Users/atrapp/.meteor/packages/meteor-tool/.1.0.34.xkoxz2++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/dev_bundle/lib/node_modules/fibers/future.js:173
                        throw(ex);
                              ^
TypeError: Cannot read property 'name' of undefined
  at /Users/atrapp/.meteor/packages/meteor-tool/.1.0.34.xkoxz2++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/compiler.js:376:34
  at Function._.each._.forEach (/Users/atrapp/.meteor/packages/meteor-tool/.1.0.34.xkoxz2++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/dev_bundle/lib/node_modules/underscore/underscore.js:87:22)
  at /Users/atrapp/.meteor/packages/meteor-tool/.1.0.34.xkoxz2++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/compiler.js:369:7
  at Array.forEach (native)
  at Function._.each._.forEach (/Users/atrapp/.meteor/packages/meteor-tool/.1.0.34.xkoxz2++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/dev_bundle/lib/node_modules/underscore/underscore.js:79:11)
  at compileUnibuild (/Users/atrapp/.meteor/packages/meteor-tool/.1.0.34.xkoxz2++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/compiler.js:368:5)
  at /Users/atrapp/.meteor/packages/meteor-tool/.1.0.34.xkoxz2++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/compiler.js:1060:27
  at Array.forEach (native)
  at Function._.each._.forEach (/Users/atrapp/.meteor/packages/meteor-tool/.1.0.34.xkoxz2++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/dev_bundle/lib/node_modules/underscore/underscore.js:79:11)
  at Object.compiler.compile (/Users/atrapp/.meteor/packages/meteor-tool/.1.0.34.xkoxz2++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/compiler.js:1059:5)
  at /Users/atrapp/.meteor/packages/meteor-tool/.1.0.34.xkoxz2++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/bundler.js:1973:26
  at /Users/atrapp/.meteor/packages/meteor-tool/.1.0.34.xkoxz2++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/buildmessage.js:254:13
  at [object Object]._.extend.withValue (/Users/atrapp/.meteor/packages/meteor-tool/.1.0.34.xkoxz2++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/fiber-helpers.js:112:14)
  at /Users/atrapp/.meteor/packages/meteor-tool/.1.0.34.xkoxz2++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/buildmessage.js:247:29
  at [object Object]._.extend.withValue (/Users/atrapp/.meteor/packages/meteor-tool/.1.0.34.xkoxz2++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/fiber-helpers.js:112:14)
  at /Users/atrapp/.meteor/packages/meteor-tool/.1.0.34.xkoxz2++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/buildmessage.js:245:18
  at [object Object]._.extend.withValue (/Users/atrapp/.meteor/packages/meteor-tool/.1.0.34.xkoxz2++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/fiber-helpers.js:112:14)
  at /Users/atrapp/.meteor/packages/meteor-tool/.1.0.34.xkoxz2++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/buildmessage.js:236:23
  at [object Object]._.extend.withValue (/Users/atrapp/.meteor/packages/meteor-tool/.1.0.34.xkoxz2++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/fiber-helpers.js:112:14)
  at Object.capture (/Users/atrapp/.meteor/packages/meteor-tool/.1.0.34.xkoxz2++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/buildmessage.js:235:19)
  at Object.exports.bundle (/Users/atrapp/.meteor/packages/meteor-tool/.1.0.34.xkoxz2++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/bundler.js:1895:31)
  at bundleApp (/Users/atrapp/.meteor/packages/meteor-tool/.1.0.34.xkoxz2++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/run-app.js:492:28)
  at [object Object]._.extend._runOnce (/Users/atrapp/.meteor/packages/meteor-tool/.1.0.34.xkoxz2++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/run-app.js:510:24)
  at [object Object]._.extend._fiber (/Users/atrapp/.meteor/packages/meteor-tool/.1.0.34.xkoxz2++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/run-app.js:698:28)
  at /Users/atrapp/.meteor/packages/meteor-tool/.1.0.34.xkoxz2++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/run-app.js:371:12

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.