You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[at-loader] Using [email protected] from typescript and "tsconfig.json" from frontend/tsconfig.json (in a forked process).
× 「wdm」: Error: Cyclic dependency
at visit (frontend\node_modules\toposort\index.js:35:13)
at visit (frontend\node_modules\toposort\index.js:53:9)
at visit (frontend\node_modules\toposort\index.js:53:9)
at Function.toposort [as array] (frontend\node_modules\toposort\index.js:22:22)
at Object.module.exports.dependency (frontend\node_modules\html-webpack-plugin\lib\chunksorter.js:50:35)
at HtmlWebpackPlugin.sortChunks (frontend\node_modules\html-webpack-plugin\index.js:364:35)
at frontend\node_modules\html-webpack-plugin\index.js:113:21
at AsyncSeriesHook.eval [as callAsync] (eval at create (frontend\node_modules\tapable\lib\HookCodeFactory.js:24:12), <anonymous>:7:1)
at AsyncSeriesHook.lazyCompileHook [as _callAsync] (frontend\node_modules\tapable\lib\Hook.js:35:21)
at Compiler.emitAssets (frontend\node_modules\webpack\lib\Compiler.js:307:19)
at onCompiled (frontend\node_modules\webpack\lib\Watching.js:50:19)
at hooks.afterCompile.callAsync.err (frontend\node_modules\webpack\lib\Compiler.js:487:14)
at _err1 (eval at create (frontend\node_modules\tapable\lib\HookCodeFactory.js:37:17), <anonymous>:20:1)
at frontend\node_modules\awesome-typescript-loader\src\instance.ts:510:16
at process._tickCallback (internal/process/next_tick.js:103:7)
[at-loader] Checking started in a separate process...
The text was updated successfully, but these errors were encountered:
I was able to resolve build issues by setting chunksSortMode to none for the HtmlWebpackPlugin. Not sure precisely why this works but there you go.
plugins: [newHtmlWebpackPlugin({// This is required or else the build fails for unknown reasons.// https://github.com/jantimon/html-webpack-plugin/issues/981#issuecomment-399140618chunksSortMode: 'none'}),]
I'm getting a
Cyclic dependency
error when injecting the RouteGeneratorService into a view model.The relevant code is as follows:
app.routes.ts
route-generator.service.ts
personas-section.vm.ts
The following file is the file that fails to inject the routeGeneratorService:
select.vm.ts
Any help is appreciated.
STACK:
The text was updated successfully, but these errors were encountered: