Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angular 7 ngc-webpack #51

Open
mukulstan opened this issue Jan 28, 2019 · 1 comment
Open

Angular 7 ngc-webpack #51

mukulstan opened this issue Jan 28, 2019 · 1 comment

Comments

@mukulstan
Copy link

mukulstan commented Jan 28, 2019

hi,i am migrating my angular 4 admin project to 7 ,and after migration getting this error.The project was working fine with version4.

Cannot read property 'prototype' of undefined
at __extends (/var/www/html/ifta_7/admin/node_modules/ngc-webpack/src/webpack-chain-module-resolution-host-adapter.js:5:69)
at /var/www/html/ifta_7/admin/node_modules/src/webpack-chain-module-resolution-host-adapter.ts:7:62
at Object. (/var/www/html/ifta_7/admin/node_modules/src/webpack-chain-module-resolution-host-adapter.ts:7:1)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object. (/var/www/html/ifta_7/admin/node_modules/src/main.ts:15:1)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object. (/var/www/html/ifta_7/admin/node_modules/src/plugin.ts:3:1)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
devDependancy:{
"webpack": "2.3.3",
"webpack-dev-middleware": "1.10.1",
"webpack-dev-server": "2.4.2",
"webpack-dll-bundles-plugin": "1.0.0-beta.5",
"webpack-merge": "4.1.0",
}

"ngc-webpack": "^1.2.0"
I have tried to upgrade version of ngc-webpack to 4.But then getting error @ngtools/webpack not found

@ramya0311
Copy link

@mukulstan were you able to resolve this error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants