sasjs / server

Build Apps on Base SAS
https://server.sasjs.io
MIT License
20 stars 3 forks source link

webout macro not found #319

Closed argenx-pmason closed 1 year ago

argenx-pmason commented 1 year ago

When I run code from vs code and I have webout macros, then it doesnt find the macro. I put the macro into a location but then it found an old version of ms_webout which was missing the max parameter. So there's some things wrong in there that need fixing please.

allanbowe commented 1 year ago

Hi @argenx-pmason - we looked into this and our expectation is that the old version of ms_webout() is in relation to a previous install.

https://github.com/sasjs/server/issues/318

A few versions ago (when we enabled a shared DRIVE_LOCATION across multiple SASjs server instances) we moved the sasautos to $(DRIVE_LOCATION)/sas/sasautos. By default, DRIVE_LOCATION is $(SASJS_ROOT)/drive.

To fix this up I suggest simply removing the old sasjs_root/sasautos folder.

The issue above will also mean that the SASjs Server version of webout() will be auto-added to sasautos on first install.

allanbowe commented 1 year ago

Links: https://github.com/sasjs/server/pull/321