TranquilMarmot / YarnLoom

Visual Studio Code extension for editing YarnSpinner files
MIT License
18 stars 2 forks source link

[exthost] [error] Error: Cannot find module 'loom-common/YarnNode' when opening yarn file #5

Closed codeimpossible closed 4 years ago

codeimpossible commented 4 years ago

Describe the bug When opening a *.yarn file the editor shows an animated progress bar on the file tab, but nothing renders to the view.

Expected behavior The yarn file should load and the nodes should be visible.

Actual behavior Nothing loads, instead there is an error in the extension log in vscode:

[2020-07-27 23:42:47.218] [exthost] [info] ExtensionService#_doActivateExtension TranquilMarmot.yarn-spinner-loom {"startup":false,"extensionId":{"value":"TranquilMarmot.yarn-spinner-loom","_lower":"tranquilmarmot.yarn-spinner-loom"},"activationEvent":"onCustomEditor:yarnLoom.editor"}
[2020-07-27 23:42:47.218] [exthost] [info] ExtensionService#loadCommonJSModule file:///Users/jaredbarboza/.vscode/extensions/tranquilmarmot.yarn-spinner-loom-1.0.0/out/extension.js
[2020-07-27 23:42:47.254] [exthost] [error] Activating extension TranquilMarmot.yarn-spinner-loom failed due to an error:
[2020-07-27 23:42:47.256] [exthost] [error] Error: Cannot find module 'loom-common/YarnNode'
Require stack:
- /Users/jaredbarboza/.vscode/extensions/tranquilmarmot.yarn-spinner-loom-1.0.0/out/LoomEditorProvider.js
- /Users/jaredbarboza/.vscode/extensions/tranquilmarmot.yarn-spinner-loom-1.0.0/out/extension.js
- /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js
- /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-amd.js
- /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-fork.js

Environment

TranquilMarmot commented 4 years ago

Thank you for catching this! There were problems with the version of the extension that was published; I just published an update that should work properly.