-
Notifications
You must be signed in to change notification settings - Fork 84
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
Failed to refmt [doesn't work with a lerna monorepo] #217
Comments
oh interesting, I don't think I've tested with lerna monorepos before. I think yarn monorepos should work though. Would you be interested in helping add support for lerna? |
@jaredly Absolutely. Although, I have no idea of how the language-server is working but I can help anyway I can. |
@razagill could you make a pull-request that adds a simple lerna monorepo project to the |
I see a similar message in my project but I'm not working with lerna (so let me know if to open a new issue). I just have a If I remove the What's strange is that everything still seems to work. The code gets formatted properly on save and the project builds. Side note: I had to spread my vscode across two screens to read that error :-) |
Just got the same problem. It's not related to monorepo directly imo. As soon as I remove any / from the package name (in my case: Eg:
FYI, currently ocaml?bucklescript? (I mean without this reason-language-server - by hand) handle those namespace as Just camel case (eg: |
To be clear what is triggering the issue is the conjunction of using npm scope in the name + bucklescript |
workaround
|
In addition to refmt not working, if you have a package this way, linked (via npm or yarn) and used in another project, |
Mine is a regular repo, and I'm getting this error often. I just created |
Hi, I'm having a problem regarding the language server. I have a lerna monorepo setup where the
bsconfig.json
is inside a sub project and the dependencies are hoisted at the parent level.This is the error from
node_modules/.lsp/debug.log
version: 1.4.1
os: osx mojave 10.14.2
node: 11.0.0
bs-platform: 4.0.14
The text was updated successfully, but these errors were encountered: