xeax
xeax
Same problem! `> ng new "mc-workspace" --collection=@nrwl/schematics` core_1.PriorityQueue is not a constructor TypeError: core_1.PriorityQueue is not a constructor ``` @angular/[email protected] @nrwl/[email protected] ```
Same error on `@nrwl/[email protected]` or `@nrwl/[email protected]`
Issue solved with: `npm install --save-dev @angular/[email protected]` May need remove old version of `@ngtools/webpack` from package.json. This versions of nrwl/schematics works fine for my case: `@nrwl/[email protected]` `@nrwl/[email protected]`
Serving app (with new library used) with command: `ng serve --app=backoffice` fails with this error: `ERROR in F:/mc/apps/backoffice/src/app/app.component.ts (3,24): Cannot find module '@backoffice/fake-db'. ` even if I change libs/fake-db/index.ts to:...
On ``` @angular/cli 1.4.10 @nrwl/schematics 0.8.0 ``` My results: ``` F:\test>npm install --save-dev @nrwl/schematics + @nrwl/[email protected] added 117 packages in 32.831s F:\test>ng generate workspace backoffice --collection=@nrwl/schematics create test.js (1033 bytes)...
On ``` @angular/cli 1.7.3 @nrwl/schematics 0.8.0 ``` lib added with command: ng generate lib fake-db --nomodule resulting libs/fake-db/index.ts containing: `export { FakeDb } from './src/fake-db';` Now it is correct path...
Is it the same bug? https://github.com/webpack/memory-fs/issues/53
Here is repro: https://github.com/xeax/bug2 Error only on Windows OS. My version is Win 8.1 Error text in browser after "ng serve --app=backoffice": Uncaught TypeError: __WEBPACK_IMPORTED_MODULE_1__angular_core__._11 is not a constructor at...
Temporary solved issue with symlink "libs" in "apps/myapp/src" linked to "libs" in Nx workspace root folder and setting tsconfig.json "paths" to `{ "@mc/*": [ "libs/*" ] }`.
``` @nrwl/nx: 0.7.4, @angular/cli: 1.4.10 ```