简体   繁体   English

我正在我的反应应用程序上执行 npm 构建,但没有使用最后的更改创建,我该如何解决这个问题? 使用最新更新进行构建

[英]I am executing npm build on my react app, but is not creating with the last changes, how can I fix this? to build with last updates

Hi i am executing the building of my react app, when the compile version is made retrieve me the normal files of building.嗨,我正在执行我的 react 应用程序的构建,当编译版本生成时,我检索了构建的正常文件。 When I execute my app on my localserver its run good with all last features, but when I run it on server I got a last version that is not bring the last changes.当我在本地服务器上执行我的应用程序时,它的所有最新功能都运行良好,但是当我在服务器上运行它时,我得到了一个没有带来最后更改的最新版本。

Delete the local build folder and rebuild again with npm build .删除本地 build 文件夹并使用npm build再次重建。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何将 React 应用程序的生产 npm 构建部署到 Azure 应用服务 - How can I deploy production npm build of react app to Azure App Service 如何将JS库合并到我的NPM构建脚本中? - How can I incorporate JS libraries into my NPM build script? 为什么我收到错误:运行 npm ci & run npm 构建失败时,将更改推送到部署在 Firebase 上的 React 应用程序? - Why do I get error: run npm ci & run npm build failed when pushing changes to React app that is deployed on Firebase? 我该如何修复Windows 10中的npm build错误? - How do i fix npm build error in windows 10? 如何修复 npm 运行构建不起作用....Tailwindcss? - How do I fix npm run build not working....Tailwindcss? 如何确定我的React Native应用程序是否是JavaScript代码的调试或发布版本? - How can I determine if my React Native app is a debug or release build from JavaScript code? 如何使用 Webpack 构建 React 应用程序并导入资产文件夹? - How can I build a React app with Webpack and import an assets folder? 为什么我的 React 中的模块构建失败? - Why am I getting a Module Build Failed in my React? 如何修复我的 React 应用程序中尝试导入的错误? - How can I fix attempted import error in my React App? 在 npm 运行构建命令后,我没有在反应网站中获得主页组件我只获得导航栏和页脚 - I am not getting home component in react website after npm run build command I am only getting Navbar and Footer
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM