Skip to content
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

Error during installation: "node.js" on Mac OS with nvm #65

Open
iamskok opened this issue Sep 27, 2018 · 7 comments
Open

Error during installation: "node.js" on Mac OS with nvm #65

iamskok opened this issue Sep 27, 2018 · 7 comments

Comments

@iamskok
Copy link

iamskok commented Sep 27, 2018

Hi there 👋

I really enjoyed using your plugin, but I started getting errors after I switched to nvm:

Error during installation: "node.js" seems not installed on your system. Node.js (6 or upper) and npm are required to be able to use JavaScript Enhancements plugin.

In order to fix it I added new PATH in my .../User/JavaScript Enhancement.sublime-settings file, but it didn't help.

{
	"PATH": ":/Users/skok/.nvm/versions/node/v10.9.0/bin/node"
}

JavaScript Enhancement v0.16.20
Sublime Text v3.1.1

@iamskok iamskok changed the title Error during installation: "node.js" on Mac OS withnvm Error during installation: "node.js" on Mac OS with NVM Sep 27, 2018
@iamskok iamskok changed the title Error during installation: "node.js" on Mac OS with NVM Error during installation: "node.js" on Mac OS with nvm Sep 27, 2018
@nate-vukovich
Copy link

Have you tried setting the version?

nvm use 10.9.0 ?

And setting a default alias will help you in the long run: nvm alias default 10.9.0 - to se the alias default to use this version - nvm use default ...

And make sure after you install the version you open a new terminal window - just to make sure that the path was loaded ...

Let me know if it works out.

@iamskok
Copy link
Author

iamskok commented Sep 29, 2018

@nvwebd yes, I have already set a default alias of v10.9.0, but still get the same error.
Here is the output from nvm ls:

->      v10.9.0
default -> 10.9.0 (-> v10.9.0)
node -> stable (-> v10.9.0) (default)
stable -> 10.9 (-> v10.9.0) (default)
iojs -> N/A (default)
lts/* -> lts/carbon (-> N/A)
lts/argon -> v4.9.1 (-> N/A)
lts/boron -> v6.14.4 (-> N/A)
lts/carbon -> v8.11.4 (-> N/A)

@iamskok
Copy link
Author

iamskok commented Oct 2, 2018

@nvmebd any other ideas?

@smdabdoub
Copy link

smdabdoub commented Oct 30, 2018

@iamskok Your PATH setting has 'node' included at the end. Remove that and it should be fine:

{
"PATH": ":/Users/skok/.nvm/versions/node/v10.9.0/bin"
}

@iamskok
Copy link
Author

iamskok commented Oct 30, 2018

@iamskok Your PATH setting has 'node' included at the end. Remove that and it should be fine:

{
"PATH": ":/Users/skok/.nvm/versions/node/v10.9.0/bin"
}

Thanks a lot! That was the issue.

@kapilkaushal24
Copy link

type node -v and got this error

dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
Referenced from: /Users/mac/.nvm/versions/node/v18.12.1/bin/node (which was built for Mac OS X 10.15)
Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: ____chkstk_darwin
Referenced from: /Users/mac/.nvm/versions/node/v18.12.1/bin/node (which was built for Mac OS X 10.15)
Expected in: /usr/lib/libSystem.B.dylib

@kapilkaushal24
Copy link

all the giving solution i tried but o one will work please help
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants