Since focusing on Node projects Wappler has given me headaches on paths conflicts when I run the system check. It seems to jump around in its set discovery paths. For instance, NODE.JS is installed already on my MacPro which Wappler then discovers.
but I run into path permissions errors
Checking NodeJS installation and version…
zsh:1: command not found: node
NodeJS is missing!
Mac Homebrew is correctly installed.
Installing NodeJS …
Warning: node 17.0.1 is already installed, it’s just not linked.
To link this version, run:
brew link node
Checking Cordova installation and version…
env: node: No such file or directory
Cordova is missing!
Installing Cordova …
env: node: No such file or directory
Cordova installation failed!
*I open a new Wappler terminal to try again and the Wappler terminal base location refers to the current Wappler Project folder name : New_Desktop I will run the brew link node command to see if i can reconcile – to force the link and overwrite all conflicting files **
apo2015@ApomaxxsMBP2015 New_Desktop % brew link node
Linking /usr/local/Cellar/node/17.0.1…
Error: Could not symlink include/node/common.gypi
Target /usr/local/include/node/common.gypi
already exists. You may want to remove it:
rm ‘/usr/local/include/node/common.gypi’
To force the link and overwrite all conflicting files:
brew link --overwrite node
To list all files that would be deleted:
brew link --overwrite --dry-run node
%
apo2015@ApomaxxsMBP2015 New_Desktop % brew link node
Linking /usr/local/Cellar/node/17.0.1…
Error: Could not symlink include/node/common.gypi
Target /usr/local/include/node/common.gypi
already exists. You may want to remove it:
rm ‘/usr/local/include/node/common.gypi’
To force the link and overwrite all conflicting files:
brew link --overwrite node
To list all files that would be deleted:
brew link --overwrite --dry-run node
%
But, due to locked permissions these commands fail.
I have on this same MacPro Intel installed Docker, GitHub, Node, etc to run in a separate server environment than Wappler.
I assume that the “node 17.0.1 is already installed” warning from Wappler reflects this.
I have selected since installing 4.1.1 to install Cordova on each project folder. But it makes no difference in eliminating these errors.
So, my question is how to INSTALL WAPPLER with its own server components while having a separate non-Wappler development environment that uses some other Mobile apps libraries.
I’ve always installed Wappler in the Mac Applications folder as it is now.
Then I have pointed new Wappler project folders to my existing Mamp server so that I can also pull up Wappler apps in my browser even when Wappler is not running.
How do I reconcile Wappler projects using Node & other JS server dependencies while keeping a separate App development environment on the same computer?
I’d like for Wappler not to check my local machine server environment and find conflicts in the JS libraries I’ve installed, say, to work with Visual Studio.
I know developers here have already worked out some nice solutions!
Last updated: