Skip to content
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

reflect-metadata shim is required when dist folder deployed to server #394

Closed
jkyoutsey opened this issue Mar 7, 2016 · 2 comments
Closed

Comments

@jkyoutsey
Copy link

Working with both v2 and v3, when I deploy the dist folder to a web server running nginx I get the following error:

Uncaught reflect-metadata shim is required when using class decorators
(anonymous function) @ decorators.ts:242e @ bootstrap 076ed80742c6fe5e2d07:71
(anonymous function) @ decorators.ts:9e @ bootstrap 076ed80742c6fe5e2d07:71
(anonymous function) @ di.ts:18e @ bootstrap 076ed80742c6fe5e2d07:71
(anonymous function) @ di.ts:2e @ bootstrap 076ed80742c6fe5e2d07:71
(anonymous function) @ metadata.ts:6e @ bootstrap 076ed80742c6fe5e2d07:71
(anonymous function) @ core.ts:6e @ bootstrap 076ed80742c6fe5e2d07:71
(anonymous function) @ main.ts:4e @ bootstrap 076ed80742c6fe5e2d07:71
window.webpackJsonp @ bootstrap 076ed80742c6fe5e2d07:42
(anonymous function) @ main.3cc2ac9220475f2bde8b.bundle.js:1

I will happily provide a zip of the full project.
I've only added bootstrap and sass-loader npm packages.
Immensely simple set of code.

@PatrickJS
Copy link
Owner

can you email me the zip at patrick (at) gdi2290 (dot) com

@jkyoutsey
Copy link
Author

I swear. Never works the same way twice. Works fine now. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants