OpenUI5 webapp需要什么(向package.json添加什么)才能作为Node.js服务器应用程序运行应用程序?

OpenUI5 webapp需要什么(向package.json添加什么)才能作为Node.js服务器应用程序运行应用程序?,node.js,npm,sapui5,npm-start,Node.js,Npm,Sapui5,Npm Start,我正在尝试将SAPUI5/OpenUI5 SPA应用程序开发为Node.js应用程序,其中有我的package.json文件: { "name": "societyaleph", "version": "1.0.0", "description": "Society Aleph", "main": "index.js", "scripts": { "start": "react-scripts start", "build": "react-scripts b

我正在尝试将SAPUI5/OpenUI5 SPA应用程序开发为Node.js应用程序,其中有我的package.json文件:

{
  "name": "societyaleph",
  "version": "1.0.0",
  "description": "Society Aleph",
  "main": "index.js",
  "scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject"
  },
  "author": "TomR",
  "license": "ISC",
  "dependencies": {
    "@openui5/sap.f": "^1.75.0",
    "@openui5/sap.m": "^1.75.0",
    "@openui5/sap.tnt": "^1.75.0",
    "@openui5/sap.ui.codeeditor": "^1.75.0",
    "@openui5/sap.ui.commons": "^1.75.0",
    "@openui5/sap.ui.core": "^1.75.0",
    "@openui5/sap.ui.demokit": "^1.72.1",
    "@openui5/sap.ui.documentation": "^1.75.0",
    "@openui5/sap.ui.dt": "^1.75.0",
    "@openui5/sap.ui.fl": "^1.75.0",
    "@openui5/sap.ui.integration": "^1.75.0",
    "@openui5/sap.ui.layout": "^1.75.0",
    "@openui5/sap.ui.rta": "^1.75.0",
    "@openui5/sap.ui.suite": "^1.75.0",
    "@openui5/sap.ui.support": "^1.75.0",
    "@openui5/sap.ui.table": "^1.75.0",
    "@openui5/sap.ui.testrecorder": "^1.75.0",
    "@openui5/sap.ui.unified": "^1.75.0",
    "@openui5/sap.ui.ux3": "^1.75.0",
    "@openui5/sap.uxap": "^1.75.0",
    "@openui5/themelib_sap_belize": "^1.75.0",
    "@openui5/themelib_sap_bluecrystal": "^1.75.0",
    "@openui5/themelib_sap_fiori_3": "^1.75.0",
    "@openui5/ts-types": "^1.60.5"
  },
  "browserslist": [
    ">0.2%",
    "not dead",
    "not ie <= 11",
    "not op_mini all"
  ]
}
但我预计Node.js服务器将启动,应用程序将加载并在某些端口上可用。为什么没有发生这种情况?我应该在package.json文件中添加一些内容吗?但是我的React应用程序有几乎相似的、非常简单的package.json文件(当然有不同的库)

npm启动
给出:

'react-scripts' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! societyaleph@1.0.0 start: `react-scripts start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the societyaleph@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
那么-也许我应该添加React依赖项?将简单的SPA HTML+JavaScript代码转换为Node.js应用程序是否如此困难?

使用启动基于express的开发服务器或捆绑应用程序以供生产使用

'react-scripts' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! societyaleph@1.0.0 start: `react-scripts start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the societyaleph@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: