-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Error] Apollo-client: Error: ENOENT: no such file or directory, open '/var/folders/d9/295jkct11cb5mpttx9qf26zr0000gp/T/fde-nodeApolloCachedConfig.json' #5
Comments
一样的问题。 const Apollo = require('node-apollo-client') 报错信息 |
不好意思才看到这个 issue ... GitHub 的通知似乎失效了,不知道各位是不是已经解决或者换 package了,感觉已经迟了。 但是如果问题依然存在,可以按照下述的方法验证一下:
参数 array 中每一个被 join 的元素以及分隔符最后都会 normalize,我在 windows 下又重新测试了一下,应该是 work 的 @XIRALIP 我观察到报错的信息的路径和你配置的文件路径的分隔符是不一致的,虽然最后读取的都会是 windows 版本。 另外这个 package 我的同事在 mac OS 的本地和 Ubuntu 作为线上环境已经运行了大概半年的时间..... 有任何不对或者不好理解的地方,请直接告诉我🙏 |
btw 第一次没有找到 local file config 的时候会 log 一次 error,后面任何从 Apollo 缓存和数据库读取到配置后,就不会再有对应的问题了。 |
[Error] Apollo-client: Error: ENOENT: no such file or directory, open '/var/folders/d9/295jkct11cb5mpttx9qf26zr0000gp/T/fde-nodeApolloCachedConfig.json'
[Error] Apollo-client: load configs from config files failed
[Info] Apollo-client: start fetching from apollo DB...
[Error] Apollo-client: mismatch fetching configs default-application
[Error] Apollo-client: Error: mismatch fetching configs default-application
[Error] Apollo-client: error on notificaiotn response: , TypeError: body.forEach is not a function
The text was updated successfully, but these errors were encountered: