0

我的应用程序没有启动,我在 localhost:3000 上收到此消息,但我无法更新“Meteor update --patch”,当我在具有管理员权限的命令行中键入流星更新 --patch 时,它说命令无效,请让我知道我是否可以克服这个问题。

=> A patch (Meteor 1.7.0.4) for your current release is available!
   Update this project now with 'meteor update --patch'.
Errors prevented startup:

While processing files with less (for target web.browser):
imports/plugins/included/default-theme/client/styles/main.less:159: Unknown import: {}/node_modules/react-select/less/select.less

While minifying app stylesheet:
module.js:547:15: Cannot find module 'autoprefixer'
  at Function.Module._resolveFilename (module.js:547:15)
  at Function.resolve (internal/module.js:18:19)
  at Object.require (C:\tools\isobuild\bundler.js:1927:34)
  at packages/minifier-postcss/plugin/minify-css.js:52:37
  at Array.forEach (<anonymous>)
  at getPostCSSPlugins (packages/minifier-postcss/plugin/minify-css.js:51:43)
  at packages/minifier-postcss/plugin/minify-css.js:155:36
  at Array.map (<anonymous>)
  at mergeCss (packages/minifier-postcss/plugin/minify-css.js:139:23)
  at CssToolsMinifier.processFilesForBundle (packages/minifier-postcss/plugin/minify-css.js:109:18)


While processing files with less (for target web.browser.legacy):
imports/plugins/included/default-theme/client/styles/main.less:159: Unknown import: {}/node_modules/react-select/less/select.less

While minifying app stylesheet:
module.js:547:15: Cannot find module 'autoprefixer'
  at Function.Module._resolveFilename (module.js:547:15)
  at Function.resolve (internal/module.js:18:19)
  at Object.require (C:\tools\isobuild\bundler.js:1927:34)
  at packages/minifier-postcss/plugin/minify-css.js:52:37
  at Array.forEach (<anonymous>)
  at getPostCSSPlugins (packages/minifier-postcss/plugin/minify-css.js:51:43)
  at packages/minifier-postcss/plugin/minify-css.js:155:36
  at Array.map (<anonymous>)
  at mergeCss (packages/minifier-postcss/plugin/minify-css.js:139:23)
  at CssToolsMinifier.processFilesForBundle (packages/minifier-postcss/plugin/minify-css.js:109:18)


Your application has errors. Waiting for file change.
Started MongoDB.
4

1 回答 1

0

您必须在启动应用程序之前安装依赖项:

meteor npm install

于 2018-08-16T16:21:06.697 回答