mrcrowl / vscode-easy-less

Easy LESS extension for Visual Studio Code
MIT License
67 stars 23 forks source link

FIX wrong type "data" argument #84

Closed mkdgs closed 3 years ago

mkdgs commented 3 years ago

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)

mrcrowl commented 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

Patch Links:

— 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 .