You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Module parse failed: baseVisitor[type] is not a function
File was processed with these loaders:
* ../../node_modules/@tarojs/mini-runner/node_modules/babel-loader/lib/index.js
* ../../node_modules/@tarojs/mini-runner/node_modules/babel-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
TypeError: baseVisitor[type] is not a function
at c (:64254/Users/jack/Desktop/git/taro-dynamic-import-weapp/node_modules/acorn-walk/dist/walk.js:29)
at Object.skipThrough (:64254/Users/jack/Desktop/git/taro-dynamic-import-weapp/node_modules/acorn-walk/dist/walk.js:186)
at c (:64254/Users/jack/Desktop/git/taro-dynamic-import-weapp/node_modules/acorn-walk/dist/walk.js:29)
at Object.base.NewExpression.base.CallExpression (:64254/Users/jack/Desktop/git/taro-dynamic-import-weapp/node_modules/acorn-walk/dist/walk.js:389)
at c (:64254/Users/jack/Desktop/git/taro-dynamic-import-weapp/node_modules/acorn-walk/dist/walk.js:29)
at Object.skipThrough (:64254/Users/jack/Desktop/git/taro-dynamic-import-weapp/node_modules/acorn-walk/dist/walk.js:186)
at c (:64254/Users/jack/Desktop/git/taro-dynamic-import-weapp/node_modules/acorn-walk/dist/walk.js:29)
at Object.base.ReturnStatement.base.YieldExpression.base.AwaitExpression (:64254/Users/jack/Desktop/git/taro-dynamic-import-weapp/node_modules/acorn-walk/dist/walk.js:240)
at c (:64254/Users/jack/Desktop/git/taro-dynamic-import-weapp/node_modules/acorn-walk/dist/walk.js:29)
at Object.skipThrough (:64254/Users/jack/Desktop/git/taro-dynamic-import-weapp/node_modules/acorn-walk/dist/walk.js:186)
at c (:64254/Users/jack/Desktop/git/taro-dynamic-import-weapp/node_modules/acorn-walk/dist/walk.js:29)
at Object.base.Program.base.BlockStatement (:64254/Users/jack/Desktop/git/taro-dynamic-import-weapp/node_modules/acorn-walk/dist/walk.js:198)
at c (:64254/Users/jack/Desktop/git/taro-dynamic-import-weapp/node_modules/acorn-walk/dist/walk.js:29)
at Object.skipThrough (:64254/Users/jack/Desktop/git/taro-dynamic-import-weapp/node_modules/acorn-walk/dist/walk.js:186)
at c (:64254/Users/jack/Desktop/git/taro-dynamic-import-weapp/node_modules/acorn-walk/dist/walk.js:29)
at Object.base.Function (:64254/Users/jack/Desktop/git/taro-dynamic-import-weapp/node_modules/acorn-walk/dist/walk.js:296)
at Object.../../node_modules/@tarojs/mini-runner/node_modules/babel-loader/lib/index.js!./src/pages/dynamic/index.tsx (index.js:12)
at __webpack_require__ (webpack_bootstrap:79)
at Module../src/pages/dynamic/index.tsx (._src_pages_dynamic_index.tsx:1)
at __webpack_require__ (webpack_bootstrap:79)
at checkDeferredModules (webpack_bootstrap:45)
at Array.webpackJsonpCallback [as push] (webpack_bootstrap:32)
at index.js:2
at require (VM119 WAService.js:2)
at <anonymous>:60:9
at doWhenAllScriptLoaded (<anonymous>:95:21)(env: macOS,mp,1.05.2105170; lib: 2.19.1)
点击跳转按钮无法跳转,报错
_tarojs_taro__WEBPACK_IMPORTED_MODULE_1___default.a.navigateTo is not a function
at TaroElement.onClick (._src_pages_static_index.tsx:15)
at TaroElement.dispatchEvent (.._src_dom_element.ts:189)
at dispatch (.._src_dom_event.ts:107)
at .._src_dom_event.ts:119
at Object.Xf [as unstable_batchedUpdates] (_Users_jack_Desktop_git_taro-dynamic-import-weapp_node_modules_react-reconciler_cjs_react-reconciler.production.min.js:141)
at Object.batchedEventUpdates (.._src_dsl_react.ts:127)
at Ui.eventHandler [as eh] (.._src_dom_event.ts:114)
at Object.i.safeCallback (VM119 WAService.js:2)
at VM119 WAService.js:2
at Sn (VM119 WAService.js:2)(env: macOS,mp,1.05.2105170; lib: 2.19.1)
demo启动时的报错信息
点击跳转按钮无法跳转,报错
运行环境
微信开发者工具:Stable 1.05.2105170
基础调试库:2.19.1
Node:v14.16.1
The text was updated successfully, but these errors were encountered: