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

Something went wrong with the action #14

Open
atomlab opened this issue Apr 20, 2014 · 5 comments
Open

Something went wrong with the action #14

atomlab opened this issue Apr 20, 2014 · 5 comments

Comments

@atomlab
Copy link

atomlab commented Apr 20, 2014

Hello. I have trouble with install "syte".

./syte.docpad$ docpad run

error: Failed to load the configuration path: /home/nodejs/sites/syte.docpad/docpad.coffee
error: Something went wrong with the action
error: An error occured: 
TypeError: string is not a function
    at Object.<anonymous> (/home/nodejs/sites/syte.docpad/docpad.coffee:87:64)
    at Object.<anonymous> (/home/nodejs/sites/syte.docpad/docpad.coffee:252:4)
    at Module._compile (module.js:456:26)
    at Object.loadFile (/home/nodejs/sites/syte.docpad/node_modules/docpad/node_modules/cson/node_modules/coffee-script/lib/coffee-script/coffee-script.js:182:19)
    at Module.load (/home/nodejs/sites/syte.docpad/node_modules/docpad/node_modules/cson/node_modules/coffee-script/lib/coffee-script/coffee-script.js:211:36)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.app.requireFresh (/home/nodejs/sites/syte.docpad/node_modules/docpad/node_modules/cson/node_modules/requirefresh/out/lib/requirefresh.js:30:14)
    at /home/nodejs/sites/syte.docpad/node_modules/docpad/node_modules/cson/node_modules/requirefresh/out/lib/requirefresh.js:16:22
    at b (domain.js:183:18)
    at Domain.run (domain.js:123:23)
    at app.requireFreshSafe (/home/nodejs/sites/syte.docpad/node_modules/docpad/node_modules/cson/node_modules/requirefresh/out/lib/requirefresh.js:13:7)
    at Object.CSON.parseFile (/home/nodejs/sites/syte.docpad/node_modules/docpad/node_modules/cson/out/lib/cson.js:28:9)
    at /home/nodejs/sites/syte.docpad/node_modules/docpad/out/lib/docpad.js:1583:23
    at Object.cb [as oncomplete] (fs.js:168:19)
info: Shutting down... cya next time!

How fix that? Thanks!

@dcardosods
Copy link

Same error here.

@karimtabet
Copy link

Same here, anyone find any solutions yet?

@chrisfranklin
Copy link

Deleting this bit from line 164 of docpad.coffee solved it for me:

    # Codepen
    Codepen:
      name: 'Codepen'
      url: "//codepen.io/#{envConfig.CODEPEN_USERNAME}"
        feeds:
          user: 'codepenUser'

@ghost
Copy link

ghost commented Oct 6, 2014

same error here

@chrisfranklin
Copy link

Try the fix posted above.

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

4 participants