<p dir="auto">Trying out electron for the first time and downloaded the latest version 0.28 (win x64). I basically copy and pasted  the tutorial code from Quick Start (<a href="https://github.com/atom/electron/blob/master/docs/tutorial/quick-start.md">https://github.com/atom/electron/blob/master/docs/tutorial/quick-start.md</a>) and was able to bring up a window. However I see the following error:<br>
Uncaught Error: Cannot find module './web-view/web-view-attributes' (module.js:334)</p>
<p dir="auto">I checked v0.27 and do not see this error.</p>
<ul dir="auto">
<li>Electron version: v1.7.5</li>
<li>Operating system: MacOS</li>
</ul>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">WebView opens external website e.g <a href="https://google.com" rel="nofollow">https://google.com</a></p>
<h3 dir="auto">Actual behavior</h3>
<p dir="auto">When creating a WebView in Angular projects either using JavaScript or by adding a HTML tag, it crashes with this error.</p>
<blockquote>
<p dir="auto">Uncaught TypeError: WebViewImpl.BrowserPlugin is not a constructor<br>
at WebViewImpl.createBrowserPluginNode (/usr/local/lib/node_modules/electron/dist/Electron.app/Contents/Resources/electron.asar/renderer/we…:41)<br>
at new WebViewImpl (/usr/local/lib/node_modules/electron/dist/Electron.app/Contents/Resources/electron.asar/renderer/we…:29)<br>
at HTMLElement.proto.createdCallback (/usr/local/lib/node_modules/electron/dist/Electron.app/Contents/Resources/electron.asar/renderer/we…:283)<br>
at :1:10<br>
createBrowserPluginNode @ /usr/local/lib/node_modules/electron/dist/Electron.app/Contents/Resources/electron.asar/renderer/we…:41<br>
WebViewImpl @ /usr/local/lib/node_modules/electron/dist/Electron.app/Contents/Resources/electron.asar/renderer/we…:29<br>
proto.createdCallback @ /usr/local/lib/node_modules/electron/dist/Electron.app/Contents/Resources/electron.asar/renderer/we…:283<br>
(anonymous) @ VM370:1<br>
​​</p>
</blockquote>
<h3 dir="auto">How to reproduce</h3>
<blockquote>
<p dir="auto">$ npm install -g @angular/cli<br>
$ ng new test1 --minimal<br>
$ cd test1<br>
$ npm start</p>
</blockquote>
<blockquote>
<p dir="auto">document.createElement('webview')</p>
</blockquote>