-
Notifications
You must be signed in to change notification settings - Fork 7
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
Comments
What version of nodejs are you using?
…On Thu, Feb 14, 2019, 12:11 PM xeax ***@***.*** wrote:
Error text:
Module not found: Error: Can't resolve './package' in
'C:_mc\angular\node_modules\has-own'
Fixed by replacing:
exports.version = require('./package').version;
with
exports.version = require('./package.json').version;
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAKLsvsUop7gbjhqVXtVWxQmnLq0bh_hks5vNcL3gaJpZM4a8WpF>
.
|
The same for me. node version: 11.15.0 |
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
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;
The text was updated successfully, but these errors were encountered: