Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing the packages end with empty folder #51

Closed
yossiHav opened this issue Jul 23, 2018 · 11 comments
Closed

Installing the packages end with empty folder #51

yossiHav opened this issue Jul 23, 2018 · 11 comments

Comments

@yossiHav
Copy link

Hi,
For some reason running the npm install end with downloading the dist folder with only index.js in it and the readm files

any reason?

@joepuzzo
Copy link
Collaborator

Im sorry im not sure I understand. Are u trying to use informed? Or did u pull the source code and are trying to contribute.

@yossiHav
Copy link
Author

I was using the "react-from" and I've seen your message on moving to the "informed" and I want to use it but the I can't get the full package...

@yossiHav
Copy link
Author

Hi joepuzzo
any clue why I can't install it?

@yossiHav yossiHav reopened this Jul 24, 2018
@joepuzzo
Copy link
Collaborator

No I actually dont haha this sounds like an issue on your end

@yossiHav
Copy link
Author

but it is the only package that is not downloading using npm install the react-form, for example, is ok

@yossiHav
Copy link
Author

Hi joepuzzo,
I need your help understanding if the installed package has only dist with on index.js file?

Yossi

@larrybotha
Copy link
Contributor

larrybotha commented Jul 25, 2018

@yossiHav yup, it does. Currently a minified index.js is built to dist which is what is imported into your own modules.

EDIT: I'm not sure what you're experiencing, as everything works as expected. I've opened https://github.com/joepuzzo/informed/issues/54 for building sourcemaps and non-minified code, however.

@yossiHav
Copy link
Author

Hi larrybotha
I'm getting an error when trying to import the "informed"- i'm using the last version 1.7.3
when trying to import the withFormApi i'm getting
index.js?7d23:formatted:193 Uncaught TypeError: Cannot read property 'formApi' of undefined
at eval (index.js?7d23:formatted:193)
at updateContextConsumer (react-dom.development.js?61bb:13712)
at beginWork (react-dom.development.js?61bb:13846)
at performUnitOfWork (react-dom.development.js?61bb:15863)
at workLoop (react-dom.development.js?61bb:15902)
at HTMLUnknownElement.callCallback (react-dom.development.js?61bb:100)
at Object.invokeGuardedCallbackDev (react-dom.development.js?61bb:138)
at invokeGuardedCallback (react-dom.development.js?61bb:187)
at replayUnitOfWork (react-dom.development.js?61bb:15310)
at renderRoot (react-dom.development.js?61bb:15962)

or when trying to import the "Checkbox" element I'm getting
index.js?7d23:formatted:552 Uncaught TypeError: Cannot read property 'controller' of undefined
at eval (index.js?7d23:formatted:552)
at updateContextConsumer (react-dom.development.js?61bb:13712)
at beginWork (react-dom.development.js?61bb:13846)
at performUnitOfWork (react-dom.development.js?61bb:15863)
at workLoop (react-dom.development.js?61bb:15902)
at HTMLUnknownElement.callCallback (react-dom.development.js?61bb:100)
at Object.invokeGuardedCallbackDev (react-dom.development.js?61bb:138)
at invokeGuardedCallback (react-dom.development.js?61bb:187)
at replayUnitOfWork (react-dom.development.js?61bb:15310)
at renderRoot (react-dom.development.js?61bb:15962)

Yossi

@yossiHav
Copy link
Author

and also getting this issue on load when using the Form import
warning.js?da67:33 Warning: React does not recognize the defaultValues prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase defaultvalues instead. If you accidentally passed it from a parent component, remove it from the DOM element.

@larrybotha
Copy link
Contributor

larrybotha commented Jul 26, 2018 via email

@joepuzzo
Copy link
Collaborator

Im closing as this is a local issue that others are not seeing.

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

No branches or pull requests

3 participants