Closed mkdgs closed 3 years ago
Thanks. Included in v1.7.3
On Thu, 27 May 2021 at 00:50, Mickael Desgranges @.***> wrote:
FIX: The file is compiling and stuck in state "compiling less" (the file is generated, but no information about error or the end of process) (this fix is maybe not the cleaner manner to avoid that)
Showing this message in log: [renderer1] [error] The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received an instance of SourceMapGenerator: TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received an instance of SourceMapGenerator at Object.writeFile (fs.js:1436:5) at / /.vscode/extensions/mrcrowl.easy-less-1.7.2/out/LessCompiler.js:166:16 at / /.vscode/extensions/mrcrowl.easy-less-1.7.2/node_modules/mkpath/mkpath.js:36:13 at FSReqCallback.oncomplete (fs.js:184:5)
You can view, comment on, or merge this pull request online at:
https://github.com/mrcrowl/vscode-easy-less/pull/84 Commit Summary
- FIX wrong type "data" argument
File Changes
- M src/LessCompiler.ts https://github.com/mrcrowl/vscode-easy-less/pull/84/files#diff-483a9b2d9f339c54ec71a949a6f5f0709cd463f2193445916c68c0610be9fa77 (2)
Patch Links:
- https://github.com/mrcrowl/vscode-easy-less/pull/84.patch
- https://github.com/mrcrowl/vscode-easy-less/pull/84.diff
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mrcrowl/vscode-easy-less/pull/84, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANWRIDGWR7B4RKRX3HHAK3TPTVC3ANCNFSM45R67FVQ .
FIX: The file is compiling and stuck in state "compiling less" (the file is generated, but no information about error or the end of process) (this fix is maybe not the cleaner manner to avoid that)
Showing this message in log: [renderer1] [error] The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received an instance of SourceMapGenerator: TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received an instance of SourceMapGenerator at Object.writeFile (fs.js:1436:5) at //.vscode/extensions/mrcrowl.easy-less-1.7.2/out/LessCompiler.js:166:16 at //.vscode/extensions/mrcrowl.easy-less-1.7.2/node_modules/mkpath/mkpath.js:36:13 at FSReqCallback.oncomplete (fs.js:184:5)