宝塔51特惠活动,企业版1099元/年,送SSL证书,最高立减2万元!查看活动
当前位置:论坛首页 > Linux面板 > 求助

【已完成】宝塔不能添加Node项目

发表在 Linux面板2023-3-14 09:58 [复制链接] 4 3207

本帖最后由 堡塔运维香菜卷 于 2023-10-11 10:58 编辑

宝塔不能添加Node项目 如图:

启动项也不让我选啊

QQ截图20230314095532.jpg
使用道具 举报 只看该作者 回复
发表于 2023-3-14 10:20:27 | 显示全部楼层
您好,您在启动选项中选择一下项目目录再进行创建即可 下载.png
使用道具 举报 回复 支持 反对
发表于 2023-3-14 11:09:59 | 显示全部楼层
搞不定啊,,一直启动失败 QQ截图20230314105731.jpg
使用道具 举报 回复 支持 反对
发表于 2023-3-14 12:02:15 | 显示全部楼层
您可结合项目的启动日志或者是项目日志进行排查定位问题
使用道具 举报 回复 支持 反对
发表于 2023-3-14 14:30:15 | 显示全部楼层
启动失败,,这个要怎么解决呢?

QQ截图20230314142406.jpg

日志:
  1. npm <command>

  2. Usage:

  3. npm install install all the dependencies in your project
  4. npm install <foo> add the <foo> dependency to your project
  5. npm test run this project's tests
  6. npm run <foo> run the script named <foo>
  7. npm <command> -h quick help on <command>
  8. npm -l display usage info for all commands
  9. npm help <term> search for help on <term>
  10. npm help npm more involved overview

  11. All commands:

  12. access, adduser, audit, bugs, cache, ci, completion,
  13. config, dedupe, deprecate, diff, dist-tag, docs, doctor,
  14. edit, exec, explain, explore, find-dupes, fund, get, help,
  15. hook, init, install, install-ci-test, install-test, link,
  16. ll, login, logout, ls, org, outdated, owner, pack, ping,
  17. pkg, prefix, profile, prune, publish, query, rebuild, repo,
  18. restart, root, run-script, search, set, shrinkwrap, star,
  19. stars, start, stop, team, test, token, uninstall, unpublish,
  20. unstar, update, version, view, whoami

  21. Specify configs in the ini-formatted file:
  22. /home/www/.npmrc
  23. or on the command line via: npm <command> --key=value

  24. More configuration info: npm help config
  25. Configuration fields: npm help 7 config

  26. npm@9.6.1 /www/server/nodejs/v16.9.0/lib/node_modules/npm
  27. npm <command>

  28. Usage:

  29. npm install install all the dependencies in your project
  30. npm install <foo> add the <foo> dependency to your project
  31. npm test run this project's tests
  32. npm run <foo> run the script named <foo>
  33. npm <command> -h quick help on <command>
  34. npm -l display usage info for all commands
  35. npm help <term> search for help on <term>
  36. npm help npm more involved overview

  37. All commands:

  38. access, adduser, audit, bugs, cache, ci, completion,
  39. config, dedupe, deprecate, diff, dist-tag, docs, doctor,
  40. edit, exec, explain, explore, find-dupes, fund, get, help,
  41. hook, init, install, install-ci-test, install-test, link,
  42. ll, login, logout, ls, org, outdated, owner, pack, ping,
  43. pkg, prefix, profile, prune, publish, query, rebuild, repo,
  44. restart, root, run-script, search, set, shrinkwrap, star,
  45. stars, start, stop, team, test, token, uninstall, unpublish,
  46. unstar, update, version, view, whoami

  47. Specify configs in the ini-formatted file:
  48. /home/www/.npmrc
  49. or on the command line via: npm <command> --key=value

  50. More configuration info: npm help config
  51. Configuration fields: npm help 7 config

  52. npm@9.6.1 /www/server/nodejs/v16.9.0/lib/node_modules/npm
  53. npm <command>

  54. Usage:

  55. npm install install all the dependencies in your project
  56. npm install <foo> add the <foo> dependency to your project
  57. npm test run this project's tests
  58. npm run <foo> run the script named <foo>
  59. npm <command> -h quick help on <command>
  60. npm -l display usage info for all commands
  61. npm help <term> search for help on <term>
  62. npm help npm more involved overview

  63. All commands:

  64. access, adduser, audit, bugs, cache, ci, completion,
  65. config, dedupe, deprecate, diff, dist-tag, docs, doctor,
  66. edit, exec, explain, explore, find-dupes, fund, get, help,
  67. hook, init, install, install-ci-test, install-test, link,
  68. ll, login, logout, ls, org, outdated, owner, pack, ping,
  69. pkg, prefix, profile, prune, publish, query, rebuild, repo,
  70. restart, root, run-script, search, set, shrinkwrap, star,
  71. stars, start, stop, team, test, token, uninstall, unpublish,
  72. unstar, update, version, view, whoami

  73. Specify configs in the ini-formatted file:
  74. /home/www/.npmrc
  75. or on the command line via: npm <command> --key=value

  76. More configuration info: npm help config
  77. Configuration fields: npm help 7 config

  78. npm@9.6.1 /www/server/nodejs/v16.9.0/lib/node_modules/npm
复制代码


使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析
快速回复 返回顶部 返回列表