OH! maybe you have done that even better, i see "diff" is installed on the development project, are dependencies auto installed now negating the need to manually add them?
Thanks George, I have always used the extension installer in project settings for all npm installs but no problem manually installing from terminal.
In the past i believe dependencies were installed automatically when installing from npm but when developing new server connect extensions under extensions/server_connect/modules etc I have always had to install the npm dependencies manually into the development environment.
Much slicker now thanks
As I said there is no need for manual dependencies installation. If you list them as dependencies in the package.json of your Wappler extension they will be installed automatically
Actually you seem to have been cleverer than that, maybe without realising
In my case the "diff" npm was installed automatically in the development target before i actually added a package.json file.
I can only assume it was installed by reference to its definition within the HJSON file as that is the only reference to it (outside the .js: const diff = require('diff');) ?
Could this in the HJSON have initiated the install when parsed?
usedModules : {
node: {'diff' : '^8.0.2'}
}
I dont see where else it could have installed from