简体   繁体   English

可以在Heroku上通过与Microsoft SQL Server的远程连接运行Express / React / Node应用程序吗?

[英]Possible to run Express/React/Node application on Heroku w/ remote connection to Microsoft SQL Server?

I'm running it fine locally in Node.js using Sequelize/Tedious. 我使用Sequelize / Tedious在Node.js中本地运行良好。 This is a test application so database security not required. 这是一个测试应用程序,因此不需要数据库安全性。 If not supported on Heroku, any other services that do? 如果Heroku不支持,还有其他服务吗? Thanks. 谢谢。

I got it working!! 我知道了!! I suspected something was up with my Create-React-App/Express.js boilerplate so I re-created from scratch and then brought over all of my React components. 我怀疑我的Create-React-App / Express.js样板有问题,所以我从头开始重新创建,然后带走了我所有的React组件。 This time I also made sure I had the latest version of Create-React-App too - I was running a much older version. 这次,我还要确保我也拥有最新版本的Create-React-App-我正在运行一个较旧的版本。 Seems like the older version wasn't playing well with the newer node packages (express, sequelize, tedious, etc.). 似乎旧版本无法与较新的节点包(表达,续集,乏味等)配合使用。 All is well now. 现在一切都好。

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

相关问题 是否可以将“next/react + node/express”web 应用程序部署到一个服务器帐户中,例如 heroku? - Is it possible to deploy “next/react + node/express” web application into one server account, like heroku? 具有SQL Server(Microsoft)与数据库的连接的节点 - Node with SQL Server (Microsoft) connection to database Node Express 多 SQL 服务器连接 - Node Express Multiple SQL server Connection 在节点快递服务器上反应应用程序-如何路由 - React application on node express server - how to route 无法在Heroku上使用节点运行Express - Cannot run express with node on Heroku 从 Node.js 连接到远程 Microsoft SQL 服务器 - Connecting to a remote Microsoft SQL server from Node.js 数据库连接失败SQL Server 2012 Express + node.js - Database connection failed SQL Server 2012 Express + node.js 是否可以仅使用git跟踪的文件在Express中运行节点服务器? - Is it possible to run node server in Express with only git-tracked files? Node / Express应用程序—如何基于本地主机与远程服务器更改连接字符串(节点后置) - Node/Express app— how to change connection string (node-postgress) based on localhost vs. remote server 带Express Server和pm2的可能的node.js内存过度使用 - possible node.js memory overuse w/ express server and pm2
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM