snobu / destreamer

Save Microsoft Stream videos for offline enjoyment.
MIT License
2.36k stars 440 forks source link

Error with "npm run build" #258

Closed Alex87a closed 3 years ago

Alex87a commented 3 years ago

Hi, I was trying to install the aria2 branch on my pc with Windos 7 operating system, however after performing the procedure, I arrive at the command npm run build and this message appears. What to do to solve?

Transpiling TypeScript to JavaScript... destreamer/test/test.ts(6,25): error TS2307: Cannot find module './Types' or its corresponding type declarations. npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! destreamer@2.1.0 build: echo Transpiling TypeScript to JavaScript... && node node_modules/typescript/bin/tsc && echo Destreamer was built successfully. npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the destreamer@2.1.0 build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Alex\AppData\Roaming\npm-cache_logs\2020-10-14T12_55_15_871Z-debug.log

Alex87a commented 3 years ago

Guys I solved, I close.