You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently I updated my project to the "2.0.0-beta.14" by NPM.
But after update it, the following error started to occur.
Uncaught TypeError: _shepherd2.default.Tour is not a constructor
The way of I imported the module is:
importShepherdfrom'shepherd.js'
But if I built the shepherd and copy/paste the dist, the project back to work.
I've compared both files, and the the shepherd.js from NPM hasn't the "return Shepherd" in end.
And the first comment about the version in the top of the code is:
Yes, I think this is because I missed some steps that Travis usually runs when I tried to manually deploy. Trying to get Travis to deploy a 2.0.0-beta.15 now to see if it will work.
Hey there!
Recently I updated my project to the "2.0.0-beta.14" by NPM.
But after update it, the following error started to occur.
The way of I imported the module is:
But if I built the shepherd and copy/paste the dist, the project back to work.
I've compared both files, and the the shepherd.js from NPM hasn't the "return Shepherd" in end.
And the first comment about the version in the top of the code is:
You can check the diff here: https://www.diffchecker.com/ltjErMqu
Thanks,
Vinícius Moraes.
The text was updated successfully, but these errors were encountered: