message: fix: postinstall
diff: import { resolve } from 'path'
  import { coerce } from 'semver'
  -import { accessFileSync, getCwd, judgeServerFramework } from './cwd'
  +import { accessFileSync, judgeServerFramework } from './cwd'
  import { mv } from 'shelljs'
  -const cwd = getCwd()
  export function checkForkTs () {
  try {
  const framework = judgeServerFramework()
  if (framework === 'ssr-plugin-midway') return
  - const fork = resolve(cwd, '../../node_modules/fork-ts-checker-webpack-plugin')
  - const nestCli = resolve(cwd, '../../node_modules/@nestjs/cli/node_modules')
  + const fork = resolve(__dirname, '../../fork-ts-checker-webpack-plugin')
  + const nestCli = resolve(__dirname, '../../@nestjs/cli/node_modules')
  const forkVersion = require(resolve(fork, './package.json')).version
  if (
  // @ts-expect-error
  