有时候编译的时候会出现这个错误,提示是说:Use the `--scripts-prepend-node-path` option to include the path 。然后会告诉你有两个路径的存在
有个简单的办法,在项目根目录下面增加一个文件.npmrc,加入:
scripts-prepend-node-path=true
问题解决
膘叔的简单人生

有时候编译的时候会出现这个错误,提示是说:Use the `--scripts-prepend-node-path` option to include the path 。然后会告诉你有两个路径的存在
有个简单的办法,在项目根目录下面增加一个文件.npmrc,加入:
scripts-prepend-node-path=true
问题解决
评论 (0)
暂无评论