Giter Site home page Giter Site logo

nadavshatz / ember-cli-foundation-sass Goto Github PK

View Code? Open in Web Editor NEW
68.0 13.0 18.0 63 KB

Automatically sets up Foundation 5 SASS in your Ember CLI app.

Home Page: https://www.npmjs.org/package/ember-cli-foundation-sass

License: MIT License

CSS 0.35% JavaScript 85.83% HTML 13.83%

ember-cli-foundation-sass's People

Contributors

chrisbenson avatar ember-tomster avatar givanse avatar globegitter avatar hchood avatar hhff avatar johnnybridges avatar jonahgeorge avatar lessless avatar nadavshatz avatar titinux avatar tygriffin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ember-cli-foundation-sass's Issues

missing default contentSecurityPolicy

Hi, having a default EmberApp configuration:

var app = new EmberApp({
    'ember-cli-foundation-sass': {
        'modernizr': true,
        'fastclick': true,
        'foundationJs': 'all'
    }
});

results into:

[Report Only] Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution.

Wouldn't it be good to add somehove into the environment's contentSecurityPolicy necessary updates, or just put it into the README.md?

Thx

[doc] Outdated version in README

Hi this add-on currently install github.com/zurb/bower-foundation.git#~5.5.0

In README is 5.4.7, does it mean it's just outdated or i should force install the older version?

(if it's just outdated, i can submit a PR)

'ember g ember-cli-foundation-sass' not working on io.js 1.2.0

When using io.js v1.2.0, I am unable to get past this point on a brand new Ember.js app with only ember-cli-foundation-sass installed. After researching a bit, it seems that this was caused by node-sass, but that it has already been fixed upstream. I'm not sure how to make ember-cli-foundation-sass use node-sass 2.0.1 rather than node-sass 1.2.3, since node-sass is not listed as a dependency in package.json. Thank you.

$ ember g ember-cli-foundation-sass
version: 0.1.15
installing
Installing browser packages via Bower...
  cached git://github.com/zurb/bower-foundation.git#5.5.1
  cached git://github.com/jquery/jquery.git#2.1.3
  cached git://github.com/carhartl/jquery-cookie.git#1.4.1
  cached git://github.com/Modernizr/Modernizr.git#2.8.3
  cached git://github.com/ftlabs/fastclick.git#1.0.6
  cached git://github.com/mathiasbynens/jquery-placeholder.git#2.0.9
  cached git://github.com/jquery/jquery.git#2.1.3
  conflict Unable to find suitable version for jquery
    1) jquery ^1.11.1
    2) jquery >=1.2
    3) jquery >=1.6
    4) jquery >= 2.1.0
    5) jquery >= 1.7.0 < 2.2.0
[?] Answer: 1
Installed browser packages via Bower.
  create app/styles/app.scss
  install packages ember-cli-sass, broccoli-clean-css
Installing packages for tooling via npm.Binary downloaded and installed at /Users/Chris/code/ember/leader-web/node_modules/ember-cli-sass/node_modules/broccoli-sass/node_modules/node-sass/vendor/darwin-x64/binding.node
`darwin-x64` exists; testing
module.js:341
  Module._extensions[extension](this, filename);
                               ^
Error: Module did not self-register.
    at Error (native)
    at Module.load (module.js:341:32)
    at Function.Module._load (module.js:296:12)
    at Module.require (module.js:351:17)
    at require (module.js:370:17)
    at Object.<anonymous> (/Users/Chris/code/ember/leader-web/node_modules/ember-cli-sass/node_modules/broccoli-sass/node_modules/node-sass/lib/index.js:181:15)
    at Module._compile (module.js:446:26)
    at Object.Module._extensions..js (module.js:464:10)
    at Module.load (module.js:341:32)
    at Function.Module._load (module.js:296:12)
[email protected] postinstall: `node scripts/build.js`
Exit status 1
Error: [email protected] postinstall: `node scripts/build.js`
Exit status 1
    at EventEmitter.<anonymous> (/Users/Chris/code/ember/leader-web/node_modules/ember-cli/node_modules/npm/lib/utils/lifecycle.js:212:16)
    at emitTwo (events.js:85:13)
    at EventEmitter.emit (events.js:153:7)
    at ChildProcess.<anonymous> (/Users/Chris/code/ember/leader-web/node_modules/ember-cli/node_modules/npm/lib/utils/spawn.js:14:12)
    at emitTwo (events.js:85:13)
    at ChildProcess.emit (events.js:153:7)
    at maybeClose (child_process.js:984:16)
    at Process.ChildProcess._handle.onexit (child_process.js:1057:5)

JS not working

Hi

I have included / followed your tutorial, CSS is working fine.

import Ember from 'ember';

export default Ember.Component.extend({
  didInitAttrs() {
    Ember.run.schedule("afterRender", function () {
      Ember.$(document).foundation();
      console.error('test');
    });
  }
}) ;

When page is loaded it is giving me following error

Uncaught TypeError: Ember.default.$(...).foundation is not a function

Addon error when building after adding in ember-cli-foundation-sass

My environment is:

  • ubuntu 14.04
  • ember-cli version: 0.2.2
  • node: 1.6.3
  • npm: 2.7.4

I created a new ember-cli project. Success! The new project builds fine.
I addon ember-cli-foundation-sass. I choose to use jquery 2.x.x (my bower.json file reflects this).
I run an ember build command.
I receive the following error:

File: bower_components/foundation/scss/foundation/components/_forms.scss (336)
expected a variable name (e.g. $x) or ')' for the parameter list for url
Error: expected a variable name (e.g. $x) or ')' for the parameter list for url
at options.error (/home/jeffg/WebstormProjects/sasstest/node_modules/ember-cli- sass/node_modules/broccoli-sass-source-maps/node_modules/node-sass/lib/index.js:261:32)

I've tried with Foundation 5.5.0 and 5.4.7 and I receive the same error.

Any ideas as why I'm unable to compile Foundation's _forms.scss?

Installer hangs and doesn't complete

Hi there!

I love this lib - I use it for just about everything I do. However, lately it's been hanging on install. I've heard this from another dev - and recently hit it myself.

Steps to repro:

ember new app
cd app
ember install ember-cli-foundation-sass

It gets to here and just hangs:

screen shot 2015-05-10 at 11 18 46 am

ember -v

version: 0.2.3
node: 0.10.37
npm: 2.7.6

Anyone else seen this? @ninjz had this issue also.

Getting Error: Module did not self-register.

Came across a problem. Would love to hear some feedback, workaround/solution.

I did: $ ember g foundation-sass and got:

version: 0.1.2
installing
Installing browser packages via Bower...
  not-cached git://github.com/zurb/bower-foundation.git#~5.4.7
  resolved git://github.com/zurb/bower-foundation.git#5.4.7
  cached git://github.com/jquery/jquery.git#2.1.1
  not-cached git://github.com/mathiasbynens/jquery-placeholder.git#~2.0.7
  not-cached git://github.com/ftlabs/fastclick.git#>=0.6.11
  not-cached git://github.com/carhartl/jquery-cookie.git#~1.4.0
  not-cached git://github.com/Modernizr/Modernizr.git#>= 2.7.2
  cached git://github.com/jquery/jquery.git#2.1.1
  resolved git://github.com/mathiasbynens/jquery-placeholder.git#2.0.8
  resolved git://github.com/carhartl/jquery-cookie.git#1.4.1
  resolved git://github.com/ftlabs/fastclick.git#1.0.3
  progress received 0.5MB
  progress received 0.5MB
  resolved git://github.com/Modernizr/Modernizr.git#2.8.3
  conflict Unable to find suitable version for jquery
    1) jquery ^1.11.1
    2) jquery >=1.2
    3) jquery >= 2.1.0
    4) jquery >= 1.7.0 < 2.2.0
[?] Answer:
            1
Installed browser packages via Bower.
  create app/styles/app.scss
  install packages ember-cli-sass, broccoli-clean-css
Installing packages for tooling via npm..Binary downloaded and installed at /home/foo/Sites/bar/ui/node_modules/ember-cli-sass/node_modules/broccoli-sass/node_modules/node-sass/vendor/linux-x64/binding.node
`linux-x64` exists; testing
module.js:355
  Module._extensions[extension](this, filename);
                               ^
Error: Module did not self-register.
    at Error (native)
    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> (/home/foo/Sites/bar/ui/node_modules/ember-cli-sass/node_modules/broccoli-sass/node_modules/node-sass/lib/index.js:181:15)
    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)
[email protected] postinstall: `node scripts/build.js`
Exit status 1
Error: Exit status 1
    at ChildProcess.<anonymous> (/home/foo/Sites/bar/ui/node_modules/ember-cli/node_modules/npm/lib/utils/lifecycle.js:212:16)
    at ChildProcess.emit (events.js:110:17)
    at maybeClose (child_process.js:1000:16)
    at Process.ChildProcess._handle.onexit (child_process.js:1072:5)

Add-on configuration in Brocfile?

Wouldn't it be clearer if the config for Foundation would be added to the config/environment file? I am not sure what the best practice is, but as I understand it broccoli is loading external modules, while configuration one can provide from wherever right?

What do you think?

ember-cli won't build with ember-cli version 0.2.0-beta.1

$ ember build
version: 0.2.0-beta.1
Build failed.
/Users/robertleib/Sites/cli-test/tmp/tree_merger-tmp_dest_dir-qnD7ZpYL.tmp/app/styles/settings:58: file to import not found or unreadable: "foundation/functions"
Current dir: /Users/robertleib/Sites/cli-test/tmp/tree_merger-tmp_dest_dir-qnD7ZpYL.tmp/app/styles/
 [string exception]
Error: /Users/robertleib/Sites/cli-test/tmp/tree_merger-tmp_dest_dir-qnD7ZpYL.tmp/app/styles/settings:58: file to import not found or unreadable: "foundation/functions"
Current dir: /Users/robertleib/Sites/cli-test/tmp/tree_merger-tmp_dest_dir-qnD7ZpYL.tmp/app/styles/
 [string exception]
    at /Users/robertleib/Sites/cli-test/node_modules/ember-cli/node_modules/broccoli/lib/builder.js:35:15
    at $$$internal$$tryCatch (/Users/robertleib/Sites/cli-test/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:490:16)
    at $$$internal$$invokeCallback (/Users/robertleib/Sites/cli-test/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:502:17)
    at $$$internal$$publish (/Users/robertleib/Sites/cli-test/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:473:11)
    at $$$internal$$publishRejection (/Users/robertleib/Sites/cli-test/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:416:7)
    at Object.$$rsvp$asap$$flush [as _onImmediate] (/Users/robertleib/Sites/cli-test/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:1581:9)
    at processImmediate [as _immediateCallback] (timers.js:345:15)

package.json

{
  "name": "cli-test",
  "version": "0.0.0",
  "description": "Small description for cli-test goes here",
  "private": true,
  "directories": {
    "doc": "doc",
    "test": "tests"
  },
  "scripts": {
    "start": "ember server",
    "build": "ember build",
    "test": "ember test"
  },
  "repository": "",
  "engines": {
    "node": ">= 0.10.0"
  },
  "author": "",
  "license": "MIT",
  "devDependencies": {
    "broccoli-asset-rev": "^2.0.0",
    "broccoli-clean-css": "^0.3.0",
    "ember-cli": "0.2.0-beta.1",
    "ember-cli-app-version": "0.3.1",
    "ember-cli-babel": "^4.0.0",
    "ember-cli-content-security-policy": "0.3.0",
    "ember-cli-dependency-checker": "0.0.7",
    "ember-cli-foundation-sass": "^1.0.0",
    "ember-cli-htmlbars": "0.7.4",
    "ember-cli-ic-ajax": "0.1.1",
    "ember-cli-inject-live-reload": "^1.3.0",
    "ember-cli-qunit": "0.3.8",
    "ember-cli-sass": "^3.0.6",
    "ember-cli-uglify": "1.0.1",
    "ember-data": "1.0.0-beta.15",
    "ember-export-application-global": "^1.0.2",
    "express": "^4.8.5",
    "glob": "^4.0.5"
  }
}

bower.json

{
  "name": "cli-test",
  "dependencies": {
    "jquery": "^1.11.1",
    "ember": "1.10.0",
    "ember-data": "1.0.0-beta.15",
    "ember-resolver": "~0.1.11",
    "loader.js": "ember-cli/loader.js#1.0.1",
    "ember-cli-shims": "ember-cli/ember-cli-shims#0.0.3",
    "ember-cli-test-loader": "ember-cli-test-loader#0.1.3",
    "ember-load-initializers": "ember-cli/ember-load-initializers#0.0.2",
    "ember-qunit": "0.2.8",
    "ember-qunit-notifications": "0.0.7",
    "qunit": "~1.17.1",
    "foundation": "~5.5.0"
  }
}

Brocfile.js

/* global require, module */

var EmberApp = require('ember-cli/lib/broccoli/ember-app');

var app = new EmberApp();

// Use `app.import` to add additional libraries to the generated
// output files.
//
// If you need to use different assets in different
// environments, specify an object as the first parameter. That
// object's keys should be the environment name and the values
// should be the asset to use in that environment.
//
// If the library that you are including contains AMD or ES6
// modules that you would like to import into your application
// please specify an object with the list of modules as keys
// along with the exports of each module as its value.

module.exports = app.toTree();

Test Foundation 5.5.0

Haven't had time to test Foundation 5.5.0, which is holding up the updated release.

foundation.css.map 404

Hey,

This addon is such a great time saver, thanks a lot.

Everything working perfectly, the only little niggle I'm having is the below error when loading my ember app:
GET http://localhost:4200/assets/foundation.css.map 404 (Not Found)

Is this something gone wrong with source mapping?

cannot install into new project

Created a new project with ember-cli, installed ember-cli-foundation-sass using "npm install -g ember-cli-foundation-sass". Ran "ember g foundation-sass" and got "Unknown blueprint: foundation-sass". Also, it looks as if it installed the dependencies, but not the foundation-sass package itself.

ember-cli-foundation-sass

I am using MacOSX Mavericks.

Compatability with ember-cli-compass-compiler

Hello! Thank you for the work the way you did is very convenient and if you find time please, make both this two great pieces of software work together - compass & foundation.

There is an error when this addon is used together with https://github.com/quaertym/ember-cli-compass-compiler

directory tmp/compass_compiler-tmp_cache_dir-0ptms99l.tmp/assets
    error app/styles/app.scss (Line 58 of app/styles/_settings.scss: File to import not found or unreadable: foundation/functions.
Load paths:
  Compass::SpriteImporter
  /Users/lessless/tmp/asdad/app/styles
  /Users/lessless/.gem/ruby/2.1.4/gems/compass-core-1.0.3/stylesheets)
    write tmp/compass_compiler-tmp_cache_dir-0ptms99l.tmp/assets/asdad.css
Compilation failed in 1 files.

Command failed: 
Error: Command failed: 
    at ChildProcess.exithandler (child_process.js:648:15)
    at ChildProcess.emit (events.js:98:17)
    at maybeClose (child_process.js:756:16)
    at Socket.<anonymous> (child_process.js:969:11)
    at Socket.emit (events.js:95:17)
    at Pipe.close (net.js:465:12)

Modernizr not found after version 3.0.0

