cloudtogo / pageplug

PagePlug 是 Appsmith 的中国化项目。基于Appsmith做了整体性能的优化及汉化,也集合了特色表单解决方案Formily组件、图表解决方案Echarts组件、低代码小程序开发等,是面向研发使用的一个开源的、声明式的前后端一体低代码,项目逻辑主要是在前端的解释器和设计器上
https://lowcode.methodot.com/
Apache License 2.0
1.48k stars 255 forks source link

[Bug]: 本地部署时前端少文件,没有../shared/build-shared-dep.js #107

Open lsiten opened 2 weeks ago

lsiten commented 2 weeks ago

Is there an existing issue for this?

Description

版本

open-v1.9.37

问题

在本地yarn install时候报错

Error: Cannot find module '/code/pageplug-1.9.37/app/shared/build-shared-dep.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
    at Module._load (node:internal/modules/cjs/loader:981:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
    at node:internal/main/run_main_module:28:49 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Node.js v18.20.4

Steps To Reproduce

yarn install

Public Sample App

No response

Environment

Production

Issue video log

No response

Version

open-v1.9.37

AppsmithCN commented 4 days ago

估计你系统要改下脚本命令,可以自己试下将set CURRENT_SCOPE=client&&node ../shared/build-shared-dep.js改成CURRENT_SCOPE=client node ../shared/build-shared-dep.js