Polyspace As You Code in VS Code

조회 수: 5 (최근 30일)
OSEUNG
OSEUNG 2023년 6월 8일
댓글: Kilsu Kim 2023년 6월 27일
Hello!
I'm trying to build PaYC env. on VS-Code
there is no problem on Eclipse, but in VS-Code I am facing an error as below.
belows are error on Extension Host console in VS-Code.
--- --- --- Output --- --- ----
[error] Activating extension MathWorks.polyspace failed due to an error:
[error] Error: External buffers are not allowed
at process.func [as dlopen] (node:electron/js2c/asar_bundle:2:1822)
at Module._extensions..node (node:internal/modules/cjs/loader:1273:18)
at Object.func [as .node] (node:electron/js2c/asar_bundle:2:1822)
at Module.load (node:internal/modules/cjs/loader:1058:32)
at Module._load (node:internal/modules/cjs/loader:893:12)
at f._load (node:electron/js2c/asar_bundle:2:13330)
at b._load (c:\Users\oseung.kwon\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:126:29948)
at h._load (c:\Users\oseung.kwon\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:126:26698)
at I._load (c:\Users\oseung.kwon\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:90:24489)
at Module.require (node:internal/modules/cjs/loader:1082:19)
at g (c:\Users\oseung.kwon\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:4:647)
at load (c:\Users\oseung.kwon\.vscode\extensions\mathworks.polyspace-4.2.1\node_modules\node-gyp-build\index.js:21:10)
at Object.<anonymous> (c:\Users\oseung.kwon\.vscode\extensions\mathworks.polyspace-4.2.1\node_modules\ref-napi\lib\ref.js:8:53)
at u._compile (c:\Users\oseung.kwon\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:4:1271)
at Module._extensions..js (node:internal/modules/cjs/loader:1243:10)

채택된 답변

Kilsu Kim
Kilsu Kim 2023년 6월 9일
Hi OSEUNG,
This is a known issue for Visual Studio Code version 1.78. This issue will be fixed in a future release and update.
As a workaround, could you use the older version of Visual Studio Code for now in order to use the extension? It is known on our end that the extension works properly in Visual Studio Code version 1.77.3.
If you need further help, please contact MathWorks Technical Support.
Thanks,
Kilsu
  댓글 수: 3
Jan-Peter Wüstenberg
Jan-Peter Wüstenberg 2023년 6월 26일
Are there any news on this topic? Is it tracked somewhere?
Kilsu Kim
Kilsu Kim 2023년 6월 27일
A bug report for this issue has been posted below. Hit the 'Follow' button to be notified when the bug is fixed.
Polyspace extension not starting in Visual Studio Code version 1.78 and later (3004593)
Hope this help!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

제품


릴리스

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!