mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix: use .bin for tsc
Use "tsc" executable in .bit folder from node_modules, this will help in monorepos using lerna hoist (or yarn workspaces) because node_modules dependencies are not installed in all packages
This commit is contained in:
@@ -64,7 +64,7 @@ export async function buildFiles (options?: IBuildOptions): Promise<string> {
|
||||
options = options || {};
|
||||
|
||||
// Get the path of the TypeScript cli of this project
|
||||
const tscPath = join(__dirname, '../../node_modules/typescript/bin/tsc');
|
||||
const tscPath = join(__dirname, '../../node_modules/.bin/tsc');
|
||||
|
||||
const tsconfigData = await createCustomTsconfig();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user