Skip to content

sasjs compile does not search node_modules/@sasjs/core folders #1449

Description

@allanbowe

The order of directory checking is listed here: https://cli.sasjs.io/artefacts/#sas-macros

currently after adding a new macro to core, running npm i @sasjs/core in the project repo does NOT make it available to sasjs c (even though it appears in node_modules/@sasjs/core)

Only after adding the core macro the CLI build (ie, releasing a new version of the CLI and upgrading locally) can I access the new core macro

(the workaround would be to add it to the project macro directory, which does work, but ultimately results in 2 copies of the macro)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions