Skip to content
This repository was archived by the owner on Oct 9, 2020. It is now read-only.
This repository was archived by the owner on Oct 9, 2020. It is now read-only.

the build example in this documentation is not working #463

Closed

Description

@larryhe

Hi guys,
I am following example exactly in this documentation, but got below build error. any suggestions? Thanks for your time. By the way, it works fine when I do jspm bundle-sfx. below is my config.js

Build error
[Error: ENOENT, open 'demo2/babel-runtime/helpers/interop-require-default.js']

//config.js

System.config({
  baseURL: "./",
  defaultJSExtensions: true,
  transpiler: "babel",
  paths: {
      'babel': './node_modules/babel-core/index.js'
  }
});

Activity

  1. larryhe commented on Jan 12, 2016

    @larryhe
    Author

    Also if I use JSPM to automatically generate config, it works fine. But it does not work with above simple config. Seems that JSPM does a lot of complicated stuffs behind the scene. because I don't want to use JSPM to manage the packages(We use bower here) and just want to use SystemJS and SystemBuilder. Is it easy to do it with JSPM? Thanks for your time.

  2. guybedford commented on Jan 13, 2016

    @guybedford
    Member

    Babel 6 is not supported by SystemJS. Rather use Babel 5 here.

  3. larryhe commented on Jan 13, 2016

    @larryhe
    Author

    Hi @guybedford , thanks for your quick reply. npm install babel-core@5.8.34 fixes the my problem. You might need to update documentation. because latest babel does not work at all. Also do you have plan to upgrade babel. The babel that SystemJS builder and JSPM is using is quite old. Thanks for your time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions