我目前正在为测试网而不是实时应用程序 fork uniswap
我已经绑定(bind)了测试网并部署了合约。在执行此操作之前,我能够将其放入 Docker 容器中。
完成此操作后,我正在运行
yarn 升级
NODE_OPTIONS=--openssl-legacy-provider
yarn 添加沉浸器jotai-immer
然后
yarn 开始
这之前在本地启动了应用程序,现在我收到此错误
Failed to compile.
./node_modules/@react-spring/web/dist/esm/index.js 113:11
Module parse failed: Unexpected token (113:11)
File was processed with these loaders:
* ./node_modules/react-scripts/node_modules/babel-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
| this.transforms = i;
| }
> _value = null;
| get() {
| return this._value || (this._value = this._get());
我以前从未见过它,任何人都可以提供修复或查明问题吗?
我目前正在为测试网而不是实时应用程序 fork uniswap
我已经绑定(bind)了测试网并部署了合约。在执行此操作之前,我能够将其放入 Docker 容器中。
完成此操作后,我正在运行
yarn 升级
NODE_OPTIONS=--openssl-legacy-provider
yarn 添加沉浸器jotai-immer
然后
yarn 开始
这之前在本地启动了应用程序,现在我收到此错误
Failed to compile.
./node_modules/@react-spring/web/dist/esm/index.js 113:11
Module parse failed: Unexpected token (113:11)
File was processed with these loaders:
* ./node_modules/react-scripts/node_modules/babel-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
| this.transforms = i;
| }
> _value = null;
| get() {
| return this._value || (this._value = this._get());
我以前从未见过它,任何人都可以提供修复或查明问题吗?
最佳答案
将 @react-spring/web 更新到最新版本后,我遇到了同样的问题。我将版本回滚到“9.6.1”。现在可以了。
关于reactjs - Babel 加载器问题 "You may need an additional loader to handle the result of these loaders" `/@react-spring/web/dist/`,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/75604399/