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

Got error, using module in angular 6 #2

Open
xeax opened this issue Feb 14, 2019 · 3 comments
Open

Got error, using module in angular 6 #2

xeax opened this issue Feb 14, 2019 · 3 comments

Comments

@xeax
Copy link

xeax commented Feb 14, 2019

Error text:
Module not found: Error: Can't resolve './package' in '........\node_modules\has-own'

Fixed by replacing:
exports.version = require('./package').version;
with
exports.version = require('./package.json').version;

@aheckmann
Copy link
Contributor

aheckmann commented Feb 14, 2019 via email

@slonofanya
Copy link

slonofanya commented Dec 17, 2019

The same for me. node version: 11.15.0

@aheckmann
Copy link
Contributor

since the pebble org is not maintained, i've forked this back to my org and updated the package to reflect. released as 1.0.1. Thanks! https://github.com/aheckmann/has-own

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