Node Interpreter Path is incorrect.

已回答

This is potentially a massive rookie question...

Setting up PHPStorm
PhpStorm 2017.1.1
Build #PS-171.4163.3, built on April 5, 2017
JRE: 1.8.0_112-release-736-b16 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.12.3

and I have Node intstalled - latest version etc etc, its working no problems at all. But when I go to set the interpreter path I see this:

https://www.dropbox.com/s/spqyxp8dggj4w7s/Screenshot%202017-04-05%2021.42.00.png?dl=0

I then can't access the:

/usr/local/bin/node

directory using the selection box given by PhpStorm to set it. I've found this - http://stackoverflow.com/questions/135688/setting-environment-variables-in-os-x - but I'm not mad keen to bowl into all that without knowing the issue directly.

If anyone could help I'd be eternally gratefully and feel free to make me look foolish for missing something obvious.

Many, many thanks
M

0
Avatar
Permanently deleted user

Should anyone ever find this I finally remembered the 'ole:

⌘ + SHIFT G and then type the path to the hidden folder whilst you are in the Node interpreter 'Add Local' file browser - so in my case '/usr/local/bin/' and then select 'node'

This after going round the houses with environmental variable bobbins... So, yeah - if your set up doesn't find it that whats you need to do.

Theres two hours I'm never getting back... Onwards/upwards/etc!

Also, for all those rolling their eyes and going 'duh', yeah I know...I know... :)

 

1

请先登录再写评论。