我从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.
关于javascript - Aurelia Babel 未知选项 base.modules 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34016209/