Since the foundation dependency of modernizr resolves to version 3.0.0, there seems there have been introduced some incompatibilities.

The following error gets thrown

ENOENT, no such file or directory '/tmp/concat_with_maps-input_base_path-c6LK6QBl.tmp/0/bower_components/modernizr/modernizr.js'

Magellan working?

Hi,
i tried to use the Magellan feature of Foundation but couldn't get it to work.

I have the following in my Brocfile.js:

var app = new EmberApp({
  'foundation-sass': {
    'modernizr': true,
    'fastclick': true,
    'foundationJs': 'all'
  }
});

I have the following in my index.hbs file:

<div data-magellan-expedition="fixed">
  <dl class="sub-nav">
    <dd data-magellan-arrival="destination"><a href="#destination">Build with HTML</a></dd>
  </dl>
</div>

<a name="destination"></a>
<h1 data-magellan-destination="destination">Welcome to your destination</h1>

And the following in my views/index.js:

import Ember from 'ember';

export default Ember.View.extend({
  didInsertElement: function() {
    this.$().foundation();
  }
});

Does anyone have an idea or got the Magellan feature to work in an Ember app?

Thanks for the help

Mention the necessity to initiate foundation in the docs

How about adding some information that beside adding the setup to the Brocfile.js, you also need to initiate components which require Foundation's javascript modules.

For example:

didInsertElement: function() {
  this.$().foundation();
}

Release new version

A PR was merged to solve #32 but no new version was released.

Please bump the version and release it.

Thanks!

Foundation JS is not loading?

I followed all installation steps described in the README file. I can use Foundation in the scss files and I am not getting any errors. I've configured my app like this:

var App = Ember.Application.extend({
  modulePrefix: config.modulePrefix,
  podModulePrefix: config.podModulePrefix,
  Resolver: Resolver,
  'foundation-sass': {
    'modernizr': true,
    'fastclick': true,
    'foundationJs': 'all'
  }
});

I also tried adding this in the Brocfile.js and the config file under the APP section.

Now, built-in sticky footer doesn't exist (I checked class names etc). Also, using in the console or in debug $(document).foundation() doesn't seem to work - got an exception.

VERSIONS:

-> ember --version
version: 0.1.2
node: 0.10.33
npm: 2.1.3

EDIT:
I've checked the generated vendor.js file and all the javascript is there. Still I can't get it to work though.

Rename generator for ember-cli 0.1.5

With ember-cli 0.1.5 , we can now install addons with:

ember addon:install ember-cli-foundation-sass

And this will consecutively run a generator of the same name.

We should rename the generator from foundation-sass to ember-cli-foundation-sass so this runs automatically when invoked with the above command

I'm away from decent Wifi until the new year - I can issue a PR then - just wanted to document this!

Error in Ember-Cli 0.1.11

Using with ember-cli 0.1.11 produces this error:

ember-cli-foundation-sass requires ember-cli version 0.1.2 or greater.

As a workaround I've just commented out this:

    if (emberCLIVersion < '0.1.2') {
      throw new Error('ember-cli-foundation-sass requires ember-cli version 0.1.2 or greater.\n');
    }

But I imagine there's a better npm-ish way to set the ember-cli dependency.

ember-cli-foundation-sass on a new Ember 2 app with Node 4.1.0

I'm trying to install ember-cli-foundation-sass on a new Ember 2 app, created using ember-cli running on Node 4.1.0.

The Ember 2 app installs fine, but when I run this command, I get the following errors:

