but got null
at validate (/home/user/Desktop/work/fluence/js-libp2p/examples/arqada/janus/client/js-libp2p/node_modules/@babel/types/lib/definitions/utils.js:159:13)
at Object.validate (/home/user/Desktop/work/fluence/js-libp2p/examples/arqada/janus/client/js-libp2p/node_modules/@babel/types/lib/definitions/utils.js:196:7)
at validateField (/home/user/Desktop/work/fluence/js-libp2p/examples/arqada/janus/client/js-libp2p/node_modules/@babel/types/lib/validators/validate.js:24:9)
at validate (/home/user/Desktop/work/fluence/js-libp2p/examples/arqada/janus/client/js-libp2p/node_modules/@babel/types/lib/validators/validate.js:17:3)
at builder (/home/user/Desktop/work/fluence/js-libp2p/examples/arqada/janus/client/js-libp2p/node_modules/@babel/types/lib/builders/builder.js:38:27)
at Object.Identifier (/home/user/Desktop/work/fluence/js-libp2p/examples/arqada/janus/client/js-libp2p/node_modules/@babel/types/lib/builders/generated/index.js:334:31)
at /home/user/Desktop/work/fluence/js-libp2p/examples/arqada/janus/client/js-libp2p/node_modules/@babel/plugin-transform-regenerator/node_modules/regenerator-transform/lib/hoist.js:32:29
at Array.forEach (<anonymous>)
at varDeclToExpr (/home/user/Desktop/work/fluence/js-libp2p/examples/arqada/janus/client/js-libp2p/node_modules/@babel/plugin-transform-regenerator/node_modules/regenerator-transform/lib/hoist.js:29:23)
at exit (/home/user/Desktop/work/fluence/js-libp2p/examples/arqada/janus/client/js-libp2p/node_modules/@babel/plugin-transform-regenerator/node_modules/regenerator-transform/lib/hoist.js:51:20)
всем привет, запускаю пример с js-libp2p через parcel и возникает следующая ошибка. Подскажите, куда копать?
и ещё не понятно, почему при запуске одного примера валидация babel проходит ок, а другого - валится с ошибкой валидации на сторонней либе, которая есть и там, и там
в сторону типов
Обсуждают сегодня