[Bug Report]: Run nestjs error with using farmup
ErKeLost opened this issue · 0 comments
ErKeLost commented
repo: https://github.com/ErKeLost/test-nest
- Do not know if many dependencies caused by optional dependencies are not installed and need to be installed manually
like this
- Decorator compilation failed
config
import { defineConfig } from '@farmfe/core';
export default defineConfig({
compilation: {
input: {
index: './src/main.ts',
},
script: {
plugins: [],
target: 'esnext',
parser: {
tsConfig: {
decorators: true,
dts: false,
noEarlyErrors: false,
tsx: false,
},
},
decorators: {
legacyDecorator: true,
decoratorMetadata: false,
decoratorVersion: '2021-12',
includes: ['src/main.ts'],
excludes: [],
},
},
minify: false,
persistentCache: false,
output: {
format: 'esm',
targetEnv: 'node',
entryFilename: '[entryName].mjs',
filename: '[name].[hash].mjs',
},
external: [
'^@nestjs/microservices$',
'^@nestjs/websockets$',
'^cache-manager$',
'^class-transformer$',
'^class-validator$',
],
},
});
Failed to run pnpm dev
- The process was not caused to run by kill.