我正在尝试为 SharePointSPFX 解决方案运行 gulpserve。令人惊讶的是出现了这个错误
Starting subtask 'tsc'... [23:28:59] Error - [tsc] Error: Cannot find module '@microsoft/rush-stack-compiler-3.2'
所以我运行 npm outdated 来检查是否有任何软件包已过时。所以我得到了结果:
如何将 @microsoft/rush-stack-compiler-3.7 更新到 0.2.17?
最佳答案
就我而言,这是因为我升级了项目并错过了升级tsconfig.json
中的版本的步骤
更多详细信息请点击这里 https://bresleveloper.blogspot.com/2021/07/sfpx-node-saas-error.html
关于sharepoint - 错误 - [tsc] 错误 : Cannot find module '@microsoft/rush-stack-compiler-3.2' - while running gulp serve command in SharePoint framework webs solution,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68183952/