VinnyDyn / EasyHistory

GNU General Public License v3.0
7 stars 1 forks source link

Compilation issues #4

Open praveen-mcsd opened 4 years ago

praveen-mcsd commented 4 years ago

ERROR in C:\devtools\EasyHistory\EasyHistory-master\EasyHistory\index.ts ./EasyHistory/index.ts [tsl] ERROR in C:\devtools\EasyHistory\EasyHistory-master\EasyHistory\index.ts(134,29) TS2352: Conversion of type 'string' to type 'ReadableStream' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. [14:21:53] [build] Failed: [pcf-1033] [Error] An error occurred compiling or bundling the control.

praveen-mcsd commented 4 years ago

image

VinnyDyn commented 4 years ago

Hi @praveen-mcsd !

Sorry, people told me about this problem in another control (StatusReason Kaban). I forgot to update README.MD in Easy History.

Try this ↓

\node_modules\@types\xrm\index.d.ts\Xrm.ExecuteResponse

Change the attribute body from 'string' to 'ReadableStream':

 interface ExecuteResponse {
        /**
         * (Optional). Object.Response body.
         */
        body: ReadableStream;
sharath1115 commented 3 years ago

Xrm error Xrm error1 While running in browser , we are facing issue and screenshot of the errors are attached