我已经通过运行npm uninstall --save vuetify和npm run install --save vuetify@latest将Vuetify从版本2.2.x更新到了版本2.4.6。它以前是使用vue add vuetify安装的,现在为项目提供服务时会显示以下错误消息 error in ./node_modules/vuetify/lib/locale/fi.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: ENOENT: no such file or d
我需要帮助处理这个错误,我没有太多的经验,巴贝尔,当我试图运行的JS应用程序,它抛出这个错误。我经历过各种各样的解决办法,但我无法解决。当我从webpack中删除"./src/index.js"时,配置错误就消失了,但是应用程序没有功能。有人知道解决办法吗?
ERROR in ./node_modules/@babel/runtime/regenerator/index.js 1:0
Module parse failed: 'import' and 'export' may appear only with 'sourceType:
我正在尝试使用webpack和巴别塔,但我收到的错误似乎不是在线上的任何地方。这是非常简单的js,当我测试的时候,它仍然在不应该出现的地方给我错误。 var test = () => {
console.log("Test")
}
test() 我得到了一个错误: ERROR in ./dist/main.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
TypeError: val is not a function
ERROR in ./dist/main.js
Mo
这是在运行npm start时引发的
/Users/Gabe/esports-calendar/node_modules/@babel/core/lib/config/config-descriptors.js:178
throw new Error(`Plugin/Preset files are not allowed to export objects, only functions. In ${filepath}`);
^
Module build failed (from ./node_modules/babel-loader/lib/index.js)
使用此日志运行npm update后,nuxt构建失败
ERROR in ./.nuxt/client.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
ReferenceError: [BABEL] /home/mahdi/apps/*******/.nuxt/client.js: Unknown option: base.configFile. Check out http://babeljs.io/docs/usage/options/ for more information about op
我有一个rails应用程序,我希望将所做的更改发送到heroku服务器(cli:git push staging master)上的暂存环境。但是,当我推送我的代码时,我会得到以下错误。
remote: webpack config /tmp/build_73f0e68c/config/webpack/staging.js not found, please run 'bundle exec rails webpacker:install' to install Webpacker with default configs or add the missing c
我在用设置babel处理我的react应用程序。不幸的是,当我使用纱线设置它时,当我构建我的bundle.js文件时,我遇到了一些问题:
ERROR in ./src/app.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: Cannot find module '@babel/preset-env' from '/Users/react-file/Desktop/indecision'
at Function.resolveSync [as sy
我正在尝试安装新的react项目,但遇到了一些问题。
现在在解决了许多问题之后,我被这个问题卡住了:
ERROR in ./script.jsx
Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: Plugin/Preset files are not allowed to export objects, only functions. In D:\react_project\node_modules\babel-preset-es2015\lib\index.js
在安装@babel/cor
尝试学习webpack,但是每当我将模块节点引入webpack.config.js时,我都会遇到这个错误。
错误输出:
ERROR in ./src/main.js
Module build failed: Error: EISDIR: illegal operation on a directory, read
at Error (native)
at Object.fs.readSync (fs.js:731:19)
at tryReadSync (fs.js:486:20)
at Object.fs.readFileSync (fs.js:534:19)
你好,我试图连接到我的代码,另一个人给我的代码,当我试图粘贴它时,我得到错误。
./node_modules/react-native-reanimated/lib/index.web.js 3:9
Module parse failed: Unexpected token (3:9)
File was processed with these loaders:
* ../../../AppData/Roaming/npm/node_modules/expo-cli/node_modules/babel-loader/lib/index.js
You may need an addition
我试图使用反应与Symfony 4,但我无法实现。当我试图构建webpack时,我得到了通过.js ()添加到webpack.config.js中的每个.addEntry文件的以下错误
Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: Duplicate plugin/preset detected.
If you'd like to use two separate instances of a plugin,
they need separate names, e.g.
pl
如果任何人能提供一些建议的话,我正在寻找关于运行webpack时出现的以下错误的帮助。在我看来,使用的路径是develop/babel-core,而不是develop/node_modules/babe-core,但我在这里可能说错了。Webpack和巴别塔使用的是最新版本。
ERROR in ./js/scripts.js Module build failed: (SystemJS) ENOENT: no such file or directory, open
'/Users/dh/Documents/Websites/www.mpp.dev/wp-content/themes/
当我试图用Webpack4和Babel7构建一个react应用程序时,我遇到了以下错误。
ERROR in ./src/index.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: Cannot find module 'babel-preset-react' from '/Users/me/Desktop/reflask'
- If you want to resolve "react", use "module:react
ERROR in ./src/index.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
TypeError: Cannot read property 'next' of undefined
at evaluateSync (/Users/zhanghanfeng/Desktop/testrrw/node_modules/gensync/index.js:251:28)
at /Users/zhanghanfeng/Desktop/testrrw/node_modu
我基于Loopback.io swagger文件生成了带有swagger-codegen的javascript-es6客户端api。
我试图在我的.vue项目中导入它,但是我得到了如下的错误:
Module parse failed: Unexpected token (92:9)
You may need an appropriate loader to handle this file type.
| * @member {String} Name
| */
| Name = undefined;
| /**
| * @member {Number}
有一次,我可以在我的所有目录(组件、商店等)中创建一个index.js文件,该文件导出所有类似以下内容的组件,以便于访问:
export ComponentA from './ComponentA/ComponentA';
export ComponentB from './ComponentB/ComponentB';
export ComponentC from './ComponentC/ComponentC';
然后,我将只从另一个文件中导入需要的类,如下所示
import { ComponentA, ComponentC } from