We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9720077 commit 9b7d076Copy full SHA for 9b7d076
packages/angular_devkit/schematics/tools/node-module-engine-host.ts
@@ -74,7 +74,7 @@ export class NodeModulesEngineHost extends FileSystemEngineHostBase {
74
protected _resolveCollectionPath(name: string): string {
75
let collectionPath: string | undefined = undefined;
76
77
- if (name.split('/').length > (name[0] == '@' ? 2 : 1)) {
+ if (name.replace(/\\/, '/').split('/').length > (name[0] == '@' ? 2 : 1)) {
78
try {
79
collectionPath = this._resolvePath(name, process.cwd());
80
} catch (_) {
0 commit comments