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

windows环境下无法使用 #25

Open
PeterRao opened this issue Dec 16, 2014 · 0 comments
Open

windows环境下无法使用 #25

PeterRao opened this issue Dec 16, 2014 · 0 comments

Comments

@PeterRao
Copy link

1.开始是'cannote find module'的错误提示,查看了下代码,我用

varar pkg = new Package(path.resolve('path/to/module'));

暂时解决。
2. 之后是index.js报错

      throw er; // Unhandled 'error' event
            ^
TypeError: Cannot read property 'pkg' of null
    at getFiles (f:\workspace\Wiz\wizshare\node_modules\gulp-spm\lib\plugin\include.js:55:17)
    at DestroyableTransform._transform (f:\workspace\Wiz\wizshare\node_modules\gulp-spm\lib\plugin\include.js:29:15)
    at DestroyableTransform.Transform._read (f:\workspace\Wiz\wizshare\node_modules\through2\node_modules\readable-stream\lib\_stream_transform.js:184:10)
    at DestroyableTransform.Transform._write (f:\workspace\Wiz\wizshare\node_modules\through2\node_modules\readable-stream\lib\_stream_transform.js:172:12)
    at doWrite (f:\workspace\Wiz\wizshare\node_modules\through2\node_modules\readable-stream\lib\_stream_writable.js:237:10)
    at writeOrBuffer (f:\workspace\Wiz\wizshare\node_modules\through2\node_modules\readable-stream\lib\_stream_writable.js:227:5)
    at DestroyableTransform.Writable.write (f:\workspace\Wiz\wizshare\node_modules\through2\node_modules\readable-stream\lib\_stream_writable.js:194:11)
    at DuplexWrapper._write (f:\workspace\Wiz\wizshare\node_modules\gulp-spm\node_modules\duplexer2\index.js:57:18)
    at doWrite (f:\workspace\Wiz\wizshare\node_modules\gulp-spm\node_modules\duplexer2\node_modules\readable-stream\lib\_stream_writable.js:279:12)
    at writeOrBuffer (f:\workspace\Wiz\wizshare\node_modules\gulp-spm\node_modules\duplexer2\node_modules\readable-stream\lib\_stream_writable.js:266:5)
@PeterRao PeterRao changed the title windows下各种无法使用 windows环境下无法使用 Dec 16, 2014
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

No branches or pull requests

1 participant