nanwangjkl / sliding_puzzle

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

npm run build报错 #6

Open hualalalalae opened 1 year ago

hualalalalae commented 1 year ago

ERROR in ./libs/adapter/window.js Module build failed (from ./node_modules/babel-loader/lib/index.js): SyntaxError: D:\IDEA\workplace\gitProject\09-nodejs-pintu\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}

xxsliberty commented 1 year ago

我也是, 有解决吗

wulivictor commented 1 year ago