ERROR in ./node_modules/scratch-paint/src/components/paint-editor/paint-editor.jsx
Module build failed (from ./node_modules/babel-loader/lib/index.js):
SyntaxError: /Users/lesiyu/project/scratch-gui/node_modules/scratch-paint/src/components/paint-editor/paint-editor.jsx: [React Intl] `undefined()` must be called with an object expression with values that are React Intl Message Descriptors, also defined as object expressions.
ERROR in ./src/components/custom-procedures/custom-procedures.jsx
Module build failed (from ./node_modules/babel-loader/lib/index.js):
SyntaxError: /Users/lesiyu/project/scratch-gui/src/components/custom-procedures/custom-procedures.jsx: [React Intl] `undefined()` must be called with an object expression with values that are React Intl Message Descriptors, also defined as object expressions.
ERROR in ./src/containers/extension-library.jsx
Module build failed (from ./node_modules/babel-loader/lib/index.js):
SyntaxError: /Users/lesiyu/project/scratch-gui/src/containers/extension-library.jsx: [React Intl] `undefined()` must be called with an object expression with values that are React Intl Message Descriptors, also defined as object expressions.
可以尝试 npm install babel-plugin-react-intl@2.4.0