Skip to content

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