Comments (27)
啊,你的 nodejs 版本是多少呢?
from joplin-utils.
[waves@waves-pc blog-hexo-example]$ node -v
v18.1.0
from joplin-utils.
吾辈发布了 0.8.3,你可以再试试么?
from joplin-utils.
我的.joplin-blog.json文件如下:
{
"type": "hexo",
"rootPath": ".",
"baseUrl": "http://localhost:41184",
"token": "xxxxxxxae9c0e42e042a963be8534",
"tag": "blog"
}
[waves@waves-pc blog-hexo-example]$ npm -v
8.5.5
可以试试,但是我用你的那个脚本执行提示的安装版本只显示到0.8.2
from joplin-utils.
我的.joplin-blog.json 文件如下: { "type": "hexo", "rootPath": ".", "baseUrl": "http://localhost:41184", "token": "xxxxxxxae9c0e42e042a963be8534", "tag": "blog" } [waves@waves-pc blog-hexo-example]$ npm -v 8.5.5 可以试试,但是我用你的那个脚本执行提示的安装版本只显示到 0.8.2
修改 package.json 中的 0.8.2 => 0.8.3,然后重新运行 yarn && yarn gen
from joplin-utils.
好的,我修改了版本后之前的错误消失了,但是他提示了新的错误
yarn gen
yarn run v1.22.18
$ joplin-blog blog
/usr/bin/env: "node\r": 没有那个文件或目录
/usr/bin/env: 使用 -[v]S 以在 shebang 行中传递选项
error Command failed with exit code 127.
from joplin-utils.
先直接运行原始 bin.cjs 吧
node ./node_modules/joplin-blog/bin.cjs blog
from joplin-utils.
运行之后提示的消息,似乎是链接被拒绝了
waves@waves-pc blog-hexo-example]$ node ./node_modules/joplin-blog/bin.cjs blog
_ _ _ _ _
() ___ _ __ | ()_ __ | |__ | | ___ __ _
| |/ _ | '_ | | | '_ \ ____| ' | |/ _ \ / _| | | (_) | |_) | | | | | |_____| |_) | | (_) | (_| | _/ |\___/| .__/|_|_|_| |_| |_.__/|_|\___/ \__, | |__/ |_| |___/ (node:6295) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time (Use
node --trace-warnings ...` to show where the warning was created)
Failed to test joplin service: TypeError: fetch failed
at Object.processResponse (node:internal/deps/undici/undici:5575:34)
at node:internal/deps/undici/undici:5901:42
at node:internal/process/task_queues:140:7
at AsyncResource.runInAsyncScope (node:async_hooks:202:9)
at AsyncResource.runMicrotask (node:internal/process/task_queues:137:8)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
cause: Error: connect ECONNREFUSED ::1:41184
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1195:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 41184
}
}
from joplin-utils.
稍等,吾辈装个 docker 用 nodejs 18 + linux 环境跑一下,windows 上 nodejs 16 lts 复现不了
from joplin-utils.
麻烦大神了,我的平台是archlinux 您看您这边需要我提供什么信息吗?
uname -a
Linux waves-pc 5.17.5-arch1-1 #1 SMP PREEMPT Wed, 27 Apr 2022 20:56:11 +0000 x86_64 GNU/Linux
[waves@waves-pc blog-hexo-example]$ node -v
v18.1.0
[waves@waves-pc blog-hexo-example]$ npm -v
8.5.5
[waves@waves-pc blog-hexo-example]$ yarn -v
1.22.18
[waves@waves-pc blog-hexo-example]$
如果比较麻烦就算了吧,非常感谢您的帮助,我其实想的是后面可以多平台多个计算机之间可以同步我的笔记,我之前是用的typora+hexo+github这样弄的,不过我的win上的typora过期了,所以找到了这个joplin这个软件,如果十分麻烦就算了,还是十分感谢您的帮助
from joplin-utils.
有一个信息我不知道有没有用?
我直接在浏览器中访问http://localhost:41184/
他返回的是
11.pdf
from joplin-utils.
只要访问这个能响应 JoplinClipperServer 就代表服务正常
from joplin-utils.
是的,我测试过了,可以响应这个的。
from joplin-utils.
发布了 0.8.5,测试在 ubuntu docker image + nodejs v18.1.0 可用,你可以更新再试一次么?
from joplin-utils.
发布了 0.8.5,测试在 ubuntu docker image + nodejs v18.1.0 可用,你可以更新再试一次么?
我再次从你的github上下载了你的源码,然后单独拿出你的blog-hexo-example 我执行 yarn && yarn gen 依旧报出下面的错误
我准备换个joplin版本试试 我目前的版本是2.7.15 我又仔细看了你要求是要2.8以上我准备去找个新的joplin
(node:3975) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
(Use node --trace-warnings ...
to show where the warning was created)
Failed to test joplin service: TypeError: fetch failed
at Object.processResponse (node:internal/deps/undici/undici:5575:34)
at node:internal/deps/undici/undici:5901:42
at node:internal/process/task_queues:140:7
at AsyncResource.runInAsyncScope (node:async_hooks:202:9)
at AsyncResource.runMicrotask (node:internal/process/task_queues:137:8)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
cause: Error: connect ECONNREFUSED ::1:41184
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1195:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 41184
}
}
Done in 0.60s.
from joplin-utils.
试试访问以下 url 能否获取到标签为 blog 的笔记列表(替换 token/port 为你的)
http://localhost:27583/search?fields=id,title,body,user_created_time,user_updated_time&limit=100&page=1&query=tag%3Ablog&token=5bcfa49330788dd68efea27a0a133d2df24df68c3fd78731eaa9914ef34811a34a782233025ed8a651677ec303de6a04e54b57a27d48898ff043fd812d8e0b31&type=note
from joplin-utils.
我测试了一下这样是可以获得我的笔记列表的,我截图了放在了pdf里
Uploading 11.pdf…
from joplin-utils.
我测试了一下这样是可以获得我的笔记列表的,我截图了放在了 pdf 里 Uploading 11.pdf…
没有上传完
from joplin-utils.
from joplin-utils.
可以确定是这一行抛出的错误,但为什么会抛出错误就很迷惑。。。
from joplin-utils.
可以使用 chrome 远程桌面连接到你的 pc 调试一下么?如果可以请发送 code 至邮箱 [email protected]
使用参考:https://remotedesktop.google.com/support
from joplin-utils.
邮件收到了吗?
我发了两次都被当作垃圾邮件退回来了
from joplin-utils.
没
from joplin-utils.
362167700524
from joplin-utils.
099141653572 刚才电脑死机了
from joplin-utils.
后续需要解决 nodejs 18 的 fetch 存在兼容问题
from joplin-utils.
后续需要解决 nodejs 18 的 fetch 存在兼容问题
谢谢啦,麻烦了你一整天
from joplin-utils.
Related Issues (20)
- [Feat]: 能否开放配置项,获取Joplin文章的 metadata? HOT 9
- [Bug]: linux ubuntu 系统中粘贴图片功能无效 HOT 17
- [Feat]: 使「检查未使用的资源」的删除功能可以涵盖本地的加密文件 HOT 2
- [Feat]: Command to Link Other Notes Into Text Area HOT 4
- [Feat]: Note content search inside vscode HOT 2
- [Question]: How to exclude or ignore all notes inside a notebook from some extensions HOT 4
- [Question]: My first fork and my first vscode extension. I want to contribute to the project. HOT 4
- [Bug]: [SORRY not related to this plugin] Note might get slower after ~850 lines of inserted html block code HOT 1
- [Feat]: 读取joplin笔记本标题作为categories变量 HOT 5
- [Bug]: no notes detected HOT 1
- [Feat]: generate table of contents when [TOC] is present HOT 9
- [Bug]: token/port setting is ignored HOT 2
- [Feat]: add searx for supported search engine HOT 13
- [Feat]: Please indicate the physical path of unused resources HOT 1
- [Feat]: add support for MetaGer searchengine HOT 1
- [Bug]: Unable to search notes when using Bing HOT 6
- [Bug]: vscode有两个所见即所得的插件无法显示图片 HOT 1
- [Bug]: Links to headers not working HOT 2
- [Bug]: Plugin cannot reconnect if Joplin wasn't running at first attempt HOT 1
- [Feat]: HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from joplin-utils.