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

import chronosjs as ES6 mosule #9

Open
charliehavak opened this issue Apr 17, 2016 · 0 comments
Open

import chronosjs as ES6 mosule #9

charliehavak opened this issue Apr 17, 2016 · 0 comments

Comments

@charliehavak
Copy link

charliehavak commented Apr 17, 2016

Hi -

I have react app with ES6 and webpack
I installed chronosjs with npm "npm install chronosjs"
Added the line import * as chronosjs from "chronosjs"
without any other code I'm getting many errors such as

ERROR in ./~/chronosjs/src/courier/PostMessageCourier.js
Module not found: Error: Cannot resolve module 'Chronos.PostMessageUtilities' in /home/charlieh/dev/kreative-frontend/node_modules/chronosjs/src/courier
 @ ./~/chronosjs/src/courier/PostMessageCourier.js 25:8-29:10

Can I consume Chronos or PostMessageCourier as node module?

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

1 participant