-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
so i was testing this out with v5.1.1 (and this angular example is awesome btw), but when I went to my project (and i was comparing this repo with my stuff) which has the same setup, I was getting an error on mine, but not this repo. and realized the main difference is with the versions.
so v5.1.1 works great, but NOT with v5.6.19
so if you update to latest (below) you'll see that the app doesn't compile
{
"name": "deepar",
"version": "5.6.19",
"description": "The official DeepAR Web SDK",
"main": "js/deepar.esm.js",
"jsdelivr": "js/deepar.js",
"typings": "js/types/index.d.ts",
"keywords": [
"deepar",
"web",
"sdk",
"ar",
"effects",
"bacground removal",
"bacground replacement",
"background blur",
"AR mini-games"
],
"author": "deepar",
"license": "SEE LICENSE IN LICENSE.txt"
}
errors:
Error: node_modules/deepar/js/types/DeepAR.d.ts:1:23 - error TS2688: Cannot find type definition file for 'dom-mediacapture-transform'.
1 /// <reference types="dom-mediacapture-transform" />
~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: node_modules/deepar/js/types/DeepAR.d.ts:141:22 - error TS2304: Cannot find name 'MediaStreamAudioTrack'.
141 audioTrack?: MediaStreamAudioTrack;
~~~~~~~~~~~~~~~~~~~~~
Error: node_modules/deepar/js/types/dynamicModules/mediaPipe/index.d.ts:1:49 - error TS2307: Cannot find module '@mediapipe/tasks-vision' or its corresponding type declarations.
1 export { FilesetResolver, ImageSegmenter } from "@mediapipe/tasks-vision";
~~~~~~~~~~~~~~~~~~~~~~~~~
Error: node_modules/deepar/js/types/dynamicModules/xzimg/index.d.ts:1:60 - error TS2307: Cannot find module '../../../../xzimg/xzimg.esm' or its corresponding type declarations.
1 export { Foot, Segmentation, VideoManager, Geometry } from "../../../../xzimg/xzimg.esm";
thanks, snolan
shawnnolanjr
Metadata
Metadata
Assignees
Labels
No labels