mobile CCTV,mobile surveillance,police body worn cameras

 forgetPW
 registerNow
search
12NextPage
backToList newPost
view: 2983|reply: 16
打印 prevThread nextThread

web服务例子编译失败

[copyURL]

1

主题

10

帖子

37

积分

newBie

Rank: 1

积分
37
jumpTo
owner
poston 2020-4-21 15:36 | authorOnly 回帖奖励 |倒序浏览 |阅读模式
我从https://codeload.github.com/besovideo/webclientd/zip/master下载了源码,按照下面的说明,运行npm install 报错
reply

使用道具 report

1

主题

10

帖子

37

积分

newBie

Rank: 1

积分
37
sofa
 Owner| poston 2020-4-21 15:37 | authorOnly
D:\work\webclientd-master>npm install
npm WARN The package @xunlei/vue-context-menu is included as both a dev and prod
uction dependency.
npm WARN The package css-loader is included as both a dev and production depende
ncy.
npm WARN The package less-loader is included as both a dev and production depend
ency.
npm WARN The package vue-loader is included as both a dev and production depende
ncy.
npm WARN The package vue-template-compiler is included as both a dev and product
ion dependency.

audited 26249 packages in 15.08s

40 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities


D:\work\webclientd-master>
reply agree Against

使用道具 report

1

主题

10

帖子

37

积分

newBie

Rank: 1

积分
37
bench
 Owner| poston 2020-4-21 15:48 | authorOnly
ERROR  Failed to compile with 1 errors


This dependency was not found:

* rightMenu in ./src/main.js

To install it, you can run: npm install --save rightMenu
reply agree Against

使用道具 report

2

主题

98

帖子

394

积分

midMem

Rank: 3Rank: 3

积分
394
ground
poston 2020-4-21 16:07 | authorOnly
安装一下这个依赖包,重试一下
npm install --save rightMenu
reply agree Against

使用道具 report

2

主题

98

帖子

394

积分

midMem

Rank: 3Rank: 3

积分
394
5#
poston 2020-4-21 16:20 | authorOnly
xurui post on2020-4-21 16:07
安装一下这个依赖包,重试一下
npm install --save rightMenu

也可以删除掉node_modules文件夹,重新安装一下
reply agree Against

使用道具 report

1

主题

10

帖子

37

积分

newBie

Rank: 1

积分
37
6#
 Owner| poston 2020-4-21 16:22 | authorOnly

D:\work\webclientd-master>npm install --save rightMenu
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/rightMenu - Not found
npm ERR! 404
npm ERR! 404  'rightMenu@latest' is not in the npm registry.
npm ERR! 404 Your package name is not valid, because
npm ERR! 404  1. name can no longer contain capital letters
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2020-04-21T0
8_22_15_940Z-debug.log

D:\work\webclientd-master>
reply agree Against

使用道具 report

60

主题

1428

帖子

5953

积分

Moderator

Rank: 7Rank: 7Rank: 7

积分
5953
7#
poston 2020-4-21 16:26 | authorOnly
rightmenu ? 看提示信息好像是说不能有大写字母?
reply agree Against

使用道具 report

2

主题

98

帖子

394

积分

midMem

Rank: 3Rank: 3

积分
394
8#
poston 2020-4-21 16:28 | authorOnly
stronghill post on2020-4-21 16:22
D:\work\webclientd-master>npm install --save rightMenu
npm ERR! code E404
npm ERR! 404 Not Found ...

npm install rightmenu@1.1.0  --save
reply agree Against

使用道具 report

1

主题

10

帖子

37

积分

newBie

Rank: 1

积分
37
9#
 Owner| poston 2020-4-21 16:31 | authorOnly
谢谢回复!
npm install rightmenu@1.1.0
执行后,运行服务报错依旧
reply agree Against

使用道具 report

1

主题

10

帖子

37

积分

newBie

Rank: 1

积分
37
10#
 Owner| poston 2020-4-21 16:31 | authorOnly
ERROR  Failed to compile with 1 errors


This dependency was not found:

* rightMenu in ./src/main.js

To install it, you can run: npm install --save rightMenu
还是报这个
reply agree Against

使用道具 report

creditRule

QQ|wireless surveillance

GMT+8, 2024-12-24 01:29 , Processed in 0.058596 second(s), 20 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList