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

the 'main' key in package.json doesn't point to the correct file #7

Open
kjhangiani opened this issue Mar 30, 2016 · 2 comments
Open

Comments

@kjhangiani
Copy link

I was interested in testing this module out in an ember project using ember-browserify, but was running into errors because it seems that the main: "htmldiff.js" entry point in package.json is incorrect. Manually changing this to main: "./src/htmldiff.js" allows the module to work.

Is this a bug in package.json? Or should there be an htmldiff.js in the root level of the node_modules/htmldiff folder? When I npm install this package, htmldiff.js and htmldiff.coffee are both only in the src/ folder

@sant123
Copy link

sant123 commented Mar 7, 2017

Yes it is a bug, you have to manually change the main config in the package json. Also try using json package and create an script that edits the package.json on installing packages.

@ITsolution-git
Copy link

Could you please fix this?

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