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

cannot require from npm module in node #67

Closed
commenthol opened this issue Aug 8, 2015 · 2 comments
Closed

cannot require from npm module in node #67

commenthol opened this issue Aug 8, 2015 · 2 comments

Comments

@commenthol
Copy link

The package.json file in the published npm version 2.0.1 contains the line "main": "./lib".
As the folder ./lib is not included in the npm package, the module cannot be required in node after using npm i diff.

Please change the package.json file for the npm package to "main": "./dist/diff.js" or do other smart things.

@kpdecker
Copy link
Owner

kpdecker commented Aug 8, 2015

Released in 2.0.2

@kpdecker
Copy link
Owner

kpdecker commented Aug 8, 2015

Sorry about that, it looks like there were some hiccups in the new build+publish setup. You should be fine under 2.0.2 now.

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

2 participants