Error: Cannot resolve module 'apply' webpack angular2

I am not really sure how I got into this pickle.. I uninstalled my global webpack and reinstalled it locally to dockerize my project. Then I got a trail of errors, resolved the ones I could and I’m left with this

http://puu.sh/orazd/b8a85ac5c6.png

I don’t use any module called apply, most certainly not in every file

3
Leave a Reply

avatar
3 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
1 Comment authors
Jason Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
Jason
Guest

I had tried resolveLoader previously

and it had worked for me.

My configuration is as follows:

resolveLoader: {
  modulesDirectories: [
      '/users/path/a/node_modules'
  ]
},

Hope this helps.

Jason
Guest

Though not sure, I think maybe something wrong, like conflicts, in the typings folder. Would you try to remove typings folder and run npm install again.

Jason
Guest

The answer turned out to be

enter image description here

silly enough.. the error was a little misleading but.