Mini Program introduces async-validator to report errors

Mini Program introduces async-validator to do form verification, npm is installed and built, showing error:

thirdScriptError 

 sdk uncaught third Error 

 module "miniprogram_npm/async-validator/babel-runtime/helpers/extends" is not defined 

is there any way to solve the problem


github address

copy / src/ to your Mini Program folder
introduce all files in the folder to the path of other files, followed by a suffix (do not abbreviate the path)
for example:

import { format, complementError, asyncMap, warning, deepMerge } from './util';
import validators from './validator/';
import { messages as defaultMessages, newMessages } from './messages';
import { format, complementError, asyncMap, warning, deepMerge } from './util.js';
import validators from './validator/index.js';
import { messages as defaultMessages, newMessages } from './messages.js';

remember that all files need to be changed, because Mini Program does not automatically add and recognize suffixes

after the modification, you can introduce

normally.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e91d32-1388.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e91d32-1388.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?