Running environment: sublime text3 under ubuntu
Problem: Before node was installed directly, plug-ins under sublime that depended on node can run directly. Now I use nvm to manage the node version. The installation path of node has changed and gulp cannot run.
For other plug-ins, just change the node path of the configuration file. I don’t understand the gulp configuration file. It is written in github.
{
“ exec_args ”:{
“ path ”:“ / bin:/ usr / bin:/ usr / local / bin ”
}
}
I don’t understand how to change it either.
ps:
Current node path:~/.nvm/versions/node/v6.10.3/bin/node
gulp path: 1. "Under the node path"/lib/node_modules
2. "Under the project path"/node_modules
I solved it myself. The path parameter is set to the location of the node. I just added the new location