-
Notifications
You must be signed in to change notification settings - Fork 5
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
working with meteor 1.3 and new npm module system #23
Comments
Thanks for reporting! |
so i'm guessing that meteor can't import because there is no 'main' field in the original HOT repo's package.json. Possibly adding a definition there may fix things, but i'm not sure what to define as the 'entry point'. |
I notice your package imports a number of things so its not using the npm module for HOT? but I don't know where the HOT module comes from, I can't see it in npm
more discussion |
As far as I am concerned, there is no NPM version of Handsontable. (If I am not mistaken) For Meteor 1.3 where all the export default and import for modules loading take place, I will have to find a way to do that since Handsontable is technically not a NPM module. Tho it is still not sure how meteor will implement for bower package, (if it is the case in webpack, we could have a chance using css loader and import into ES6 script, but it still remains unknown. ) Ideas welcome! |
Hi @awsp , Just updated my app to meteor 1.3 beta12 and got the errors mentioned above. Any ideas on when you'll have a workaround for this? My app is in prod with your package (on meteor 1.2.1) but I can't wait to try meteor 1.3. Many thanks for your help. |
Okay, seems recently there is a npm version of Handsontable published. Will add it to this package soon. :D |
It looks like for meteor 1.3, you don't really need a package to use Handsontable since you could natively import it to your meteor application. I have created a demo Note: I am still figuring out the way to import those assets like css or so in Meteor 1.3. Hope it helps! |
@awsp Thanks for your demo, but I'm still having trouble getting it to work in Meteor 1.3.2. I get the error:
I opened an issue here: awsp/handsontable-meteor-1.3-react#1 |
Could you try meteor npm install moment --save and see if it works? Sent from my iPhone
|
@awsp The issue can be fixed like this. |
I upgraded to meteor 1.3 and this package stopped working, I guess since they have their own way to work with npm packages now.
handsontable/handsontable#2076
I noticed you bundled a few other files in your package, and that there's something odd about the original package
handsontable/handsontable#2076
I started some discussion here:
https://forums.meteor.com/t/meteor-1-3-early-beta-now-available/14723/113?u=dcsan
The text was updated successfully, but these errors were encountered: