tsumina / meteor-systemjs Goto Github PK
View Code? Open in Web Editor NEW[ABANDONED]meteor systemjs loader
[ABANDONED]meteor systemjs loader
Greetings,
I was wandering, since Meteor recently introduced ES2015 module support, would it be practical to use systemjs installed directly from npm within a meteor app, since it is now possible. Thus, for example Meteor-Aurelia could have a more "standard" usage?
With a fresh meteor app :
meteor --release [email protected] create tstV3_SystemJS
cd tstV3_SystemJS
meteor remove blaze-html-templates
meteor add tsumina:meteor-systemjs
meteor
on the server, we get this error :
=> Started proxy.
=> Started MongoDB.
Message: Using Systemjs Loader...
Message: Using Aurelia Framework...
=> Exited with code: 8
W20160208-12:05:35.664(0)? (STDERR)
W20160208-12:05:35.665(0)? (STDERR) C:\Users\...\AppData\Local\.meteor\packages\meteor-tool\1.1.13-modules.8\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\fibers\future.js:245
W20160208-12:05:35.665(0)? (STDERR) throw(ex);
W20160208-12:05:35.666(0)? (STDERR) ^
W20160208-12:05:35.666(0)? (STDERR) Error: Cannot find module 'babel-runtime/helpers/typeof'
W20160208-12:05:35.666(0)? (STDERR) at Function.Module._resolveFilename (module.js:338:15)
W20160208-12:05:35.666(0)? (STDERR) at Function.Module._load (module.js:280:25)
W20160208-12:05:35.666(0)? (STDERR) at Module.require (module.js:364:17)
W20160208-12:05:35.667(0)? (STDERR) at require (module.js:380:17)
W20160208-12:05:35.667(0)? (STDERR) at Npm.require (C:\Users\...\meteor\tstV3_SystemJS\.meteor\local\build\programs\server\boot.js:150:18)
W20160208-12:05:35.667(0)? (STDERR) at C:\Users\...\meteor\tstV3_SystemJS\.meteor\local\build\programs\server\packages\tsumina_meteor-systemjs.js:37:16
W20160208-12:05:35.667(0)? (STDERR) at C:\Users\...\meteor\tstV3_SystemJS\.meteor\local\build\programs\server\packages\tsumina_meteor-systemjs.js:5824:3
W20160208-12:05:35.668(0)? (STDERR) at C:\Users\...\meteor\tstV3_SystemJS\.meteor\local\build\programs\server\boot.js:242:10
W20160208-12:05:35.668(0)? (STDERR) at Array.forEach (native)
W20160208-12:05:35.668(0)? (STDERR) at Function._.each._.forEach (C:\Users\...\AppData\Local\.meteor\packages\meteor-tool\1.1.13-modules.8\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\underscore\underscore.js:79:11)
As we can see, it seems to be a depedency problem from system-polyfills.src.js
: tsumina_meteor-systemjs.js:37:16
var _typeof2 = require('babel-runtime/helpers/typeof');
Uncaught TypeError: Cannot read property match
of undefined
system.src.js:9
var isWindows = typeof process != 'undefined' && !!process.platform.match(/^win/);
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.