You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Related to this previously reported limitation of Zapier CLI stemming from its design of copying project source code to a temporary directory, zapier build produces Error: Cannot find module when attempting to import from a module defined using the tsconfig.jsonpaths property, as illustrated in the following error generated in our Nx workspace:
Zapier CLI would enable DRY code reuse in monorepositories by allowing import of code shared with other projects via tsconfig.jsonpaths (and relative imports from outside of the Zapier project directory, as well as resolution of node_modules libraries from the workspace root so as to not require a local node_modules or symlink to the root node_modules directory).
The text was updated successfully, but these errors were encountered:
Current Behavior
Related to this previously reported limitation of Zapier CLI stemming from its design of copying project source code to a temporary directory,
zapier build
producesError: Cannot find module
when attempting to import from a module defined using thetsconfig.json
paths
property, as illustrated in the following error generated in our Nx workspace:Error from
zapier build
:applications/zapier/tsconfig.json
:workspace
tsconfig.json
:Desired Behavior
Zapier CLI would enable DRY code reuse in monorepositories by allowing import of code shared with other projects via
tsconfig.json
paths
(and relative imports from outside of the Zapier project directory, as well as resolution ofnode_modules
libraries from the workspace root so as to not require a localnode_modules
or symlink to the rootnode_modules
directory).The text was updated successfully, but these errors were encountered: