腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
2
回答
如何使用GraphQLError自定义消息传递?
graphql
、
express-graphql
我想用
GraphQL
错误来处理
的
用例很少: const { GraphQLError } = require('
graphql
'); module.exportsresult[error.key] = [error.me
浏览 3
提问于2018-08-07
得票数 7
回答已采纳
2
回答
Express
中
节点
js
的
graphql
出错
node.js
、
express
、
graphql
、
express-graphql
我正在尝试在
express
中
运行
graphql
服务器。但是它抛出了以下错误。var graphqlHTTP = require('
express
-
graphql
'); //
express
graphql
var schema=buildSchema
浏览 21
提问于2017-12-17
得票数 1
回答已采纳
9
回答
createReadStream()抛出RangeError:上传文件时超过最大调用堆栈大小
node.js
、
graphql
、
apollo-server
、
express-graphql
我试图使用阿波罗服务器
的
Upload标量直接向S3发送文件。我
的
模式:`const { combineResolvers } = require('
graphql
-resolvers') a
浏览 15
提问于2020-01-07
得票数 21
回答已采纳
3
回答
如何正确地将我
的
index.
js
拆分成server.
js
和app.
js
?
node.js
、
express
、
es6-modules
我有当前运行良好
的
index.
js
文件.但是为了在我
的
测试策略中使用,我想把它分成两个文件:server.
js
和app.
js
import
express
from '
express
'; import
express
_
graphql
from '<em
浏览 0
提问于2018-12-22
得票数 0
回答已采纳
9
回答
无法安装
express
-
graphql
node.js
、
npm
、
graphql
、
express-graphql
我正在尝试安装
express
-
graphql
,但是获得了这个error.Please帮助npm ERR!Found:
graphql
@16.2.0npm ERR!
graphql
@"^16.2.0" from the root project npm ERR! Could not res
浏览 44
提问于2022-01-04
得票数 6
1
回答
如何使用
节点
js
在
GraphQL
中
获取响应状态?
javascript
、
node.js
、
sql-server
、
typescript
、
graphql
在我
的
节点
js
代码
中
var { buildSchema } = require('
graphql
')return result.recordset[0]根解析器 getCandidateKey: GetCandidateKey,创建快速服务器和<e
浏览 0
提问于2020-06-13
得票数 0
回答已采纳
2
回答
当
GraphQL
也被使用时,Nodejs和
Express
在MERN栈web应用程序
中
的
作用是什么?
node.js
、
api
、
express
、
graphql
、
backend
我知道这是一个非常初级
的
问题,但当涉及到MERN堆栈和
GraphQL
时,我正在努力掌握一些东西。在这个中,web应用程序是使用MongoDB、
Express
、React和Nodejs以及
GraphQL
开发
的
。我确实理解MongoDB用于数据存储,而React用于前端,但我不能理解,如果使用直接向MongoDB数据库发布数据和从
GraphQL
数据库获取数据
的
API,为什么要使用MongoDB和Nodejs?nodejs、
express
和
graph
浏览 2
提问于2019-12-04
得票数 1
1
回答
graphql
无法解析字段
javascript
、
node.js
、
graphql
、
express-graphql
当我在
节点
服务器
中
执行以下代码时。我看到了
graphql
-
JS
无法解析字段"product.productTax."
的
错误。使用
graphql
、visual studio代码,我试图准确地模仿
中
的
以下代码var
express
= require('
express
'); var graphql
浏览 0
提问于2017-11-13
得票数 0
回答已采纳
1
回答
阿波罗
GraphQL
: MQTT订阅代理只提供已发布
的
数据
node.js
、
graphql
、
mqtt
、
apollo-server
、
graphql-subscriptions
场景目前,我正在使用apollo-server-
express
构建
GraphQL
服务器。": "^2.8.1", "
graphql
": "^14.4.2",
浏览 0
提问于2019-08-08
得票数 0
回答已采纳
3
回答
GraphQL
:模式不可用
javascript
、
typescript
、
schema
、
graphql
我是
GraphQL
的
新手,我需要你
的
专业知识!我
的
问题是,Schema在石墨库
中
是不可缺少
的
。我
的
项目目录树是:我
的
文件代码是:import
express
from "
express
";import config> { console.log(confi
浏览 1
提问于2018-06-08
得票数 2
回答已采纳
7
回答
阿波罗-客户在node.
js
上工作吗?
javascript
、
node.js
、
graphql
、
apollostack
我需要一个
graphql
客户端库在node.
js
上运行一些测试和一些数据混搭--而不是在生产能力
中
。我在其他地方使用阿波罗(react-apollo,阿波罗
的
graphql
-server-
express
)。我
的
需求很简单。或者我应该/可以在
节点
上使用参考
graphql</em
浏览 11
提问于2016-11-24
得票数 47
回答已采纳
1
回答
Nodejs
GraphQL
无法连接到本地主机上
的
接口
node.js
、
graphql
我正在设置一个用于访问本地主机上
的
postgreSQL数据库
的
GraphQL
应用程序接口,但目前我无法连接到
GraphQL
浏览器界面。我已经检查了
节点
是最新
的
,并且安装了
graphql
依赖项,客户端配置是正确
的
,因为我可以通过psql访问数据库。在根目录
中
运行node server.
js
并在浏览器
中
通过其url访问api之后,它将一直加载,但什么也不会发生。代码在我伙伴
的
机器上运行
浏览 1
提问于2020-10-20
得票数 0
1
回答
天青服务器上
的
GraphQL
node.js
、
azure
、
reactjs
、
graphql
但是当我试图访问
GraphQL
服务器时,我得到了一个404错误有什么想法吗?这是我
的
index.
js
require('babel-core/register')import GraphQLHTTP from '
express
-
graphql
&
浏览 2
提问于2016-11-07
得票数 1
1
回答
无法从另一个模块或领域使用GraphQLObjectType \"Query\“
express
、
graphql
、
apollo-server
、
prisma
、
prisma-graphql
我正在使用apollo-server-
express
构建
graphql
服务器 我
的
server.
js
解析器就是这么简单 const
express
= require('
express
');const { importSchema } = require('
graphql
-importl
浏览 48
提问于2020-09-18
得票数 0
1
回答
关于prisma,graphqlyoga
的
很多警告
node.js
、
graphql
、
graphql-js
、
prisma
对于
节点
高级样板,我在运行prisma init命令后收到此错误。为什么不能做一个简单
的
注册变异?我只能在回滚到以前
的
版本后才能正常工作。为什么会这样呢?" has incorrect peer dependency "
graphql
@^0.10.0 || ^0.11.0 || ^0.12.0".warning "
浏览 11
提问于2018-02-15
得票数 0
1
回答
带有
Graphql
的
nodejs
javascript
、
node.js
、
graphql
在尝试
graphQL
时,我面临着一个问题。我想我在模式或解析器上做错了什么。一切根据文档,但仍然无法获得数据。主要文件: server.
js
、schema.
js
、models/user.
js
和解析器/user.
js
。} from
浏览 2
提问于2017-02-21
得票数 1
2
回答
错误:不能为非空字段Post.title返回null
node.js
、
express
、
graphql
(D:\
graphql
\
Graphql
-social-media-project\api\node_modules\
graphql
\execution\execute.
js
:594:13) at executeField(D:\
graphql
\
Graphql
-social-media-project\api\node_modules\
graphql
\execution\execute.
js
:584:23) at D:(
节点
:内部
浏览 7
提问于2022-07-17
得票数 0
3
回答
apollo服务器和
express
-
graphql
有什么不同
node.js
、
graphql
、
apollo-server
我想建立一个应用程序,它建议使用
GraphQl
的
应用程序接口,我也需要在项目中使用TypeScript。任何好
的
想法都将不胜感激。
浏览 2
提问于2019-10-28
得票数 18
3
回答
所请求
的
模块“
graphql
”预计为CommonJS类型
javascript
、
node.js
、
graphql
--es-module-specifier-resolution=node --no-warnings dist/server-new/server.
js
"import compression from 'compression'; import
express
from '
浏览 4
提问于2020-09-28
得票数 2
1
回答
graphql
-工具,我如何使用mockServer来模拟“突变”?
graphql-tools
这是我
的
单元测试: mockserver `{/node_modules/
graphql
/
graphql
.
js
:106:50) at /Users/ldu020/workspace/apollo-server-
express
-starter/l
浏览 0
提问于2018-04-20
得票数 3
回答已采纳
点击加载更多
热门
标签
更多标签
云服务器
ICP备案
对象存储
云点播
即时通信 IM
活动推荐
运营活动
广告
关闭
领券