meteor项目启动问题,提示这个错误,应该怎么改?

挑战
  • 575

clipboard.png
`

W20190306-13:59:23.862(8)? (STDERR) The `stylus` package has been deprecated.
W20190306-13:59:23.863(8)? (STDERR) 
W20190306-13:59:23.863(8)? (STDERR) To continue using the last supported version
W20190306-13:59:23.863(8)? (STDERR) of this package, pin your package version to
W20190306-13:59:23.863(8)? (STDERR) 2.513.14 (`meteor add stylus@=2.513.14`).
W20190306-13:59:23.863(8)? (STDERR) C:\Users\guanx\AppData\Local\.meteor\packages\meteor-tool\1.8.0_2\mt-os.windows.x86_64\dev_bundle\server-lib\node_modules\fibers\future.js:280
W20190306-13:59:23.863(8)? (STDERR)                         throw(ex);
W20190306-13:59:23.863(8)? (STDERR)                         ^
W20190306-13:59:23.863(8)? (STDERR) 
W20190306-13:59:23.863(8)? (STDERR) Error: Unknown asset: testData/sample.json
W20190306-13:59:23.863(8)? (STDERR)     at getAsset (E:\myProject\intelligentDetection\.meteor\local\build\programs\server\boot.js:329:19)
W20190306-13:59:23.864(8)? (STDERR)     at Object.getText (E:\myProject\intelligentDetection\.meteor\local\build\programs\server\boot.js:340:16)
W20190306-13:59:23.864(8)? (STDERR)     at testDataFiles.forEach.file (server/collections.js:27:29)
W20190306-13:59:23.864(8)? (STDERR)     at Array.forEach (<anonymous>)
W20190306-13:59:23.864(8)? (STDERR)     at collections.js (server/collections.js:21:15)
W20190306-13:59:23.868(8)? (STDERR)     at fileEvaluate (packages\modules-runtime.js:336:7)
W20190306-13:59:23.868(8)? (STDERR)     at Module.require (packages\modules-runtime.js:238:14)
W20190306-13:59:23.868(8)? (STDERR)     at require (packages\modules-runtime.js:258:21)
W20190306-13:59:23.868(8)? (STDERR)     at E:\myProject\intelligentDetection\.meteor\local\build\programs\server\app\app.js:196:1
W20190306-13:59:23.868(8)? (STDERR)     at E:\myProject\intelligentDetection\.meteor\local\build\programs\server\boot.js:411:36
W20190306-13:59:23.868(8)? (STDERR)     at Array.forEach (<anonymous>)
W20190306-13:59:23.868(8)? (STDERR)     at E:\myProject\intelligentDetection\.meteor\local\build\programs\server\boot.js:220:19
W20190306-13:59:23.868(8)? (STDERR)     at E:\myProject\intelligentDetection\.meteor\local\build\programs\server\boot.js:471:5
W20190306-13:59:23.868(8)? (STDERR)     at Function.run (E:\myProject\intelligentDetection\.meteor\local\build\programs\server\profile.js:510:12)
W20190306-13:59:23.868(8)? (STDERR)     at E:\myProject\intelligentDetection\.meteor\local\build\programs\server\boot.js:470:11

`

回复
阅读 1.1k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
宣传栏