DevNebulae
DevNebulae

Reputation: 4916

Aurelia Babel unknown option base.modules error

I downloaded the skeleton project from the Aurelia docs and tried starting it up by using the command:

gulp watch

However, I get the following error:

[09:48:13] gulp-notify: [Error running Gulp] Error: [BABEL] <filelocation>: Unknown option: base.modules

Is there a fix for this?

Upvotes: 0

Views: 534

Answers (2)

DevNebulae
DevNebulae

Reputation: 4916

I read over one step, which was the npm install command which you have to execute from the project folder. I got some errors that the CL.exe file was missing and after some Googling, I found out that was due to me not having Visual Studio 2013 not installed, which kept the utf-8 validator package from not installing.

Upvotes: 0

Jeremy Danyow
Jeremy Danyow

Reputation: 26406

did you follow the full project setup instructions on the docs page or in the project's readme.md?

Running The App

To run the app, follow these steps.

  1. Ensure that NodeJS is installed. This provides the platform on which the build tooling runs.
  2. From the project folder, execute the following command:

    npm install

  3. Ensure that Gulp is installed globally. If you need to install it, use the following command:

    npm install -g gulp

  4. Ensure that jspm is installed globally. If you need to install it, use the following command:

    npm install -g jspm

  5. Install the client-side dependencies with jspm:

    jspm install -y

  6. To run the app, execute the following command:

    gulp watch

  7. 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.

Upvotes: 2

Related Questions