cardano-js-sdk icon indicating copy to clipboard operation
cardano-js-sdk copied to clipboard

Running demo fails (missing "typeorm-extension")

Open mcsherrylabs opened this issue 1 year ago • 1 comments

Summary

Instling everything from scratch as described on the demo page fails

node demo/projection-typeorm.js

result in ...

Error: Cannot find module 'typeorm-extension'

npm -i typeorm-extension fails but

yarn add typeorm-extension seems to work...

Steps to reproduce the bug

node demo/projection-typeorm.js

Actual Result

Error: Cannot find module 'typeorm-extension'

Expected Result

No error

SDK version

0.4.1

Environment type

  • [X] Node.js
  • [ ] Browser
  • [ ] Browser Extension
  • [ ] Other

Environment details

Ubuntu

mcsherrylabs avatar Oct 04 '23 09:10 mcsherrylabs

Thanks for reporting @mcsherrylabs. We should have a package.json in the demo dir to handle this.

rhyslbw avatar Nov 29 '23 11:11 rhyslbw

As-of https://github.com/input-output-hk/cardano-js-sdk/commit/32d6992613a65e204a29bf9dfd576622a4d854b4 @mkazlauskas replaced this demo with better documentation :star:

rhyslbw avatar Jul 27 '24 15:07 rhyslbw