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

npm start #192

Open
SaneHe opened this issue Nov 22, 2018 · 2 comments
Open

npm start #192

SaneHe opened this issue Nov 22, 2018 · 2 comments

Comments

@SaneHe
Copy link

SaneHe commented Nov 22, 2018


每次安装都会报这个错误?

`

npm start

omi-mp@0.0.0 start D:\work\project\test\xyk
concurrently --kill-others "gulp" "node scripts/start.js"

[0] assert.js:42
[0] throw new errors.AssertionError({
[0] ^
[0]
[0] AssertionError [ERR_ASSERTION]: Task function must be specified
[0] at Gulp.set [as _setTask] (D:\work\project\test\xyk\node_modules\undertaker\lib\set-task.js:10:3)
[0] at Gulp.task (D:\work\project\test\xyk\node_modules\undertaker\lib\task.js:13:8)
[0] at Object. (D:\work\project\test\xyk\gulpfile.js:9:6)
[0] at Module._compile (module.js:652:30)
[0] at Object.Module._extensions..js (module.js:663:10)
[0] at Module.load (module.js:565:32)
[0] at tryModuleLoad (module.js:505:12)
[0] at Function.Module._load (module.js:497:3)
[0] at Module.require (module.js:596:17)
[0] at require (internal/module.js:11:18)
[0] gulp exited with code 1
--> Sending SIGTERM to other processes..
[1] node scripts/start.js exited with code 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! omi-mp@0.0.0 start: concurrently --kill-others "gulp" "node scripts/start.js"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the omi-mp@0.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

`

@dntzhang
Copy link
Collaborator

dntzhang commented Nov 22, 2018

最后怎么解决?我试了下不会出现。看我下面的测试截图~~

@dntzhang
Copy link
Collaborator

qq 20181122163934

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants