如何在Express Server上启动React Storefront(moovweb) [英] How to start react storefront (moovweb) on express server

查看:104
本文介绍了如何在Express Server上启动React Storefront(moovweb)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在官方文档服务器上,以
开头 npm运行开始:表达

纱线开始:表达
这是文档链接
https://pwa.moovweb.com/guides/express

On official Documentation server start with
npm run start:express
Or
yarn start:express
This is documentation link
https://pwa.moovweb.com/guides/express

错误日志

exports = module.exports = createDebug.debug = createDebug['default'] = createDebug;
^

TypeError: Cannot assign to read only property 'exports' of object '#'

在build/server/main.js:51875

请帮助我解决这个问题

please help me to solve this problem

推荐答案

入门应用程序存在一个问题,即create-react-storefront是在不久前构建的.此问题已得到解决.现在,当您创建新应用时,Express应该可以正常工作.

There was an issue with the starter app that create-react-storefront was building a while ago. This has been fixed. Express should work fine now when you create a new app.

这篇关于如何在Express Server上启动React Storefront(moovweb)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