Skip to content

使用失败 #353

Description

@nihao-create

请求答疑
发件人:
sh ljl20110113@qq.com
2026年01月17日 15:33:32
收件人:
kity kity@baidu.com

我跟着豆包和github上的操作操作了好几遍最后打开浏览器要么是404报错,要么是点击马上显示连接错误,这是我的全流程:

{YOUR_WORKING_DIRECTORY}/Desktop

$ cd /d/projects

{YOUR_WORKING_DIRECTORY}/d/projects

$ cd /d/Projects

{YOUR_WORKING_DIRECTORY} /d/Projects

$ git clone https://github.com/kityminder.git

Cloning into 'kityminder'...

remote: Not Found

fatal: repository 'https://github.com/kityminder.git/' not found

{YOUR_WORKING_DIRECTORY} /d/Projects

$ git clone https://github.com/{YOUR_GITHUB_USERNAME}/kityminder.git

Cloning into 'kityminder'...

remote: Enumerating objects: 13922, done.

remote: Counting objects: 100% (3/3), done.

remote: Compressing objects: 100% (3/3), done.

remote: Total 13922 (delta 0), reused 0 (delta 0), pack-reused 13919 (from 1)

Receiving objects: 100% (13922/13922), 34.73 MiB | 1.85 MiB/s, done.

Resolving deltas: 100% (8786/8786), done.

{YOUR_WORKING_DIRECTORY} /d/Projects

$ git submodule init

fatal: not a git repository (or any of the parent directories): .git

{YOUR_WORKING_DIRECTORY} /d/Projects

$ ^C

{YOUR_WORKING_DIRECTORY} /d/Projects

$ cd /Projects/kityminder

bash: cd: /Projects/kityminder: No such file or directory

{YOUR_WORKING_DIRECTORY} /d/Projects

$ cd /d/Projects/kityminder

{YOUR_WORKING_DIRECTORY} /d/Projects/kityminder (dev)

$ git status

On branch dev

Your branch is up to date with 'origin/dev'.

nothing to commit, working tree clean

{YOUR_WORKING_DIRECTORY} /d/Projects/kityminder (dev)

$ git submodule init

Submodule 'lib/fio' (https://github.com/fex-team/fio) registered for path 'lib/f

io'

Submodule 'lib/fui' (https://github.com/fex-team/fui) registered for path 'lib/f

ui'

Submodule 'lib/kity' (https://github.com/fex-team/kity) registered for path 'lib

/kity'

Submodule 'lib/marked' (https://github.com/chjj/marked.git) registered for path

'lib/marked'

{YOUR_WORKING_DIRECTORY} /d/Projects/kityminder (dev)

$ ^C

{YOUR_WORKING_DIRECTORY} /d/Projects/kityminder (dev)

$ git submodule update

Cloning into 'D:/Projects/kityminder/lib/fio'...

Cloning into 'D:/Projects/kityminder/lib/fui'...

Cloning into 'D:/Projects/kityminder/lib/kity'...

Cloning into 'D:/Projects/kityminder/lib/marked'...

Submodule path 'lib/fio': checked out '7ae9c078b3c3504d5cf421a493113bf6fda3e362'

Submodule path 'lib/fui': checked out '9c889d5cce8815c582dcf9e438b18c9850b3a322'

Submodule path 'lib/kity': checked out '89368ad0fb30084f68d4c71ce1e35a8b037b1aba

'

Submodule path 'lib/marked': checked out '3e02a69921b9b4009d0b17aa1fe0ae2546f96d

e2'

{YOUR_WORKING_DIRECTORY} /d/Projects/kityminder (dev)

$ npm install

npm warn deprecated natives@1.1.6: This module relies on Node.js's internals and

will break at some point. Do not use it, and update to graceful-fs@4.x.

npm warn deprecated hoek@0.9.1: This version has been deprecated in accordance w

ith the hapi support policy (hapi.im/support). Please upgrade to the latest vers

ion to get the best features, bug fixes, and security patches. If you are unable

to upgrade at this time, paid support is available for older versions (hapi.im/

commercial).

npm warn deprecated cryptiles@0.2.2: This version has been deprecated in accorda

nce with the hapi support policy (hapi.im/support). Please upgrade to the latest

version to get the best features, bug fixes, and security patches. If you are u

nable to upgrade at this time, paid support is available for older versions (hap

i.im/commercial).

npm warn deprecated sntp@0.2.4: This module moved to @hapi/sntp. Please make sur

e to switch over as this distribution is no longer supported and may contain bug

s and critical security issues.

npm warn deprecated node-uuid@1.4.8: Use uuid module instead

npm warn deprecated boom@0.4.2: This version has been deprecated in accordance w

ith the hapi support policy (hapi.im/support). Please upgrade to the latest vers

ion to get the best features, bug fixes, and security patches. If you are unable

to upgrade at this time, paid support is available for older versions (hapi.im/

commercial).

npm warn deprecated hawk@1.1.1: This module moved to @hapi/hawk. Please make sur

e to switch over as this distribution is no longer supported and may contain bug

s and critical security issues.

npm warn deprecated request@2.40.0: request has been deprecated, see https://git

hub.com/request/request/issues/3142

npm warn deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher

to avoid a RegExp DoS issue

npm warn deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compa

tibility with current and future versions of Node.js

npm warn deprecated glob@3.1.21: Glob versions prior to v9 are no longer support

ed

npm warn deprecated rimraf@2.2.8: Rimraf versions prior to v4 are no longer supp

orted

npm warn deprecated coffee-script@1.3.3: CoffeeScript on NPM has moved to "coffe

escript" (no hyphen)

npm warn deprecated glob@3.2.11: Glob versions prior to v9 are no longer support

ed

npm warn deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher

to avoid a RegExp DoS issue

added 157 packages, and audited 158 packages in 5m

2 packages are looking for funding

run npm fund for details

39 vulnerabilities (1 low, 7 moderate, 23 high, 8 critical)

To address issues that do not require attention, run:

npm audit fix

To address all issues (including breaking changes), run:

npm audit fix --force

Run npm audit for details.

npm notice

npm notice New minor version of npm available! 11.6.2 -> 11.7.0

npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.7.0

npm notice To update run: npm install -g npm@11.7.0

npm notice

{YOUR_WORKING_DIRECTORY} /d/Projects/kityminder (dev)

$ bower install

bower cached https://github.com/components/codemirror.git#4.7.0

bower validate 4.7.0 against https://github.com/components/codemirror.git#4

.7.0

bower install codemirror#4.7.0

codemirror#4.7.0 lib\bower\codemirror

{YOUR_WORKING_DIRECTORY} /d/Projects/kityminder (dev)

$ npm install -g grunt-cli

added 56 packages in 39s

5 packages are looking for funding

run npm fund for details

{YOUR_WORKING_DIRECTORY} /d/Projects/kityminder (dev)

$ grunt

Running "clean:0" (clean) task

0 paths cleaned.

Running "clean:1" (clean) task

0 paths cleaned.

Running "clean:2" (clean) task

0 paths cleaned.

Running "concat:index" (concat) task

Source map dist/kityminder.index.js.map created.

File dist/kityminder.index.js created.

Running "concat:edit" (concat) task

Source map dist/kityminder.edit.js.map created.

File dist/kityminder.edit.js created.

Running "concat:share" (concat) task

Source map dist/kityminder.share.js.map created.

File dist/kityminder.share.js created.

Running "concat:m-share" (concat) task

Source map dist/kityminder.m-share.js.map created.

File dist/kityminder.m-share.js created.

Running "uglify:minimize" (uglify) task

File dist\kityminder.index.min.map created (source map).

File dist/kityminder.index.min.js created: 297.13 kB → 94.53 kB

File dist\kityminder.edit.min.map created (source map).

File dist/kityminder.edit.min.js created: 1.85 MB → 753.62 kB

File dist\kityminder.share.min.map created (source map).

File dist/kityminder.share.min.js created: 1.12 MB → 420.09 kB

File dist\kityminder.m-share.min.map created (source map).

File dist/kityminder.m-share.min.js created: 1.06 MB → 393.41 kB

Running "less:compile" (less) task

File ui/theme/default/css/default.all.temp.css.map created.

File ui/theme/default/css/default.all.temp.css created: 107.98 kB → 108.03 kB

Running "autoprefixer:all" (autoprefixer) task

File ui/theme/default/css/default.all.css created.

File ui/theme/default/css/default.all.css.map created (source map).

Running "copy:dir" (copy) task

Created 10 directories, copied 211 files

Running "copy:km_config" (copy) task

Copied 1 files

Running "copy:mise" (copy) task

Copied 4 files

Running "replace:online" (replace) task

Running "replace:pageNoCache" (replace) task

Running "replace:imageNoCache" (replace) task

Done, without errors.

{YOUR_WORKING_DIRECTORY} /d/Projects/kityminder (dev)

$ npx serve dist --cors

Need to install the following packages:

serve@14.2.5

Ok to proceed? (y)

npm error canceled

npm error A complete log of this run can be found in: D:\Projects\npm-cache_log

s\2026-01-17T07_09_41_415Z-debug-0.log

{YOUR_WORKING_DIRECTORY} /d/Projects/kityminder (dev)

$ ^C

{YOUR_WORKING_DIRECTORY} /d/Projects/kityminder (dev)

$ npm install -g serve

added 86 packages in 53s

25 packages are looking for funding

run npm fund for details

{YOUR_WORKING_DIRECTORY} /d/Projects/kityminder (dev)

$ npx serve dist --cors

WARN Checking for updates failed (use --debug to see full error)

┌────────────────────────────────────────┐

│ │

│ Serving! │

│ │

│ - Local: http://localhost:3000

│ - Network: http://2.0.0.1:3000

│ │

│ Copied local address to clipboard! │

│ │

└────────────────────────────────────────┘

HTTP 2026/1/17 15:14:10 ::1 GET /

HTTP 2026/1/17 15:14:10 ::1 Returned 200 in 43 ms

HTTP 2026/1/17 15:14:10 ::1 GET /kityminder.index.min.js?_=1768633676048

HTTP 2026/1/17 15:14:10 ::1 Returned 200 in 5 ms

HTTP 2026/1/17 15:14:10 ::1 GET /ui/theme/default/images/indexbackground.jpg

HTTP 2026/1/17 15:14:10 ::1 Returned 304 in 3 ms

HTTP 2026/1/17 15:14:11 ::1 GET /hybridaction/zybTrackerStatisticsAction?data=

%7B%7D&callback=__cb__zybTrackerStatisticsAction__8653ed3c_8ebf_4146_be2b_49

253633fb64__0

HTTP 2026/1/17 15:14:11 ::1 Returned 404 in 8 ms

HTTP 2026/1/17 15:14:11 ::1 GET /hybridaction/zybTrackerStatisticsAction?data=

%7B%7D&callback=__cb__zybTrackerStatisticsAction__0fe02e63_414c_4b7b_ad58_db

ee2b816db5__1

HTTP 2026/1/17 15:14:11 ::1 Returned 404 in 2 ms

HTTP 2026/1/17 15:14:16 ::1 GET /hybridaction/zybTrackerStatisticsAction?data=

%7B%7D&callback=__cb__zybTrackerStatisticsAction__9ab37820_bdbe_45aa_b6eb_b8

91aa5f1617__0

HTTP 2026/1/17 15:14:16 ::1 Returned 404 in 3 ms

HTTP 2026/1/17 15:14:16 ::1 GET /hybridaction/zybTrackerStatisticsAction?data=

%7B%7D&callback=__cb__zybTrackerStatisticsAction__5f51a216_2e79_45de_86d1_4d

229bd30b2c__1

HTTP 2026/1/17 15:14:16 ::1 Returned 404 in 6 ms

HTTP 2026/1/17 15:14:30 ::1 GET /editor

HTTP 2026/1/17 15:14:30 ::1 Returned 404 in 2 ms

HTTP 2026/1/17 15:14:30 ::1 GET /hybridaction/zybTrackerStatisticsAction?data=

%7B%7D&callback=__cb__zybTrackerStatisticsAction__fe98ed69_8b18_41fb_bcda_c5

a86de25bc3__0

HTTP 2026/1/17 15:14:30 ::1 Returned 404 in 3 ms

HTTP 2026/1/17 15:14:30 ::1 GET /hybridaction/zybTrackerStatisticsAction?data=

%7B%7D&callback=__cb__zybTrackerStatisticsAction__d7b210c5_a862_49a2_8c98_ec

e108555bf0__1

HTTP 2026/1/17 15:14:30 ::1 Returned 404 in 2 ms

HTTP 2026/1/17 15:17:14 ::1 GET /editor.html

HTTP 2026/1/17 15:17:14 ::1 Returned 301 in 3 ms

HTTP 2026/1/17 15:17:14 ::1 GET /editor

HTTP 2026/1/17 15:17:14 ::1 Returned 404 in 5 ms

HTTP 2026/1/17 15:17:14 ::1 GET /favicon.ico

HTTP 2026/1/17 15:17:14 ::1 Returned 200 in 7 ms

HTTP 2026/1/17 15:17:27 ::1 GET /

HTTP 2026/1/17 15:17:27 ::1 Returned 200 in 3 ms

HTTP 2026/1/17 15:17:27 ::1 GET /kityminder.index.min.js?_=1768633676048

HTTP 2026/1/17 15:17:27 ::1 Returned 200 in 3 ms

HTTP 2026/1/17 15:17:27 ::1 GET /ui/theme/default/images/indexbackground.jpg

HTTP 2026/1/17 15:17:27 ::1 Returned 200 in 2 ms

HTTP 2026/1/17 15:17:27 ::1 GET /favicon.ico

HTTP 2026/1/17 15:17:27 ::1 Returned 304 in 3 ms

INFO Gracefully shutting down. Please wait...

请问是哪里出错了,有解决办法吗?为了保护我的隐私所以我把我的电脑和账户名改了,实际操作用的我自己的github账户名,也把它复制到我自己的仓库里了,谢谢解答

替换.docx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions