last day (15 days later) » 

7:07 AM
1
A: Can't resolve all parameters for ApplicationModule: (?) - Angular 7 JIT

Tony NgoYou should only import import 'core-js/es7/reflect'; as it have been an issue in github page at here and here The working repo code

 
hello tony, thanks to have answer but is already what i have describe on my question. This polyfill is already loaded. You can have look on my repo if you want to experiment the issue by yourself.
 
Ok no worry i will take a look now
Which command I need to run ?
 
npm install && npm run dev:app1, then you can go to localhost/path/to/src/app1.html
 
Which port does the webpack run ? I can build it
 
i have not install and setup webpack-dev-server, you can use any web-server and navigate to src/app1.html.
 
7:07 AM
I cant help you if you dont setup properly because I dont know how to run your project
 
to have the render you just have to run python -m SimpleHTTPServer on your root folder
then open: localhost/src/app1.html
otherwise i just upgrade the repo with webpack-dev-server. you can now run npm run serve
 
7:26 AM
ok just a sec
I see the error
will get back to you when i can fix it
 
good luck Tony. Almost 6 hours on this issues... still no clue ..
 
8:22 AM
Where did you add polifill
 
on polyfills.ts
i think you suspect polyfills not execute before main content. You can check script order on html, polyfills is load first. Anyway i have also try to only use app1.ts file and include all polyfills on it.
 
how did you inject the polifill and the script ?
 
by webpack with html-webpack-plugin
 
yes i understand
but where do inject the script tag ?
 
i don't get your question, is webpack which inject automatically base on the specified entry point.
 
8:31 AM
ok which file I can see those entry point
 
config/app1/index.js
 
ah
I think
the problem come from the app1.html
 
8:53 AM
I cant fix it
still dont know what cause the problem
 
i have find !
finally !
Thanks for your help, issue come from webpack compilation
and process setting.
 

last day (15 days later) »