nanwangjkl / sliding_puzzle

微信小程序,一个滑块拼图游戏
304 stars 115 forks source link

npm run build 报错 #5

Open ncguobiao opened 3 years ago

nanwangjkl commented 3 years ago

请给出报错内容

medisean commented 3 years ago

请给出报错内容

ERROR in ./libs/adapter/window.js Module build failed (from ./node_modules/babel-loader/lib/index.js): SyntaxError: /Users/zouliangming/workspace/sliding_puzzle/libs/adapter/window.js: Export 'setTimeout' is not defined. (29:8)

27 | 28 | export {canvas}

29 | export {setTimeout} | ^ 30 | export {setInterval} 31 | export {clearTimeout} 32 | export {clearInterval}

liyqa01 commented 2 years ago

同问,怎么解决的呀

zhangchengtest commented 1 year ago

同问,怎么解决的呀

Mintonmu commented 1 year ago

+1

hualalalalae commented 1 year ago

同问...