Skip to content

Keep getting Wrong options passed into the Clapp constructor #36

Description

@dca123

Hi I keep getting the following error when i attempt to npm run bot

Error: Wrong options passed into the Clapp constructor. Please refer to the documentation.

My node ./lib/index.js keeps failing as it says in the log & my npm-debug.log is

0 info it worked if it ends with ok
1 verbose cli [ '/home/xibot/.nvm/versions/node/v7.4.0/bin/node',
1 verbose cli   '/home/xibot/.nvm/versions/node/v7.4.0/bin/npm',
1 verbose cli   'run',
1 verbose cli   'bot' ]
2 info using npm@4.0.5
3 info using node@v7.4.0
4 verbose run-script [ 'prebot', 'bot', 'postbot' ]
5 info lifecycle schedulebot@2.0.0~prebot: schedulebot@2.0.0
6 silly lifecycle schedulebot@2.0.0~prebot: no script for prebot, continuing
7 info lifecycle schedulebot@2.0.0~bot: schedulebot@2.0.0
8 verbose lifecycle schedulebot@2.0.0~bot: unsafe-perm in lifecycle true
9 verbose lifecycle schedulebot@2.0.0~bot: PATH: /home/xibot/.nvm/versions/node/v7.4.0/lib/node_modules/npm/bin/node-gyp-bin:/home/xibot/schedulebot/node_modules/.bin:/home/xibot/.nvm/versions/node/v7.4.0/bin:/home/xibot/bin:/home/xibot/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/snap/bin
10 verbose lifecycle schedulebot@2.0.0~bot: CWD: /home/xibot/schedulebot
11 silly lifecycle schedulebot@2.0.0~bot: Args: [ '-c', 'node ./lib/index.js' ]
12 silly lifecycle schedulebot@2.0.0~bot: Returned: code: 1  signal: null
13 info lifecycle schedulebot@2.0.0~bot: Failed to exec bot script
14 verbose stack Error: schedulebot@2.0.0 bot: `node ./lib/index.js`
14 verbose stack Exit status 1
14 verbose stack     at EventEmitter.<anonymous> (/home/xibot/.nvm/versions/node/v7.4.0/lib/node_modules/npm/lib/utils/lifecycle.js:279:16)
14 verbose stack     at emitTwo (events.js:106:13)
14 verbose stack     at EventEmitter.emit (events.js:191:7)
14 verbose stack     at ChildProcess.<anonymous> (/home/xibot/.nvm/versions/node/v7.4.0/lib/node_modules/npm/lib/utils/spawn.js:40:14)
14 verbose stack     at emitTwo (events.js:106:13)
14 verbose stack     at ChildProcess.emit (events.js:191:7)
14 verbose stack     at maybeClose (internal/child_process.js:885:16)
14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
15 verbose pkgid schedulebot@2.0.0
16 verbose cwd /home/xibot/schedulebot
17 error Linux 4.4.0-87-generic
18 error argv "/home/xibot/.nvm/versions/node/v7.4.0/bin/node" "/home/xibot/.nvm/versions/node/v7.4.0/bin/npm" "run" "bot"
19 error node v7.4.0
20 error npm  v4.0.5
21 error code ELIFECYCLE
22 error schedulebot@2.0.0 bot: `node ./lib/index.js`
22 error Exit status 1
23 error Failed at the schedulebot@2.0.0 bot script 'node ./lib/index.js'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the schedulebot package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error     node ./lib/index.js
23 error You can get information on how to open an issue for this project with:
23 error     npm bugs schedulebot
23 error Or if that isn't available, you can get their info via:
23 error     npm owner ls schedulebot
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions