ReactJSログイン画面プロジェクトで、@Andrew Li(https://stackoverflow.com/users/5647260/andrew-li)が正しくプロンプトを表示したwebpack(re:Compilation Issue with a React Login Screen)私たちはWebpack v1の構文からWebpackのv3の構文に切り替えます。webpack v1の構文をwebpack v3に切り替えようとしましたが、奇妙なコンパイルエラーが発生しました
これは、結果の設定コードです:私にはないラインでの予期しないトークンについて次のエラーを取得するコードを使用WebPACKのindex.js run.jsをコンパイルおよび実行時に
https://gist.github.com/jqed-xuereb/8134002fdfb697e34a855e0394969ffc
私のコードに存在します。正確に私の最後の行の下に1行。 エラー:
C:\Users\Jake\command line work\LearnD\Iteration 0\app\frontend>webpack
index.js run.js
C:\Users\Jake\command line work\LearnD\Iteration
0\app\frontend\webpack.config.js:143
});
^
SyntaxError: Unexpected token }
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:542:28)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at requireConfig
(C:\Users\Jake\AppData\Roaming\npm\node_modules\webpack\bin\convert-
argv.js:97:18)
設定に関する方法のポインティングや補正のいかなる形態と、このエラーを取り除くには、感謝以上になります。
おかげで、私はあなたにビールの仮想パイントを借りて、
J.
あなたはおそらくgistを使用してコード全体を共有していただけますか?https://gist.github.com/ –
@ Ido.Sあなたは本当に適切な紳士です。 こちらをご覧ください:https://gist.github.com/jqed-xuereb/8134002fdfb697e34a855e0394969ffc –
@ Ido.S開発状況 –