message: fix: loadModuleFromFramework close
diff: @@ -148,13 +148,14 @@ const judgeServerFramework = () => {
  }
  const loadModuleFromFramework = (path: string) => {
  - try {
  const framework = judgeFramework()
  + const paths = resolve(getCwd(), `./node_modules/${framework}`)
  + try {
  return require.resolve(path, {
  - paths: [realpathSync(resolve(getCwd(), `./node_modules/${framework}`))]
  + paths: [accessFileSync(paths) ? realpathSync(paths) : paths]
  })
  } catch (error) {
  - return ''
  + throw new Error(`load module ${path} error from paths ${paths}`)
  }
  }
  