You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 9, 2020. It is now read-only.
Repository navigation
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
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']
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.
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.
Activity
larryhe commentedon Jan 12, 2016
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.
guybedford commentedon Jan 13, 2016
Babel 6 is not supported by SystemJS. Rather use Babel 5 here.
larryhe commentedon Jan 13, 2016
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.