compound icon indicating copy to clipboard operation
compound copied to clipboard

Cannot find module 'config/autoload' - after npm update (7/3/2013)

Open sagish opened this issue 13 years ago • 2 comments

this is a fresh installation of compound (also occurring on my old ones)

[local b]$ compound s

module.js:340 throw err; ^ Error: Cannot find module 'config/autoload' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:362:17) at require (module.js:378:17) at CompoundServer.module.exports as extensions at CompoundServer.initCompound (/usr/local/lib/node_modules/compound/lib/compound.js:107:14) at CompoundServer.init (/usr/local/lib/node_modules/compound/lib/server/compound.js:42:29) at /usr/local/lib/node_modules/compound/lib/compound.js:59:18 at process.startup.processNextTick.process._tickCallback (node.js:244:9)

config/autoload.coffee:

module.exports = (compound) -> [ require('jade-ext'), require('jugglingdb'), require('seedjs'), require('co-generators'), require('co-assets-compiler') ]

sagish avatar Mar 07 '13 13:03 sagish

I got this error in 13th and fixed it in 14th. What version are you running?

On Thursday, March 7, 2013, sagish wrote:

this is a fresh installation of compound (also occurring on my old ones)

[local b]$ compound s

module.js:340 throw err; ^ Error: Cannot find module 'config/autoload' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:362:17) at require (module.js:378:17) at CompoundServer.module.exports as extensionshttp://usr/local/lib/node_modules/compound/lib/server/extensions.js:17:20 at CompoundServer.initCompound (/usr/local/lib/node_modules/compound/lib/compound.js:107:14) at CompoundServer.init (/usr/local/lib/node_modules/compound/lib/server/compound.js:42:29) at /usr/local/lib/node_modules/compound/lib/compound.js:59:18 at process.startup.processNextTick.process._tickCallback (node.js:244:9)

config/autoload.coffee:

module.exports = (compound) -> [ require('jade-ext'), require('jugglingdb'), require('seedjs'), require('co-generators'), require('co-assets-compiler') ]

— Reply to this email directly or view it on GitHubhttps://github.com/1602/compound/issues/447 .

anatoliychakkaev avatar Mar 07 '13 14:03 anatoliychakkaev

working well on 1.1.5-14 thanks

sagish avatar Mar 08 '13 06:03 sagish