Skip to content
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.

Error installing 0.2.0 on Azure (0.1.13 Works) #15

Closed
shauntrennery opened this issue Jun 18, 2015 · 10 comments
Closed

Error installing 0.2.0 on Azure (0.1.13 Works) #15

shauntrennery opened this issue Jun 18, 2015 · 10 comments

Comments

@shauntrennery
Copy link

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)

@JedWatson
Copy link
Member

cld is a dependency of the new package we're using to generate slugs, limax. Looks like it is having issues on Azure...

Sorry for the delay responding, @shauntrennery have you learned anything since posting this issue? maybe we should open an issue on one of those projects, I don't have a lot of experience with why this would be failing.

@shauntrennery
Copy link
Author

@JedWatson unfortunately not. Not had too much time to dig deeper. I'm relying on 0.1.13 for now. Who would you recommend to host Keystone sites?

@JedWatson
Copy link
Member

We use Heroku for simple hosting cases, or build our own AWS configs for more complicated setups where we want control over hardware / load balancers / etc.

Definitely don't want to block using Azure as a host though. Unfortunately I also don't have a Windows development machine handy, do you know if the build works on Windows?

@shauntrennery
Copy link
Author

Sorry, not proving to be much help. I'm a Mac user myself.

@JedWatson
Copy link
Member

No problem. I'll see what I can do to follow this up.

@lovell
Copy link
Contributor

lovell commented Jul 14, 2015

limax v1.1.2 removed cld as a dependency.

@JedWatson
Copy link
Member

Thanks @lovell! @shauntrennery this should mean everything's resolved. I'll publish a new version of keystone-utils with an updated dependency, can you let me know if it works now?

@shauntrennery
Copy link
Author

@JedWatson Many thanks. I'll include the new version in my next deployment and update this accordingly.

@shauntrennery
Copy link
Author

Deployed version 0.2.2 to our Azure production site last night and all is working as expected. Many thanks.

@JedWatson
Copy link
Member

Great :)

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

No branches or pull requests

3 participants