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

"Path must be a string. Received undefined" when requiring via REPL #20

Open
Sammons opened this issue Feb 23, 2017 · 0 comments
Open

Comments

@Sammons
Copy link

Sammons commented Feb 23, 2017

The error traces to

https://github.com/abreits/amqp-ts/blob/master/src/amqp-ts.ts#L17

I've only seen it in the repl, It goes away if I set AMQPTS_APPLICATIONNAME in the env, but it seems a little unnecessary to kill the require if it isn't set.

to reproduce, open a node repl in a folder that has amqp-ts installed in the node_modules. Then require('amqp-ts')

Kampfmoehre added a commit to droidsolutions/amqp-ts that referenced this issue Mar 3, 2021
prevent a probloem like in abreits#20 and a fix similar to abreits/amqp-ts/#62
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

1 participant