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

[index] 修正 npm v3 下报 ENOENT 错误的问题 #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

digiaries
Copy link

npm v3 后,node_modules 机制发生了变化,不再当前目录下创建 node_modules 目录,针对 v2 的写法会在高版本的 node 或升级到 npm v3 后报错。
在生成调用地址时检测下当前目录下 node_modules 文件夹的状态做对应处理。

@digiaries
Copy link
Author

依赖的 node-dev 版本太低,在高版本下同样会报错,升级到最新版

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

Successfully merging this pull request may close these issues.

1 participant