-
Notifications
You must be signed in to change notification settings - Fork 4
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
Invalid path when searching for module #3
Comments
+1 having same issue |
+1 I am also having this issue |
+1 any solution for this problem? |
Getting this myself at the moment. |
Any updates on that? |
I start having this issue today. Any idea when this is going to be fixed. I just check and the change is not in master branch yet: https://github.com/christkv/require_optional/blob/master/index.js |
Guys: I just fix the issue renaming the app folder. Not sure if this is related to VS Code or Node. Anyone has the same outcomes? |
@juancarlosgarcia-arg I'm late to the party but there's a PR pending since last year. I am not sure if the original dev pays attention to this package anymore. For late comers from Google: you can find the fix here I'd suggest to fork the module and add to the |
Getting started with mongoose, got stuck on this error while trying to find 'bson-ext' module.
In method
find_package_json_with_name
thelocation = currentModule.filename;
variable is set to/node_modules/require_optional/index.js
.This casues error in method
find_package_json
where checking(location + '/package.json')
results in invalid path/node_modules/require_optional/index.js/package.json
Using Node 8.4.0
The text was updated successfully, but these errors were encountered: