Skip to content
This repository has been archived by the owner on May 1, 2019. It is now read-only.

NPM package error #94

Closed
montogeek opened this issue Jan 27, 2016 · 8 comments
Closed

NPM package error #94

montogeek opened this issue Jan 27, 2016 · 8 comments

Comments

@montogeek
Copy link

Hi!

Thanks for publish this package to npm, on our project we were using the CDN script, it worked perfectly, after switching to the npm package, the following errors are happening:
screen shot 2016-01-27 at 15 01 20

The first error happens when fetching the gravatar image, the second one when you submit your email.

We are using:
React 0.14.6
Webpack 1.12.9

I think is probably related to this issue: facebook/react#2402 since this package install its own React version (0.14.5)

@montogeek
Copy link
Author

After update our React dependencies to be the same as this package (0.14.5) the last error was fixed.

@gnandretta
Copy link
Contributor

@montogeek Thanks for reporting the issue!

I've fixed the Uncaught TypeError: (0 , _blueimopMd.md5) is not a function error and upgraded the react dependency to 0.14.6.

I'll need some more time to test before making a proper release tomorrow. In the meantime, I've pushed the changes to the branch webpack-fix. So, you can continue with the development of your application with the following dependency if you want to:

"auth0-lock-passwordless": "auth0/lock-passwordless#"

@montogeek
Copy link
Author

Thank you so much!

@montogeek
Copy link
Author

Is there any problem is you leverage the React version installed to NPM?
Instead of specify a version, leave npm decide the last version, like ^0.14.

@gnandretta
Copy link
Contributor

I had some issues before during development were I ended up with different versions for some react packages. Anyways, I've relaxed the dependency version, lets see how it plays out.

@montogeek
Copy link
Author

Any idea why I am getting an empty folder?
package.json
"auth0-lock-passwordless": "auth0/lock-passwordless.git#webpack-fix"

screen shot 2016-01-28 at 19 20 57
screen shot 2016-01-28 at 19 22 05

@gnandretta
Copy link
Contributor

@montogeek I've released 2.2.2.

@montogeek
Copy link
Author

Working smoothly, thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants