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

[tsc] > node_modules/amqp-ts/lib/amqp-ts.d.ts(50,14): error TS2304: Cannot find name 'Buffer'. #15

Open
030 opened this issue Nov 16, 2016 · 2 comments

Comments

@030
Copy link

030 commented Nov 16, 2016

No description provided.

@abreits
Copy link
Owner

abreits commented Nov 22, 2016

Buffer should be defined in the node.js type definition file (.d.ts), You can add this by using typings ( https://github.com/typings/typings ).

Perhaps it is possible to define this dependency in the package.json, but I have not had the time to find out and typings works very well.

install typings:
npm install --global typings

install node.js type definition file:
typings install dt~node --global

@ana-sher
Copy link

same error

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