腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
9
回答
node
.js找不到模块xml2js
linux
、
node.js
、
include
我
在
我的机器上做了一个应用程序,它工作得很好。');var sys = require('sys');我已经使用
npm
安装
了我的机器和服务器上的
node
有完全相同的版本(v0.4.0)。 我已经确保
节点
查找模块的路径
中
包含了xml2js和express所在的路径(/
usr</em
浏览 0
提问于2011-02-19
得票数 20
1
回答
即使设置了
NODE
_PATH,也不能在
Node
中导入全局
包
?
javascript
、
node.js
、
npm
我正在尝试导入一个全局
安装
的pkg,该pkg位于/some/path。我
在
~/..bash_profile
中
设置了
NODE
_PATH。我可以做‘回声$
NODE
_PATH’和看到我的路径
在
一个终端。但是
节点
11.10.1仍然没有找到pkg。根据我在这里看到的,应该从这个env初始化 require.paths。console.log(process.env.
NODE
_PATH) var i = require('
浏览 9
提问于2021-11-10
得票数 1
1
回答
通过
npm
安装
的
Node
.js模块未被识别
node.js
、
npm
因此,我已经
安装
和重新
安装
了
node
.js多次,并尝试了各种
安装
的
npm
。我目前使用的是
节点
版本0.6.11。当我尝试用
npm
安装
一个新模块时,我会遇到几个错误。我对用
节点
编程非常陌生,但我尝试过研究这个问题,但没有找到正确的答案。当我用
npm
安装
一个模块,然后尝试
在
命令提示符中使用它时,什么都不会发生。这种情况发生在我
安装
的每个模块上。我在这里错过了什么。请帮帮
浏览 1
提问于2012-02-21
得票数 1
2
回答
在
"/
usr
/
local
/
lib
/
node
_
modules
/
npm
/
lib
“
中
安装
节点
包
node.js
、
npm
我注意到
在
安装
更新
包
(例如
npm
install -g ini@1.3.8 )时,它们会被放入/
usr
/
local
/
lib
/
node
_
modules
/
中
但是,当我进行漏洞扫描时,/
usr
/
local
/
lib
/
node
_
modules
浏览 33
提问于2021-01-18
得票数 0
6
回答
AWS-扩容-cli未能在Mac上
安装
amazon-web-services
、
aws-amplify
命令“/
usr
/
local
/
lib
/
node
_
node
/
node
/bin/
node
”"/
usr
/
local
/
lib
/
node
_
modules
/
npm
/
node
_
modules
/<e
浏览 1
提问于2019-01-29
得票数 3
回答已采纳
3
回答
节点
未找到更少的模块
node.js
、
ubuntu
、
less
我正在尝试
在
Ubuntu 12.1上
安装
Node
及更低版本。
安装
似乎工作正常,我可以看到,当我使用下面的"sudo
npm
g install less“
安装
Less时,会创建一个Less文件夹:然而,当我运行<anonymous> (/
usr
/
浏览 0
提问于2013-02-19
得票数 6
2
回答
我如何才能完全逆转Ubuntu
中
npm
的所有变化?
nodejs
这个问题与https://stackoverflow.com/questions/11177954/how-do-i-completely-uninstall-
node
-js-and-reinstall-from-beginning-mac-os-x
安装
通常由:sudo apt-get install
node
完成,但是我后来使用
npm
命令将多个
包
安装
为多个用户。如何通过例如
npm
install -g @vue
浏览 0
提问于2021-02-25
得票数 6
回答已采纳
4
回答
NPM
错误: EACCES:权限被拒绝,访问'/
usr
/
local
/
lib
/
node
_
modules
‘
javascript
、
node.js
、
npm
、
gatsby
我试图
在
全球
安装
gatsby:我一直收到一个访问错误,并且不知道如何修复它。
浏览 6
提问于2020-05-06
得票数 2
回答已采纳
2
回答
无法卸载/重新
安装
Homebrew上的
Node
node.js
、
installation
、
homebrew
为了解决一个不相关的问题,我运行了下面的$ sudo
npm
i
npm
-g (不要运行)`$ brew install
node
==> Downloading https://homebrew.bintray.com/bottles, but is n
浏览 1
提问于2015-07-30
得票数 0
4
回答
为什么我的约曼发电机
安装
在错误的地方?
npm
、
yeoman
如果我运行"
npm
安装
生成器-名称-g“,它们就会
安装
得很好。然而,当我试着运行“溜溜球发电机-名字尤曼似乎找不到发电机。它也没有列
在
我的其他发电机
中
,如果我只运行”哟“。经过一番调查,我发现下载的生成器放在但我的其他发电机都放在 /
usr
/
local<
浏览 2
提问于2013-08-06
得票数 36
回答已采纳
14
回答
安装
NPM
时找不到快递模块
javascript
、
node.js
、
express
、
npm
在
安装
npm
和express之后,我需要做些什么才能让express看到
npm
创建的模块吗?我的
节点
是版本: 0.4.6 [ '/home/user/.<e
浏览 8
提问于2011-05-07
得票数 47
回答已采纳
5
回答
进出口
npm
全球包装
npm
我想重新
安装
npm
从零开始。
在
重新
安装
之后,我希望
在
npm
中
重新
安装
已经
在
全球
安装
的软件
包
。什么是导出和导入全球
安装
模块的最安全(且非手动)方式?实现注意:我的旧
npm
也需要用于全局
安装
的sudo,所以我并不是真的希望重用同一个目录,而是让新的
npm
安装
与旧的相同的
包
列表。
浏览 0
提问于2015-09-17
得票数 12
回答已采纳
2
回答
角4-我一直无法找到模块' portfinder‘,即使是在手动
安装
portfinder之后。
javascript
、
node.js
、
angular
、
angular-cli
我一直
在
终端中使用ng服务
在
终端
中
获取这个错误,我已经尝试了='
npm
install portfinder,也尝试了
npm
uninstall -g angular-cli,
npm
cache clean/
local
/
lib
/
node
_
modules
/angular-cli/addon/index.js:21:16) at /
浏览 4
提问于2017-05-10
得票数 1
回答已采纳
2
回答
node
_
modules
全球定位在哪里?
nodejs
node
_
modules
在
Ubuntu20.04上全球
安装
在哪里? 它不在/
usr
/
local
/
lib
中
,我想摆脱全球
安装
的webpack。我好像找不到它。
浏览 0
提问于2021-03-04
得票数 0
41
回答
错误: EACCES:权限被拒绝,访问'/
usr
/
local
/
lib
/
node
_
modules
‘
node.js
、
npm
、
permission-denied
导致错误Error: EACCES: permission denied, access '/
usr
/
local
/
lib
/
node
_
modules
'的原因是什么
npm
ERR! code EACCES
浏览 6
提问于2018-02-21
得票数 653
回答已采纳
1
回答
为什么
node
.js无法连接到我的数据库?
mysql
、
node.js
、
vagrant
(/
usr
/
local
/
lib
/
node
_
modules
/sequelize/
node
_
modules
/generic-pool/
lib
/generic-pool.js:258:13) atdispense (/
usr
/
local
/
lib
/
node</em
浏览 1
提问于2013-12-10
得票数 0
3
回答
npm
找不到模块'minimatch‘
node.js
、
macos
、
npm
我将我的
Node
.js更新到5.5.0。但是当我使用
npm
时,它不起作用。 它报告错误:Cannot find module 'minimatch'。但是
Node
.js 4.2版
在
我的苹果电脑上是可以的。
浏览 0
提问于2016-01-23
得票数 6
2
回答
无法运行
npm
install -g expo-cli
node.js
、
react-native
、
npm
、
expo
、
npm-install
WARN checkPermissions Missing write access to /
usr
/
local
/
lib
/
node
_
modules
npm
ERR! syscall access
npm
ERR! path /
usr
/
local
/
lib
/
node
_
浏览 48
提问于2019-12-10
得票数 2
回答已采纳
10
回答
错误:找不到模块“
npm
-注册表-客户端”
node.js
、
npm
每当我试图
安装
时,我都会得到错误" error :无法找到模块‘’“。我试图用以下命令来解决这个问题,但这没有奏效:
npm
install -g
npm
@latestuser@pc ~/devel>
npm
install
npm
-registry-client --save throw err;Error: Cannot find module
浏览 16
提问于2015-11-21
得票数 14
回答已采纳
点击加载更多
热门
标签
更多标签
云服务器
ICP备案
对象存储
云点播
即时通信 IM
活动推荐
运营活动
广告
关闭
领券