$ ember install ember-cli-foundation-sass
Future versions of Ember CLI will not support v4.1.0. Please update to Node 0.12 or io.js.
version: 1.13.8
Installed packages for tooling via npm.
installing ember-cli-foundation-sass
Installing browser packages via Bower...
cached git://github.com/zurb/bower-foundation.git#5.5.2
cached git://github.com/jquery/jquery.git#2.1.4
cached git://github.com/Modernizr/Modernizr.git#2.8.3
cached git://github.com/carhartl/jquery-cookie.git#1.4.1
cached git://github.com/mathiasbynens/jquery-placeholder.git#2.0.9
cached git://github.com/ftlabs/fastclick.git#1.0.6
new version for git://github.com/Modernizr/Modernizr.git#>= 2.7.2
cached git://github.com/jquery/jquery.git#2.1.4
resolved git://github.com/Modernizr/Modernizr.git#3.0.0
conflict Unable to find suitable version for jquery
1) jquery ^1.11.3
2) jquery >=1.6
3) jquery >=1.2
4) jquery >= 2.1.0
5) jquery >= 1.7.0 < 2.2.0
[?] Answer: 1
Installed browser packages via Bower.
create app/styles/app.scss
install packages ember-cli-sass, broccoli-clean-css
Installing packages for tooling via npm..Can not download file from https://raw.githubusercontent.com/sass/node-sass-binaries/v2.1.1/darwin-x64-node-4.1/binding.node
Installing packages for tooling via npm2015-09-18 13:05:29.191 xcodebuild[10022:348545] [MT] PluginLoading: Required plug-in compatibility UUID 0420B86A-AA43-4792-9ED0-6FE0F2B16A13 for plug-in at path '/Library/Application Support/Developer/Shared/Xcode/Plug-ins/RealmPlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2015-09-18 13:05:29.193 xcodebuild[10022:348545] [MT] PluginLoading: Required plug-in compatibility UUID 0420B86A-AA43-4792-9ED0-6FE0F2B16A13 for plug-in at path '
/Library/Application Support/Developer/Shared/Xcode/Plug-ins/RealmBrowser.xcplugin' not present in DVTPlugInCompatibilityUUIDs
Installing packages for tooling via npm. CXX(target) Release/obj.target/binding/src/binding.o
Installing packages for tooling via npm..In file included from ../src/binding.cpp:1:
../node_modules/nan/nan.h:324:27: error: redefinition of 'NanEnsureHandleOrPersistent'
NAN_INLINE v8::Local NanEnsureHandleOrPersistent(const v8::Local &val) {
^
../node_modules/nan/nan.h:319:17: note: previous definition is here
v8::Handle NanEnsureHandleOrPersistent(const v8::Handle &val) {
^
../node_modules/nan/nan.h:344:27: error: redefinition of 'NanEnsureLocal'
NAN_INLINE v8::Local NanEnsureLocal(const v8::Handle &val) {
^
../node_modules/nan/nan.h:334:27: note: previous definition is here
NAN_INLINE v8::Local NanEnsureLocal(const v8::Local &val) {
^
../node_modules/nan/nan.h:757:13: error: no member named 'smalloc' in namespace 'node'
, node::smalloc::FreeCallback callback
~~~~~~
../node_modules/nan/nan.h:768:12: error: no matching function for call to 'New'
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
~~~~~~~~~~~~~~~~
/Users/Chris/.node-gyp/4.1.0/src/node_buffer.h:31:40: note: candidate function not viable: no known conversion from 'uint32_t' (aka 'unsigned int') to 'enum encoding' for 3rd argument
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/Users/Chris/.node-gyp/4.1.0/src/node_buffer.h:43:40: note: candidate function not viable: 2nd argument ('const char ') would lose const qualifier
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate
isolate,
^
/Users/Chris/.node-gyp/4.1.0/src/node_buffer.h:28:40: note: candidate function not viable: requires 2 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, size_t length);
^
/Users/Chris/.node-gyp/4.1.0/src/node_buffer.h:36:40: note: candidate function not viable: requires 5 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
In file included from ../src/binding.cpp:1:
../node_modules/nan/nan.h:772:12: error: no viable conversion from 'v8::MaybeLocalv8::Object' to 'v8::Localv8::Object'
return node::Buffer::New(v8::Isolate::GetCurrent(), size);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/Chris/.node-gyp/4.1.0/deps/v8/include/v8.h:210:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'v8::MaybeLocalv8::Object' to 'const v8::Localv8::Object &' for 1st argument
class Local {

/Users/Chris/.node-gyp/4.1.0/deps/v8/include/v8.h:210:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'v8::MaybeLocalv8::Object' to 'v8::Localv8::Object &&' for 1st argument
class Local {

/Users/Chris/.node-gyp/4.1.0/deps/v8/include/v8.h:214:13: note: candidate template ignored: could not match 'Local' against 'MaybeLocal'
V8_INLINE Local(Local that)

/Users/Chris/.node-gyp/4.1.0/deps/v8/include/v8.h:326:13: note: candidate template ignored: could not match 'S ' against 'v8::MaybeLocalv8::Object'
V8_INLINE Local(S
that)

In file included from ../src/binding.cpp:1:
../node_modules/nan/nan.h:779:26: error: no member named 'Use' in namespace 'node::Buffer'
return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
~~~~~~~~~~~~~~
Installing packages for tooling via npm...../src/binding.cpp:70:11: warning: 'FatalException' is deprecated: Use FatalException(isolate, ...) [-Wdeprecated-declarations]
node::FatalException(try_catch);

/Users/Chris/.node-gyp/4.1.0/src/node.h:283:29: note: 'FatalException' has been explicitly marked deprecated here
inline void FatalException(const v8::TryCatch& try_catch) {
^
/Users/Chris/.node-gyp/4.1.0/src/node.h:66:42: note: expanded from macro 'NODE_DEPRECATED'
attribute((deprecated(message))) declarator
^
../src/binding.cpp:245:11: warning: 'FatalException' is deprecated: Use FatalException(isolate, ...) [-Wdeprecated-declarations]
node::FatalException(try_catch);

/Users/Chris/.node-gyp/4.1.0/src/node.h:283:29: note: 'FatalException' has been explicitly marked deprecated here
inline void FatalException(const v8::TryCatch& try_catch) {

/Users/Chris/.node-gyp/4.1.0/src/node.h:66:42: note: expanded from macro 'NODE_DEPRECATED'
attribute((deprecated(message))) declarator

../src/binding.cpp:365:11: warning: 'FatalException' is deprecated: Use FatalException(isolate, ...) [-Wdeprecated-declarations]
node::FatalException(try_catch);

/Users/Chris/.node-gyp/4.1.0/src/node.h:283:29: note: 'FatalException' has been explicitly marked deprecated here
inline void FatalException(const v8::TryCatch& try_catch) {

/Users/Chris/.node-gyp/4.1.0/src/node.h:66:42: note: expanded from macro 'NODE_DEPRECATED'
attribute((deprecated(message))) declarator

In file included from ../src/binding.cpp:1:
In file included from ../node_modules/nan/nan.h:24:
In file included from /Users/Chris/.node-gyp/4.1.0/src/node.h:42:
/Users/Chris/.node-gyp/4.1.0/deps/v8/include/v8.h:221:5: error: assigning to 'v8::Primitive volatile' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
~~~~~~~~~~~~~~~
/Users/Chris/.node-gyp/4.1.0/deps/v8/include/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
*(static_cast<T
volatile_>(0)) = static_cast<S_>(0);
~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:501:12: note: in instantiation of function template specialization 'v8::Localv8::Primitive::Localv8::Value' requested here
return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent())));

../node_modules/nan/nan.h:483:30: note: expanded from macro 'NanEscapeScope'

define NanEscapeScope(val) scope.Escape(Nan::imp::NanEnsureLocal(val))

In file included from ../src/binding.cpp:1:
In file included from ../node_modules/nan/nan.h:24:
In file included from /Users/Chris/.node-gyp/4.1.0/src/node.h:42:
/Users/Chris/.node-gyp/4.1.0/deps/v8/include/v8.h:221:5: error: assigning to 'v8::Boolean volatile' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/Chris/.node-gyp/4.1.0/deps/v8/include/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
*(static_cast<T
volatile_>(0)) = static_cast<S_>(0);
~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:511:12: note: in instantiation of function template specialization 'v8::Localv8::Boolean::Localv8::Value' requested here
return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent())));

../node_modules/nan/nan.h:483:30: note: expanded from macro 'NanEscapeScope'

define NanEscapeScope(val) scope.Escape(Nan::imp::NanEnsureLocal(val))

In file included from ../src/binding.cpp:1:
In file included from ../node_modules/nan/nan.h:24:
In file included from /Users/Chris/.node-gyp/4.1.0/src/node.h:42:
/Users/Chris/.node-gyp/4.1.0/deps/v8/include/v8.h:221:5: error: assigning to 'v8::Function volatile' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
~~~~~~~~~~~~~~~
/Users/Chris/.node-gyp/4.1.0/deps/v8/include/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
*(static_cast<T
volatile_>(0)) = static_cast<S_>(0);
~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1645:12: note: in instantiation of function template specialization 'v8::Localv8::Function::Localv8::Value' requested here
return NanEscapeScope(NanNew(handle)->Get(kCallbackIndex)

../node_modules/nan/nan.h:483:30: note: expanded from macro 'NanEscapeScope'

define NanEscapeScope(val) scope.Escape(Nan::imp::NanEnsureLocal(val))

In file included from ../src/binding.cpp:1:
In file included from ../node_modules/nan/nan.h:24:
In file included from /Users/Chris/.node-gyp/4.1.0/src/node.h:42:
/Users/Chris/.node-gyp/4.1.0/deps/v8/include/v8.h:221:5: error: assigning to 'v8::Object volatile' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
~~~~~~~~~~~~~~~
/Users/Chris/.node-gyp/4.1.0/deps/v8/include/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
*(static_cast<T
volatile_>(0)) = static_cast<S_>(0);
~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1776:12: note: in instantiation of function template specialization 'v8::Localv8::Object::Localv8::Value' requested here
return NanEscapeScope(

../node_modules/nan/nan.h:483:30: note: expanded from macro 'NanEscapeScope'

define NanEscapeScope(val) scope.Escape(Nan::imp::NanEnsureLocal(val))

3 warnings and 10 errors generated.
make: *** [Release/obj.target/binding/src/binding.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/Chris/pet-web/node_modules/ember-cli-sass/node_modules/broccoli-sass/node_modules/node-sass/node_modules/pangyp/lib/build.js:272:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 14.5.0
gyp ERR! command "/Users/Chris/.nvm/versions/node/v4.1.0/bin/node" "/Users/Chris/pet-web/node_modules/ember-cli-sass/node_modules/broccoli-sass/node_modules/node-sass/node_modules/pangyp/bin/node-gyp" "rebuild"
gyp ERR! cwd /Users/Chris/pet-web/node_modules/ember-cli-sass/node_modules/broccoli-sass/node_modules/node-sass
gyp ERR! node -v v4.1.0
gyp ERR! pangyp -v v2.3.2
gyp ERR! not ok
Build failed
Installed packages for tooling via npm.
Installed addon package.
Chriss-MacBook-Pro:pet-web Chris$ ember serve
libsass bindings not found. Try reinstalling node-sass?
Error: libsass bindings not found. Try reinstalling node-sass?
at getBinding (/Users/Chris/pet-web/node_modules/ember-cli-sass/node_modules/broccoli-sass/node_modules/node-sass/lib/index.js:22:11)
at Object. (/Users/Chris/pet-web/node_modules/ember-cli-sass/node_modules/broccoli-sass/node_modules/node-sass/lib/index.js:188:23)
at Module._compile (module.js:434:26)
at Object.Module._extensions..js (module.js:452: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. (/Users/Chris/pet-web/node_modules/ember-cli-sass/node_modules/broccoli-sass/index.js:5:12)
at Module._compile (module.js:434:26)

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.