mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-09 22:24:05 -08: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:
parent
e742c8695b
commit
45a82b40b5
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue