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

Module: requiring compiler for client-side use #4024

Closed
jannavarro opened this issue Jun 29, 2015 · 4 comments
Closed

Module: requiring compiler for client-side use #4024

jannavarro opened this issue Jun 29, 2015 · 4 comments

Comments

@jannavarro
Copy link

I installed coffeescript in a clientside javascript project using webpack and babel. My intention is to use coffeescript modules in my javacsript project similar to this. After installing it I run the project and it is looking for node module components. some of the errors are:

Module not found: Error: Cannot resolve module 'child_process' in D:...\node_modules\coffee-script\lib\coffee-script

Module not found: Error: Cannot resolve module 'module' in in D:...\node_modules\coffee-script\lib\coffee-script

I am not sure if there is just a setup issue in what I am doing.

@nickdima
Copy link

nickdima commented Jul 4, 2015

Are you using coffee-loader with webpack?

@jannavarro
Copy link
Author

@nickdima not yet. thanks for your response. I will try this and update this thread.

@GeoffreyBooth
Copy link
Collaborator

Fixed by #4501

@GeoffreyBooth GeoffreyBooth changed the title coffeescript on clientside Module: requiring compiler for client-side use May 6, 2017
@jannavarro
Copy link
Author

I haven't tried this again but based on the comment, #4501 fixed this.

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

3 participants