Import () dynamic loading error report

  1. this error occurs when the foreground dynamically loads the components provided by the background

clipboard.png

  1. the error is as follows:
Exception: TypeError: "caller", "callee", and "arguments" properties may not be accessed on strict mode functions or the arguments objects for calls to them at Function.remoteFunction

for more information about error reporting, please refer to https://stackoverflow.com/que.. There are specific pictures showing where to report an error

.
Mar.04,2021

install babel-cli


refer to babel6 problems caused by adding use strict by default


although an error is reported, it can be executed normally during execution. For those who want to study, you can study


install the babel-plugin-syntax-dynamic-import plug-in


here you can use require

Menu