coapjs / node-coap

CoAP - Node.js style
MIT License
528 stars 154 forks source link

Library is still broken #382

Closed JimmyBjorklund closed 5 months ago

JimmyBjorklund commented 5 months ago

tsc

node_modules/coap/dist/lib/server.d.ts:11:10 - error TS2617: 'LRUCache' can only be imported by using 'import LRUCache = require("lru-cache")' or by turning on the 'esModuleInterop' flag and using a default import.

11 import { LRUCache } from 'lru-cache';

This is fixed in pr: https://github.com/coapjs/node-coap/pull/378

I am hosting a temporary fixed version: @jimmybjorklund/coap.