-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Asciidoctor extensions don't work on Windows (cannot find module) #629
Comments
I have the same problem :( |
@qwertysk could you please provide your system information? Are you also using Windows? I don't think it's related to It might be related to the file path. |
@edxu96 does your path contains spaces or any specials characters? |
I can reproduce it and the fix is quite trivial 😄 |
Asciidoctor.js
extension cannot find module
Sorry I am late. I am also using Windows and my path does not contains spaces nor special characters. Regards. |
@Mogztter No. Sorry, I'm late. BTW, to build from source doesn't work in Windows. Furthermore, in order to see if you have resolved, I tried to build in WSL. I can install the resulted |
@edxu96 Could you please join the community chat to share what exactly did not work when you tried to build from source in Windows? https://chat.asciidoctor.org/
Indeed, I can reproduce this issue! The dependency
As mentioned by @qwertysk since the fix is a one-liner you can modify the installed extension directly. Having said that we should definitely fix the build. |
Same issue here with MS Code 1.84 under Linux and "AsciiDoc 3.1.7" extension. Long ago this worked. |
@roseswe please open a new issue with a reproduction case |
Thanks for the effort. I'm trying to use an
Asciidoctor.js
extension (likeasciidoctor-emoji
), but it says the module cannot be found.Description
The version of
asciidoctor-vscode
is 3.0.1.It might be because I use
nvm
for the workspace.System Information
To Reproduce
Steps to reproduce the issue:
My settings are:
The error message is:
The text was updated successfully, but these errors were encountered: