Closed maxlein closed 6 years ago
@maxlein
In src/app/@theme/theme.module.ts
remove TinyMCEComponent
from COMPONENTS
and import
In angular.json
remove "node_modules/angular-tree-component/dist/angular-tree-component.css"
compile again...
@codex-corp thank you, that fixes the issue
fixed! Thank you guys for reporting and for the solution.
Issue type
I'm submitting a ... (check one with "x")
Issue description
Current behavior: after cloning the repo, npm i and ng serve, the build breaks. Master branch is working.
`ngx-admin-starter-kit > ng serve
Angular Live Development Server is listening on localhost: 4200, open your browser on http://localhost:4200/
Date: 2018-06-23T15:22:06.636Z Hash: a8f3605a23427ab6fbee Time: 10450ms chunk {main} main.js, main.js.map (main) 1.94 kB [initial] [rendered] chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 688 bytes [initial] [rendered] chunk {runtime} runtime.js, runtime.js.map (runtime) 5.4 kB [entry] [rendered] chunk {scripts} scripts.js, scripts.js.map (scripts) 12.6 kB [rendered] chunk {styles} styles.js, styles.js.map (styles) 980 kB [initial] [rendered] chunk {vendor} vendor.js, vendor.js.map (vendor) 325 kB [initial] [rendered]
ERROR in multi ./node_modules/bootstrap/dist/css/bootstrap.css ./node_modules/typeface-exo/index.css ./node_modules/roboto-fontface/css/roboto/roboto-fontface.css ./node_modules/ionicons/scss/ionicons.scss ./node_modules/socicon/css/socicon.css ./node_modules/nebular-icons/scss/nebular-icons.scss ./node_modules/angular-tree-component/dist/angular-tree-component.css ./node_modules/pace-js/templates/pace-theme-flash.tmpl.css ./src/app/@theme/styles/styles.scss Module not found: Error: Can't resolve '/Users/max/Downloads/ngx-admin-starter-kit/node_modules/angular-tree-component/dist/angular-tree-component.css' in '/Users/max/Downloads/ngx-admin-starter-kit' ERROR in src/app/@theme/theme.module.ts(32,3): error TS2305: Module '"/Users/max/Downloads/ngx-admin-starter-kit/src/app/@theme/components/index"' has no exported member 'TinyMCEComponent'.
「wdm」: Failed to compile. ` Expected behavior: ng demo server starts up and ngx-admin can be tested
Steps to reproduce: clone the repo, npm i and ng serve
Other information:
macOS (High Sierra) node --version v10.4.1 npm --version 6.1.0