knownasilya/ember-toastr

getting "Cannot find module 'toastr'" with ember-toastr 1.6.0 and 1.6.1

etherelly opened this issue · 5 comments

It works fine on 1.5.0 for us but when running ember after upgrading to 1.6.0 or 1.6.1:

Cannot find module 'toastr'
Error: Cannot find module 'toastr'
at Function.Module._resolveFileName (module.js:440:15)
...

I'm having the same issue. Forcing back to version 1.5.0 solved the issue but with version 1.6.1 the ember app is not starting.

It seems that the addon is not adding the package using addPackageToProject but if you install moment in your application before installing addon then it works fine (just a workaround for now till the problem is found)

@gramozkrasniqi did your PR not solve the issue?

@knownasilya found it don't shout at me when you see the PR lol

Try v1.6.2