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

Conflict when using 'esm' module #45

Open
tracker1 opened this issue Mar 27, 2019 · 3 comments
Open

Conflict when using 'esm' module #45

tracker1 opened this issue Mar 27, 2019 · 3 comments

Comments

@tracker1
Copy link

trying to use this in conjunction with the 'esm' module..

node -r esm

> var fu = require('findup-sync')

drops out of node at time of require.

@phated
Copy link
Member

phated commented Mar 27, 2019

Hey @tracker1, been awhile. Do you have any more debug info?

@tracker1
Copy link
Author

@phated not really, took me a while just to narrow it down to the issue I was having... I was only looking for package.json, and for now, just switched to use path.join(process.cwd, 'package.json') which works for my needs at the moment. It's really weird and that the whole world just seems to stop, and poof, no longer inside node.

@phated Need to get to a nodeaz meetup soon, been too long.

@OmgImAlexis
Copy link

I think I've found the issue.

Seems esm isn't playing nice with https://github.com/jonschlinkert/resolve-dir.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

3 participants