Skip to content
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

部署一直失败是什么原因呢 #64

Open
wuzheng2012 opened this issue Feb 1, 2024 · 4 comments
Open

部署一直失败是什么原因呢 #64

wuzheng2012 opened this issue Feb 1, 2024 · 4 comments

Comments

@wuzheng2012
Copy link

image
部署一直提示这个是什么原因呢

@dreamhunter2333
Copy link
Owner

是否创建 d1 数据库了呢

@dreamhunter2333
Copy link
Owner

image

@asdf1319964f
Copy link

asdf1319964f commented Feb 25, 2024

/npm ERR! could not determine executable to run
npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-02-25T22_12_20_908Z-debug-0.logroot@localhost:~/cloudflare_temp_email/worker# npx run deploy
Watching /root/cloudflare_temp_email/worker and all sub-directories not excluded by your .gitignore. Will not monitor dotfiles.
Screenshot_2024-02-26-06-15-31-178_com termux

Found & ignored ./wrangler.toml ; is listed in .gitignore
Starting: deploy node:internal/modules/cjs/loader:1152
throw err; ^
Error: Cannot find module '/root/cloudflare_temp_email/worker/deploy'
at Module._resolveFilename (node:internal/modules/cjs/loader:1149:15) at Module._load (node:internal/modules/cjs/loader:990:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:142:12)
at node:internal/main/run_main_module:28:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
怎么会报错

@dreamhunter2333
Copy link
Owner

/npm ERR! could not determine executable to run

npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-02-25T22_12_20_908Z-debug-0.logroot@localhost:~/cloudflare_temp_email/worker# npx run deploy

Watching /root/cloudflare_temp_email/worker and all sub-directories not excluded by your .gitignore. Will not monitor dotfiles.

Screenshot_2024-02-26-06-15-31-178_com termux

Found & ignored ./wrangler.toml ; is listed in .gitignore

Starting: deploy node:internal/modules/cjs/loader:1152

throw err; ^

                                                                                                      Error: Cannot find module '/root/cloudflare_temp_email/worker/deploy'

at Module._resolveFilename (node:internal/modules/cjs/loader:1149:15)                                     at Module._load (node:internal/modules/cjs/loader:990:27)

at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:142:12)

at node:internal/main/run_main_module:28:49 {

code: 'MODULE_NOT_FOUND',

requireStack: []

}

怎么会报错

可以试试 pnpm 或者npm么

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants