我正在使用dotnet build
来构建使用React和Webpack的.net核心项目。它昨天完美地工作,今天......它失败了,出现以下错误:
EXEC : { error : Found '{' where a key name was expected (check your syntax or use quotes if the key name includes {}[],: or whitespace) at
line 1,1 >>>{ [c:\Code\blah\blah\blah.csproj]
"compileOnSave" ...
EXEC : at error (c: \Code\blah\blah\node_modules\hjson\lib\hjson-parse.js:40:11) [c:\Code\blah\blah\Prom
appApiClient.csproj]
at keyname (c:\Code\blah\blah\node_modules\hjson\lib\hjson-parse.js:158:9)
at object (c:\Code\blah\blah\node_modules\hjson\lib\hjson-parse.js:356:15)
at rootValue (c:\Code\blah\blah\node_modules\hjson\lib\hjson-parse.js:426:28)
at module.exports (c:\Code\blah\blah\node_modules\hjson\lib\hjson-parse.js:444:10)
at Object.parse (c:\Code\blah\blah\node_modules\hjson\lib\hjson.js:161:14)
at ensureTsConfigContainsTypesEntry (c:\Code\blah\blah\node_modules\aspnet-webpack-react\scripts\postinstall.js:31:3
9)
at Object.<anonymous> (c:\Code\blah\blah\node_modules\aspnet-webpack-react\scripts\postinstall.js:51:5)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10) hint: '' }
> node-sass@4.5.3 postinstall c:\Code\blah\blah\node_modules\node-sass
> node scripts/build.js
我不知道在哪里看或错误可能是什么,请有人帮忙?!