djidel
djidel
@larssn do you have the same npm and node versions?
I reinstalled node v10.0.0 but I have the same error still. now installed node v8.11.1 and still I have the same problem.
@larssn are you on Windows x64?
@tonmanayo I tried your instructions, that doesn't solve the problem for me.
I tested in another machine with the same environment and it works! But I don't know why it still doesn't work in the first machine. I tried uninstalling npm, deleting...
@clydin This is the output: ``` > npm ls -g @schematics/angular C:\Users\User\AppData\Roaming\npm `-- @angular/[email protected] `-- @schematics/[email protected] > npm ls @schematics/angular C:\Users\User +-- @angular/[email protected] | `-- @schematics/[email protected] extraneous `-- @schematics/[email protected] npm...
@clydin You are right, there is a `node_modules` folder in `C:\Users\User\`, and removing the folder solved the problem. Thank you, and sorry for the trouble.
@AnimaWolf in my case ngOnDestroy never get called, have you tested your implementation of OnDestroy?
This is a working codepen demo for this issue: http://codepen.io/djidel/pen/NpMpmY Are there any workarounds?
Hey, I'm not sure, but $scope.$watch('md-selected',your_listener_function) might be a work around.