第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定

./node_modules/taro-ui/dist/h5/components/pagination/index.js 101:11 Module parse failed: Unexpected token (101:11)

./node_modules/taro-ui/dist/h5/components/pagination/index.js?101:11
Module?parse?failed:?Unexpected?token?(101:11)


將taro-ui 從1.5.1版本強制降到1.5.0版本后編譯通過

1.5.2已經(jīng)修復(fù)


https://github.com/NervJS/taro-ui/issues/239

正在回答

5 回答

加了配置之后要重新編譯

0 回復(fù) 有任何疑惑可以回復(fù)我~

https://img1.sycdn.imooc.com//5c9345240001d11f09870555.jpg

重新編譯 就解決了


0 回復(fù) 有任何疑惑可以回復(fù)我~

https://taro-ui.aotu.io/#/docs/quickstart??
由于引用?node_modules?的模塊,默認(rèn)不會編譯,所以需要額外給 H5 配置?esnextModules,在 taro 項目的?config/index.js?中新增如下配置項:

h5: {

? esnextModules: ['taro-ui']

}


1 回復(fù) 有任何疑惑可以回復(fù)我~

怎么強制降低版本?

0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

fengshunsgit 提問者

把舊的卸了,然后安裝的時候指定版本,不過現(xiàn)在最新版已經(jīng)修復(fù)了
2019-01-09 回復(fù) 有任何疑惑可以回復(fù)我~

./node_modules/taro-ui/dist/h5/components/pagination/index.js 101:11 Module parse failed: Unexpected token (101:11)

./node_modules/taro-ui/dist/h5/components/pagination/index.js?101:11
Module?parse?failed:?Unexpected?token?(101:11)


將taro-ui 從1.5.1版本強制降到1.5.0版本后編譯通過

1.5.2已經(jīng)修復(fù)


https://github.com/NervJS/taro-ui/issues/239


1 回復(fù) 有任何疑惑可以回復(fù)我~

舉報

0/150
提交
取消
Taro多端框架開發(fā)外賣首頁
  • 參與學(xué)習(xí)       22906    人
  • 解答問題       92    個

Taro 一套代碼多端運行的框架,帶你掌握Taro開發(fā)基本語法,以及項目開發(fā)

進入課程

./node_modules/taro-ui/dist/h5/components/pagination/index.js 101:11 Module parse failed: Unexpected token (101:11)

我要回答 關(guān)注問題
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號