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

How to compile agm to es5 . I am using universal and getting error due to es6 script #1137

Closed
pravashupreti opened this issue Sep 6, 2017 · 2 comments

Comments

@pravashupreti
Copy link

pravashupreti commented Sep 6, 2017

[email protected] start C:\xampp\htdocs\SOFTWEBDEVELOPERS\classmonk\client
ts-node src/server.ts

C:\xampp\htdocs\SOFTWEBDEVELOPERS\classmonk\client\node_modules@agm\core\index.js:2
export * from './directives';
^^^^^^
SyntaxError: Unexpected token export
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:542:28)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (C:\xampp\htdocs\SOFTWEBDEVELOPERS\classmonk\client\src\app\app.module.ts:7:1)

@nasreddineskandrani
Copy link
Contributor

Seems to be a duplicate #1052

@dockleryxk
Copy link

@nasreddineskandrani this is a duplicate, but just so you know @pravash-upreti there is a PR in to fix this: #1114

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

4 participants