What does an Open Source Microsoft Web Platform look like by Scott Hanselman
Running Virtual Teams with great culture and team happiness by Floyd Marinescu
var center = require('center') | |
var el = document.createElement('img'); | |
el.src='' | |
document.body.appendChild(center(el)) |
class SmartButton extends HTMLButtonElement { | |
constructor() {} | |
} | |
let sb = new SmartButton(); | |
document.body.appendChild(sb); | |
/* | |
I get the below error: | |
TypeError: Failed to execute 'appendChild' |
<link rel="import" href="../core-ajax/core-ajax.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../core-icons/av-icons.html"> | |
<link rel="import" href="../paper-fab/paper-fab.html"> | |
<link rel="import" href="../paper-checkbox/paper-checkbox.html"> | |
<link rel="import" href="../paper-input/paper-input.html"> | |
<link rel="import" href="../paper-item/paper-item.html"> | |
<link rel="import" href="../paper-radio-group/paper-radio-group.html"> | |
<link rel="import" href="../paper-radio-button/paper-radio-button.html"> | |
<link rel="import" href="../paper-slider/paper-slider.html"> | |
<link rel="import" href="../paper-tabs/paper-tabs.html"> |
<link rel="import" href="../paper-calculator/paper-calculator.html"> | |
<paper-calculator responsivewidth="2000px" id="paper_calculator"></paper-calculator> | |
npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/Users/hemanth/.nvm/v0.10.28/lib/node_modules/yo/node_modules/insight/node_modules/request/node_modules/http-signature' | |
npm ERR! error rolling back [email protected] { [Error: ENOTEMPTY, rmdir '/Users/hemanth/.nvm/v0.10.28/lib/node_modules/yo/node_modules/insight/node_modules/request/node_modules/http-signature'] | |
npm ERR! error rolling back errno: 53, | |
npm ERR! error rolling back code: 'ENOTEMPTY', | |
npm ERR! error rolling back path: '/Users/hemanth/.nvm/v0.10.28/lib/node_modules/yo/node_modules/insight/node_modules/request/node_modules/http-signature' } | |
npm ERR! Error: No name provided | |
npm ERR! at needName (/Users/hemanth/.nvm/v0.10.28/lib/node_modules/npm/lib/cache.js:1440:37) | |
npm ERR! at /Users/hemanth/.nvm/v0.10.28/lib/node_modules/npm/lib/cache.js:875:16 | |
npm ERR! at /Users/hemanth/.nvm/v0.10.28/lib/node_modules/npm/node_modules/read-package-json/read-json.js:51:40 | |
npm ERR! at final (/Users/hemanth/.nvm/v0.10.28/lib/node_modules/npm/node_modu |
I hereby claim:
To claim this, I am signing this object:
{ | |
"name": "yeoman-generators", | |
"version": "0.1.0", | |
"description": "Globally installs all the offical yeoman generators.", | |
"main": "index.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1", | |
"preinstall": "npm i -g generator-gruntplugin generator-angular generator-gulp-webapp generator-jquery generator-webapp generator-bootstrap generator-generator generator-backbone generator-node generator-mobile generator-polymer generator-ember generator-karma generator-gruntfile generator-mocha generator-chromeapp generator-chrome-extension generator-jasmine generator-dummy generator-commonjs" | |
}, | |
"repository": { |
0 info it worked if it ends with ok | |
1 verbose cli [ 'node', | |
1 verbose cli '/Users/hemanth/.nvm/v0.10.22/bin/npm', | |
1 verbose cli 'install', | |
1 verbose cli 'grunt-karma', | |
1 verbose cli 'karma-ng-html2js-preprocessor', | |
1 verbose cli 'karma-ng-scenario', | |
1 verbose cli '--save-dev' ] | |
2 info using [email protected] | |
3 info using [email protected] |