Closed ManikandanKrishnan closed 7 years ago
Hi Team,
I am trying to run the code locally, I followed the following steps:
**ERROR in ./src/app/app.module.ts Module not found: Error: Can't resolve 'cuppa-ng2-slidemenu/cuppa-ng2-slidemenu' in 'C:\cuppa-ng2-slidemenu-master\cuppa-ng2-slidemenu-master\src\app' @ ./src/app/app.module.ts 9:0-74 @ ./src/app/index.ts @ ./src/main.browser.ts @ multi (webpack)-dev-server/client?http://localhost:3000 ./src/main.browser.ts
ERROR in ./~/ng2-handy-syntax-highlighter/src/library/index.js Module not found: Error: Can't resolve 'tslib' in 'C:\cuppa-ng2-slidemenu-master\cuppa-ng2-slidemenu-master\node_modules\ng2-handy-syntax-highlighter\src\library' @ ./~/ng2-handy-syntax-highlighter/src/library/index.js 2:14-30 @ ./~/ng2-handy-syntax-highlighter/index.js @ ./src/app/app.module.ts @ ./src/app/index.ts @ ./src/main.browser.ts @ multi (webpack)-dev-server/client?http://localhost:3000 ./src/main.browser.ts
ERROR in ./~/ng2-handy-syntax-highlighter/src/library/directive/highlighter.directive.js Module not found: Error: Can't resolve 'tslib' in 'C:\cuppa-ng2-slidemenu-master\cuppa-ng2-slidemenu-master\node_modules\ng2-handy-syntax-highlighter\src\library\dire ctive' @ ./~/ng2-handy-syntax-highlighter/src/library/directive/highlighter.directive.js 2:14-30 @ ./~/ng2-handy-syntax-highlighter/src/library/index.js @ ./~/ng2-handy-syntax-highlighter/index.js @ ./src/app/app.module.ts @ ./src/app/index.ts @ ./src/main.browser.ts @ multi (webpack)-dev-server/client?http://localhost:3000 ./src/main.browser.ts
ERROR in ./~/ng2-handy-syntax-highlighter/src/library/component/handy-syntax-highlighter.component.js Module not found: Error: Can't resolve 'tslib' in 'C:\cuppa-ng2-slidemenu-master\cuppa-ng2-slidemenu-master\node_modules\ng2-handy-syntax-highlighter\src\library\comp onent' @ ./~/ng2-handy-syntax-highlighter/src/library/component/handy-syntax-highlighter.component.js 2:14-30 @ ./~/ng2-handy-syntax-highlighter/src/library/index.js @ ./~/ng2-handy-syntax-highlighter/index.js @ ./src/app/app.module.ts @ ./src/app/index.ts @ ./src/main.browser.ts @ multi (webpack)-dev-server/client?http://localhost:3000 ./src/main.browser.ts Child html-webpack-plugin for "index.html": chunk {0} index.html 544 kB [entry]
Hi, I've migrated the development code to angular cli. Also, fixedthe npm package errors.Hence, closing the issue. Clone the repo again and follow the run locally steps.
Hi Team,
I am trying to run the code locally, I followed the following steps:
**ERROR in ./src/app/app.module.ts Module not found: Error: Can't resolve 'cuppa-ng2-slidemenu/cuppa-ng2-slidemenu' in 'C:\cuppa-ng2-slidemenu-master\cuppa-ng2-slidemenu-master\src\app' @ ./src/app/app.module.ts 9:0-74 @ ./src/app/index.ts @ ./src/main.browser.ts @ multi (webpack)-dev-server/client?http://localhost:3000 ./src/main.browser.ts
ERROR in ./~/ng2-handy-syntax-highlighter/src/library/index.js Module not found: Error: Can't resolve 'tslib' in 'C:\cuppa-ng2-slidemenu-master\cuppa-ng2-slidemenu-master\node_modules\ng2-handy-syntax-highlighter\src\library' @ ./~/ng2-handy-syntax-highlighter/src/library/index.js 2:14-30 @ ./~/ng2-handy-syntax-highlighter/index.js @ ./src/app/app.module.ts @ ./src/app/index.ts @ ./src/main.browser.ts @ multi (webpack)-dev-server/client?http://localhost:3000 ./src/main.browser.ts
ERROR in ./~/ng2-handy-syntax-highlighter/src/library/directive/highlighter.directive.js Module not found: Error: Can't resolve 'tslib' in 'C:\cuppa-ng2-slidemenu-master\cuppa-ng2-slidemenu-master\node_modules\ng2-handy-syntax-highlighter\src\library\dire ctive' @ ./~/ng2-handy-syntax-highlighter/src/library/directive/highlighter.directive.js 2:14-30 @ ./~/ng2-handy-syntax-highlighter/src/library/index.js @ ./~/ng2-handy-syntax-highlighter/index.js @ ./src/app/app.module.ts @ ./src/app/index.ts @ ./src/main.browser.ts @ multi (webpack)-dev-server/client?http://localhost:3000 ./src/main.browser.ts
ERROR in ./~/ng2-handy-syntax-highlighter/src/library/component/handy-syntax-highlighter.component.js Module not found: Error: Can't resolve 'tslib' in 'C:\cuppa-ng2-slidemenu-master\cuppa-ng2-slidemenu-master\node_modules\ng2-handy-syntax-highlighter\src\library\comp onent' @ ./~/ng2-handy-syntax-highlighter/src/library/component/handy-syntax-highlighter.component.js 2:14-30 @ ./~/ng2-handy-syntax-highlighter/src/library/index.js @ ./~/ng2-handy-syntax-highlighter/index.js @ ./src/app/app.module.ts @ ./src/app/index.ts @ ./src/main.browser.ts @ multi (webpack)-dev-server/client?http://localhost:3000 ./src/main.browser.ts Child html-webpack-plugin for "index.html": chunk {0} index.html 544 kB [entry]