Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

大神,,您有空帮忙看一下是什么原因 可以不 #32

Open
gz-sky opened this issue Aug 31, 2020 · 0 comments
Open

大神,,您有空帮忙看一下是什么原因 可以不 #32

gz-sky opened this issue Aug 31, 2020 · 0 comments

Comments

@gz-sky
Copy link

gz-sky commented Aug 31, 2020

`./src/pages/user/userInfo/index.jsx
Module build failed (from ./node_modules/@tarojs/mini-runner/dist/loaders/fileParseLoader.js):
SyntaxError: unknown: Unexpected token (12:18)
10 |
11 | class UserInfo extends __BaseComponent {

12 | static $events = ["anonymousFunc0", "anonymousFunc1", "anonymousFunc2"];
| ^
13 | $usedState = ["$compid__29", "$compid__30", "$compid__31", "$compid__32", "$compid__33", "$compid__34", "$compid__35", "$compid__36", "userInfo", "openSetting", "logOut", "goAbout"];
14 |
15 | config = {

监听文件修改中...

Cannot read property 'hooks' of undefined

Cannot read property 'hooks' of undefined

(node:127932) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'hooks' of undefined
at Watching.handler (E:\mini-bookkeeping\client\node_modules@tarojs\mini-runner\dist\index.js:50:33)
at E:\mini-bookkeeping\client\node_modules\webpack\lib\Watching.js:99:9
at AsyncSeriesHook.eval [as callAsync] (eval at create (E:\mini-bookkeeping\client\node_modules\tapable\lib\HookCodeFactory.js:33:10), :24:1)
at AsyncSeriesHook.lazyCompileHook (E:\mini-bookkeeping\client\node_modules\tapable\lib\Hook.js:154:20)
at Watching._done (E:\mini-bookkeeping\client\node_modules\webpack\lib\Watching.js:98:28)
at E:\mini-bookkeeping\client\node_modules\webpack\lib\Watching.js:73:19
at Compiler.emitRecords (E:\mini-bookkeeping\client\node_modules\webpack\lib\Compiler.js:499:39)
at E:\mini-bookkeeping\client\node_modules\webpack\lib\Watching.js:54:20
at E:\mini-bookkeeping\client\node_modules\webpack\lib\Compiler.js:485:14
at eval (eval at create (E:\mini-bookkeeping\client\node_modules\tapable\lib\HookCodeFactory.js:33:10), :11:1)
at MiniPlugin. (E:\mini-bookkeeping\client\node_modules@tarojs\mini-runner\dist\plugins\MiniPlugin.js:107:17)
at Generator.next ()
at fulfilled (E:\mini-bookkeeping\client\node_modules@tarojs\mini-runner\dist\plugins\MiniPlugin.js:5:58)
(node:127932) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:127932) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant