Aurelia Babel 未知选项 base.modules 错误
Aurelia Babel unknown option base.modules error
我从 Aurelia docs 下载了框架项目并尝试使用以下命令启动它:
gulp watch
但是,我收到以下错误:
[09:48:13] gulp-notify: [Error running Gulp] Error: [BABEL] <filelocation>: Unknown option: base.modules
有解决办法吗?
您是否遵循了文档页面或 project's readme.md 中的完整项目设置说明?
Running The App
To run the app, follow these steps.
- Ensure that NodeJS is installed. This provides the platform on which the build tooling runs.
From the project folder, execute the following command:
npm install
Ensure that Gulp is installed globally. If you need to install it, use the following command:
npm install -g gulp
Ensure that jspm is installed globally. If you need to install it, use the following command:
npm install -g jspm
Install the client-side dependencies with jspm:
jspm install -y
To run the app, execute the following command:
gulp watch
Browse to http://localhost:9000 to see the app. You can make changes in the code found under src
and the
browser should auto-refresh itself as you save files.
我阅读了一个步骤,即您必须从项目文件夹中执行的 npm install
命令。我收到一些错误,指出 CL.exe
文件丢失,经过一些谷歌搜索后,我发现这是因为我没有安装 Visual Studio 2013,这使得 utf-8 validator
包无法安装.
我从 Aurelia docs 下载了框架项目并尝试使用以下命令启动它:
gulp watch
但是,我收到以下错误:
[09:48:13] gulp-notify: [Error running Gulp] Error: [BABEL] <filelocation>: Unknown option: base.modules
有解决办法吗?
您是否遵循了文档页面或 project's readme.md 中的完整项目设置说明?
Running The App
To run the app, follow these steps.
- Ensure that NodeJS is installed. This provides the platform on which the build tooling runs.
From the project folder, execute the following command:
npm install
Ensure that Gulp is installed globally. If you need to install it, use the following command:
npm install -g gulp
Ensure that jspm is installed globally. If you need to install it, use the following command:
npm install -g jspm
Install the client-side dependencies with jspm:
jspm install -y
To run the app, execute the following command:
gulp watch
Browse to http://localhost:9000 to see the app. You can make changes in the code found under
src
and the browser should auto-refresh itself as you save files.
我阅读了一个步骤,即您必须从项目文件夹中执行的 npm install
命令。我收到一些错误,指出 CL.exe
文件丢失,经过一些谷歌搜索后,我发现这是因为我没有安装 Visual Studio 2013,这使得 utf-8 validator
包无法安装.