manolo / gwt-polymer-elements

Polymer Web Components for GWT. A collection of Material Design widgets for desktop and mobile.
Apache License 2.0
155 stars 49 forks source link

Project does not build from source #99

Closed steffimueller closed 8 years ago

steffimueller commented 8 years ago

I tried npm installand got the following errors:

npm WARN package.json gwt-polymer-elements@1.2.3 No repository field.
npm WARN package.json gwt-polymer-elements@1.2.3 license should be a valid SPDX license expression
npm WARN deprecated lodash@1.0.2: lodash@<2.0.0 is no longer maintained. Upgrade to lodash@^3.0.0
npm ERR! Darwin 14.5.0
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.10.28
npm ERR! npm  v2.14.2
npm ERR! path /Users/test/.npm/dateformat/1.0.12
npm ERR! code EACCES
npm ERR! errno 3

npm ERR! Error: EACCES, mkdir '/Users/test/.npm/dateformat/1.0.12'
npm ERR!  { [Error: EACCES, mkdir '/Users/test/.npm/dateformat/1.0.12']
npm ERR!   errno: 3,
npm ERR!   code: 'EACCES',
npm ERR!   path: '/Users/test/.npm/dateformat/1.0.12',
npm ERR!   parent: 'gulp-util' }
npm ERR! 
npm ERR! Please try running this command again as root/Administrator.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/test/Downloads/gwt-polymer-elements/npm-debug.log
manolo commented 8 years ago

Not a project issue, it's a problem with your node and npm setup. 1.- Try install npm as root: $ sudo node install npm -g 2.- Change permissions of /Users/test/.npm, seems like you have run sudo npm sometime without -g parameter. So do either: chown -R your_username /Users/test/.npm or rm -rf /Users/test/.npm