Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

npm install error #44

Closed
babakness opened this issue Jun 14, 2015 · 6 comments
Closed

npm install error #44

babakness opened this issue Jun 14, 2015 · 6 comments

Comments

@babakness
Copy link

node-gyp rebuild

CXX(target) Release/obj.target/fse/fsevents.o
In file included from ../fsevents.cc:6:
../node_modules/nan/nan.h:339:13: error: no member named 'New' in 'v8::String'
return _NAN_ERROR(v8::Exception::Error, errmsg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:319:50: note: expanded from macro '_NAN_ERROR'

define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))

                                 ~~~~~~~~~~~~^

../node_modules/nan/nan.h:343:5: error: no member named 'ThrowException' in
namespace 'v8'
_NAN_THROW_ERROR(v8::Exception::Error, errmsg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:324:11: note: expanded from macro '_NAN_THROW_ERROR'
v8::ThrowException(_NAN_ERROR(fun, errmsg));
~~~~^
../node_modules/nan/nan.h:343:5: error: no member named 'New' in 'v8::String'
_NAN_THROW_ERROR(v8::Exception::Error, errmsg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[snip]

fails.

@mprentic-harris
Copy link

What platform are you on? What version of node.js and npm are installed? Do you have all of the requirements listed here? https://github.com/TooTallNate/node-gyp#installation

@evan10s
Copy link

evan10s commented Jul 20, 2015

Just a note - I was getting a lot of install errors because I didn't know I didn't have all the prerequisite software installed. If you're having trouble, make sure you have everything at the @mprentic-harris provided above.

@aklinkert
Copy link

Same here @ Node v0.12.5 & OSX 10.10

http://pastebin.com/3P5fb4eP

@jonigl
Copy link

jonigl commented Jan 29, 2016

I have exactly the same @mprentic-harris 's issue. I have OS X 10.11.1 and I have npm version 3.3.12 node version v5.4.1 and I have all the prerequisite commented by @mprentic-harris

I've tried almost everything... Please help...

@jonigl
Copy link

jonigl commented Jan 30, 2016

Thanks @ThomasBurleson ! this solve the problem.

@ThomasBurleson
Copy link
Contributor

👍

topherfangio pushed a commit that referenced this issue Sep 9, 2016
*  update package.json
*  remove use of `bower`; only use npm
*  add karma unit tests, fix karma.conf.js
*  remove protractor configuration; disabled for now.

Fixes #55. Fixes #51. Fixes #44. Fixes #23.
topherfangio added a commit that referenced this issue Sep 9, 2016
* Update README for tutorials and UX snapshots.

* Edit of branch options

* Update README.md

* readme updates

* README improvemens.

* Fix package.json format

Closes #12

* update(sidenav) - sidenav display now hides bottomsheet (if open).

[Material SHA 690aa87](angular/material@690aa87) fixes backdrop containment and animations of bottomsheet.

* remove orphaned closure va

* Configure e2e setups and tests

Improve the README and project setup files to get Protractor running with the accessibility plugin, and includes two working tests.

Closes #37

* Adding line breaks to make README more readable

* Fixing list numbering in README

* Update README.md

* Update README.md

* Naming and e2e testing improvements

* fix(e2e): refactor tests and fix expects() on bottomSheets.

* fix(e23): disable animations for tests

* fix(e23): disable animations for tests

* update(e2e): allow animations, remove sleep() calls.

* update(e2e): add sleep() to resolve $animate bugs

* update(html): fix use of toolbars and shadows.

* Cleaning up config

* update(package.json): remove unneeded ./node_modules/.bin prefix.

Closes #40.

* update(readme): typo fix and link

Remove ref to es6-tutorial (until published).

Closes #5. Closes #8. Closes #16.

* update(bottomsheet): fix url to bottomsheet template

Closes #21. Fixes #18.

* update(readme): typos

Closes #32. Closes #34.
s

* Update README.md

* update(build): use bower-material HEAD and Angualr v1.4.6

* update(html): use ng-cloak to hide UI until bootstrapping is done

* Update README.md

* Update README.md

* Update README.md

* add instructions to install live-server using npm

* update(package.json): add MIT licenses metadata

* update(app): sync features with es5 tutorial

* update(readme): update install directions

Closes #61.

* update(readme): fix typos

Closes #52. Closes #59.

* update(css): clean app.css

Fixes #19.

* update(css): fix avatar styles

Fixes #45.

* update(build): fix karma and npm packages

*  update package.json
*  remove use of `bower`; only use npm
*  add karma unit tests, fix karma.conf.js
*  remove protractor configuration; disabled for now.

Fixes #55. Fixes #51. Fixes #44. Fixes #23.

* update(build): centralize test configuration files

* fix(demo): contact sheet click handler to close

Fixes #93.

* update(packages.json): update Angular dependencies

* added jasmine-core to devDependencies; Thx @thomasrehm

Closes #94.

* update(app): sync with final es5-tutorial version

* update(npm): install angular-material using https

* update(npm): disable Karma tests

This repository is purposed to show solutions and tutorials for using
Angular Material. It is not purposed to show solutions for Jasmine/Karma
testing of ES5 or ES6 Angular SPAs.

* fix(npm): fix script section

Closes #132

* Update README.md

* Update README.md

* docs(README): remove references to the UI tests

* Remove $scope from selectUser function in UserController (#141)

* Converting 'git+ssh' dependency to 'npm' dependency. It fixed 'npm install' error on my machine.

* Update README to reflect upcoming repository (ES6) changes and fix a few typos/issues.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants