siteserver / cms

SS CMS 基于 .NET Core,能够以最低的成本、最少的人力投入在最短的时间内架设一个功能齐全、性能优异、规模庞大并易于维护的网站平台。
https://sscms.com
GNU Affero General Public License v3.0
3.65k stars 1.2k forks source link

npm run copy-win-x64 时提示找不到文件夹 #2730

Open pccai opened 3 years ago

pccai commented 3 years ago

[17:06:31] 'copy-sscms-win' errored after 4.01 ms [17:06:31] Error: ENOENT: no such file or directory, stat './publish/sscms--win-x64/SSCMS.Cli.exe'

多了个中横线,在哪里可以修改呢? './publish/sscms-win-x64/SSCMS.Cli.exe'

starlying commented 3 years ago

可以把gulp.js里面的PRODUCTVERSION改成固定值

pccai commented 3 years ago

多谢。

nihke commented 3 years ago

我也遇到这个问题,version也有值(const version = process.env.PRODUCTVERSION || '7.0.0';),还是报找不到文件(Error: ENOENT: no such file or directory, stat './publish/sscms-7.0.0-win-x64/SSCMS.Cli.exe'),请问怎么解决呢?