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

Install fails on Azure / Windows #22

Closed
JedWatson opened this issue Jul 11, 2015 · 4 comments
Closed

Install fails on Azure / Windows #22

JedWatson opened this issue Jul 11, 2015 · 4 comments

Comments

@JedWatson
Copy link

Hi,

@shauntrennery recently opened an issue on one of my projects that uses cld (via limax by @lovell): keystonejs/keystone-utils#15

Just wanted to see if you can provide any insights into why this would be happening, or how we can fix it.

The error:

Application has thrown an uncaught exception and is terminated:
Error: Cannot find module './build/Release/cld'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object. (D:\home\site\wwwroot\node_modules\keystone-utils\node_modules\limax\node_modules\cld\index.js:2:12)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
@lovell
Copy link
Contributor

lovell commented Jul 11, 2015

I've published v1.1.1 of limax to npm with an update to the latest cld as it has recent commits/fixes related to Windows problems.

This seems to work for me on a Windows laptop - I'll add an AppVeyor CI job to limax to test Azure also.

@lovell
Copy link
Contributor

lovell commented Jul 11, 2015

Azure-based Appveyor CI also working - see https://ci.appveyor.com/project/lovell/limax

@sachss
Copy link

sachss commented Jul 13, 2015

UPDATE 07/15/2015
The latest limax build removes the cld dependency, so this issue no longer occurs.

Original post
The inclusion of Limax and specifically the CLD dependency makes it so that we can no longer deploy on a 2GiB EC2 instance. Can this be removed until it can be implemented as an optional feature?

This issue has been closed as a memory issue by node-cld: Issue #19

More discussion of this issue and confirmation of the memory error is discussed on Keystone at Issue #1476

@chuckwilliams37
Copy link

@JedWatson I was receiving that error until I completely deleted my project node_modules, then installed 'make' and 'node-gyp' and then re-ran 'npm install'.

@dachev dachev closed this as completed Jan 16, 2016
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

5 participants