Skip to content
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.

在osx安装完成在项目目录使用的时候提示env: node\r: No such file or directory #5

Open
zeyueguo opened this issue Jan 13, 2014 · 0 comments

Comments

@zeyueguo
Copy link

然后我安装了dos2unix

去f5的目录
/usr/local/lib/node_modules/f5/bin

执行 sudo dos2unix f5

转换一下就好用了

但是运行有报错

/usr/local/lib/node_modules/f5/lib/f5.js:42
index = file.length - matchs[matchs.length - 1].length - splits[splits.l
^
TypeError: Cannot read property 'length' of null
at insertTempl (/usr/local/lib/node_modules/f5/lib/f5.js:42:42)
at insertSocket (/usr/local/lib/node_modules/f5/lib/f5.js:48:12)
at /usr/local/lib/node_modules/f5/lib/f5.js:201:24
at fs.js:266:14
at Object.oncomplete (fs.js:107:15)

不知道是不是转换出了问题

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant