0
私のAngular 2アプリをVS2015を使って配備しようとしています。 2つの実行中のWebPACKの現時点でのエラー、しかし、どれもエラーはこの問題が新しいビルドを生成することができていないvs2015Webpack重複した識別子 'PropertyKey'
C:\Users\asus\Desktop\C# Web\Core\AngularAPI\ApiAngWebPack\WebApp> cmd /c SET NODE_ENV=development&& webpack -d --color
@@@@@@@@@ USING DEVELOPMENT @@@@@@@@@@@@@@@
clean-webpack-plugin: C:\Users\asus\Desktop\C# Web\Core\AngularAPI\ApiAngWebPack\WebApp\wwwroot\dist has been removed.
clean-webpack-plugin: C:\Users\asus\Desktop\C# Web\Core\AngularAPI\ApiAngWebPack\WebApp\wwwroot\fonts has been removed.
clean-webpack-plugin: C:\Users\asus\Desktop\C# Web\Core\AngularAPI\ApiAngWebPack\WebApp\wwwroot\assets has been removed.
Hash: ab986b13a96ef5707853
Version: webpack 2.1.0-beta.25
Time: 18114ms
Asset Size Chunks Chunk Names
assets/glyphicons-halflings-regular-f4769f.eot 20.1 kB [emitted]
assets/glyphicons-halflings-regular-f72146.svg 109 kB [emitted]
assets/glyphicons-halflings-regular-e18bbf.ttf 45.4 kB [emitted]
assets/glyphicons-halflings-regular-fa2772.woff 23.4 kB [emitted]
assets/glyphicons-halflings-regular-448c34.woff2 18 kB [emitted]
dist/app.bundle.js 8.8 MB 0 [emitted] app
index.html 426 bytes [emitted]
assets/damienbod.jpg 4.85 kB [emitted]
+ 805 hidden modules
ERROR in [default] C:\Users\asus\Desktop\C# Web\Core\AngularAPI\ApiAngWebPack\WebApp\node_modules\typescript\lib\lib.es2015.core.d.ts:17:13
Duplicate identifier 'PropertyKey'.
ERROR in [default] C:\Users\asus\Desktop\C# Web\Core\AngularAPI\ApiAngWebPack\node_modules\@types\core-js\index.d.ts:21:13
Duplicate identifier 'PropertyKey'.
Child html-webpack-plugin for "index.html":
+ 1 hidden modules
Process terminated with code 2.
に建物をやった瞬間があります。これはnode_modules/WebPACKのでは、このようなbuildin /グローバルフォルダが存在しない、結果はソリューションエクスプローラ内の検査ブラウザ
Uncaught Error: Module build failed: Error: EPERM: operation not permitted, open 'C:\Users\asus\Desktop\C# Web\Core\AngularAPI\ApiAngWebPack\WebApi\node_modules\webpack\buildin\global.js'
at Error (native)
at Error (native)
at eval (eval at <anonymous> (http://localhost:18678/dist/app.bundle.js:530:1), <anonymous>:1:7)
at Object.<anonymous> (http://localhost:18678/dist/app.bundle.js:530:1)
at __webpack_require__ (http://localhost:18678/dist/app.bundle.js:20:30)
at eval (eval at <anonymous> (http://localhost:18678/dist/app.bundle.js:7659:1), <anonymous>:182:44)
at Object.<anonymous> (http://localhost:18678/dist/app.bundle.js:7659:1)
at __webpack_require__ (http://localhost:18678/dist/app.bundle.js:20:30)
at Object.eval (eval at <anonymous> (http://localhost:18678/dist/app.bundle.js:4799:1), <anonymous>:1:113)
at eval (eval at <anonymous> (http://localhost:18678/dist/app.bundle.js:4799:1), <anonymous>:71:30)
at Object.<anonymous> (http://localhost:18678/dist/app.bundle.js:4799:1)
at __webpack_require__ (http://localhost:18678/dist/app.bundle.js:20:30)
からあったです。エラーの合計か単なるものかどうかはわかりません。私はwebpackがnode_modulesフォルダ@ vs2015に建物を作成するとは思わない。
編集
package.json
この程度vs2015と関連するいくつかの問題が見つかりました"webpack": "2.1.0-beta.27",
"webpack-dev-server": "^1.16.2"
を追加することが、私の場合は、vs2015側から何の問題similar SO question