-
Notifications
You must be signed in to change notification settings - Fork 41
Error: Cannot read property 'System' of undefined #38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
From description it seems like a missing System.js dependency I'm guessing, did you execute all the installation process steps? |
I am getting the exact same error. I did run the commands in the correct order. At first run I did not have Global JSPM installed, if that should make a difference. |
Cool, thanks for reporting, I will get a clean clone and try to reproduce on my machine. |
Originally I used MacOS X. I just tried from Ubuntu 16.04 with the same results - and this time I did install JSPM before anything else :) |
I'm getting same issue. |
I have another version of the same project, when I installed it at first it was using SystemJS v0.19.41 and the problem came when it suddenly started to use SystemJS v0.20.4 Dev. Check the system.js file within jspm_packages. |
My system.js is v0.20.4 Dev as well. Can I force it to use v0.19.41? |
It did not help to use system.js 0.19.32 in my case. |
I copy and paste the systemjs from my other project and it worked. another thing that worked to me was updating the jspm to the latest beta and also the typescript plugin, it would require that you change the code to match the breaking changes like import {poperty} from 'noESModule' to be impor noEsModule from 'noESModule'; noESModule.property; |
I created this issue, jspm/jspm#223, maybe the "^0.17.0-beta.32" because of the ^ is downloading the latest beta. we can try using "0.17.0-beta.32" instead, and see if it works. update: it seems to work, so by locking the version to be exact "jspm 0.17.0-beta.32" would work. but I suggest you to update it to the latest and fix your imports. |
@JulianIsrael you linked a wrong issue, this is correct I believe: jspm/jspm#2233 |
@JulianIsrael thanks, pinning jspm in package.json worked: |
Thanks @JulianIsrael It works with @piotrwitek its better to change jspm version to |
@maxali thanks for investigation and finding out the problem, I gonna do necessary version lock to do a quick fix, but we need to update imports to adhere to breaking changes introduced in SystemJS 0.20 in order to be able to update to new releases (source: http://guybedford.com/systemjs-alignment) Follow up in: #39 |
I am getting
Cannot read property 'System' of undefined
whenever I try tonpm start
. I clone the package again and still getting this error.The text was updated successfully, but these errors were encountered: