wuba / Taro-Mortgage-Calculator

首个 Taro 3 多端统一实例 - 支持 React Native,Weapp,H5。
https://wuba.github.io/Taro-Mortgage-Calculator
MIT License
377 stars 86 forks source link

build:weapp success but build:qq failed #63

Open lwintermelon opened 2 months ago

lwintermelon commented 2 months ago

build error log

> npx yarn build:qq
yarn run v1.22.22
$ taro build --type qq
👽 Taro v3.5.7

Tips:
1. 建议开启持久化缓存功能,能有效提升二次编译速度,详情请参考: https://docs.taro.zone/docs/config-detail#cache。

× Webpack
  Compiled with some errors in 1.01m

✖ Errors:

ModuleParseError: Module parse failed: Unexpected token (14:7)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|
| // Components
> import typeof AccessibilityInfo from './Libraries/Components/AccessibilityInfo/AccessibilityInfo';
| import typeof ActivityIndicator from './Libraries/Components/ActivityIndicator/ActivityIndicator';
| import typeof Button from './Libraries/Components/Button';

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command