-
Notifications
You must be signed in to change notification settings - Fork 18
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
Unable to npm i
with recent apidom top-level change
#625
Comments
@frantuma When you did the last update for submodule, did you also need to commit changes to
Running the latter results in git change, so wanted to confirm. The first one, has been my working "branch", e.g. prior to the apidom top-level change today. |
Looks like a local problem of some sort specific to your OS. You're using the correct Node.js version, node-gyp and npm. My version of Python is 3.8.10, I see that yours is 3.8.2 (but I doubt it makes any difference). The problem must be somewhere else. I've just cloned this repo and have not problem installing it locally. CI is passing as well on latest Ubuntu versions. These are the things I can suggest: Clear the npm cacherun the Reinstall Node.js 16.8Purge it completely and reinstall it. Install tree-sitter in tmp dirTry to install just $ cd /tmp
$ npm i tree-sitter@0.19.0 Does this work? |
@char0n @frantuma Here's the latest update... the 3 suggestions do not work for my local system. I found these: ...which leads to the following: and a related merged PR: but an unmerged PR that looks to do the same as merged PR here: and a cited ref, though the last comment doesn't work for me either (with npm) , For additional notes...
|
As we suspected, MacOS related issue. We cannot rely on tree-sitter release cadence here to fix it. If it works for you on Node@14, just use Node@14. In order to successfully use earlier versions of Node.js like, Node@14 you have to do the following step after installing it: $ npm install -g npm
$ npm --version Make sure than |
@tim-lai good, glad it's resolved for you for now
Not sure if it's needed, we want to stay on minimal Node.js version of 16.8. If you mean adding note for MacOS local dev env sure, make sense untill tree-sitter flag problem is fixed. |
ref #609
I'm having problems again with
tree-sitter
(again). Inside/apidom
submodule,npm i
fails.git submodule update --recursive --remote
node_modules
in bothswagger-ide
andswagger-ide/apidom
directories.npm i
from project rootAny other suggestions?
The text was updated successfully, but these errors were encountered: