question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I am trying to use addmodule but I got error on fresh install:

`yarn cli addmodule Home client yarn run v1.9.4 $ node tools/cli addmodule Home client Copying client files… /Users/sys/Documents/Github/test/tools/cli/module.js:22 if (mkdir.code === 0) { ^

TypeError: Cannot read property ‘code’ of undefined at copyFiles (/Users/sys/Documents/Github/test/tools/cli/module.js:22:13) at module.exports (/Users/sys/Documents/Github/test/tools/cli/module.js:131:7) at Command.prog.version.command.argument.argument.action [as _action] (/Users/sys/Documents/Github/test/tools/cli.js:14:38) at Command._run (/Users/sys/Documents/Github/test/node_modules/caporal/lib/command.js:408:40) at Program._run (/Users/sys/Documents/Github/test/node_modules/caporal/lib/program.js:165:16) at Program.parse (/Users/sys/Documents/Github/test/node_modules/caporal/lib/program.js:268:17) at Object.<anonymous> (/Users/sys/Documents/Github/test/tools/cli.js:25:6) at Module._compile (module.js:652:30) at Object.Module._extensions…js (module.js:663:10) at Module.load (module.js:565:32) at tryModuleLoad (module.js:505:12) at Function.Module._load (module.js:497:3) at Function.Module.runMain (module.js:693:10) at startup (bootstrap_node.js:191:16) at bootstrap_node.js:612:3 error Command failed with exit code 1.`

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
lyzhovnikcommented, Sep 11, 2018

Hi again @Yourdigitalheart, I’ve fixed and updated the cli . Full info you can see here - https://github.com/sysgears/apollo-universal-starter-kit/pull/847

Thank you for the issue and waiting.

0reactions
lyzhovnikcommented, Sep 11, 2018

Hi, I’ve made a new branch without crud cli, also fixed bug and updated templates. Today I’ll merge it. Thank you for waiting.

Read more comments on GitHub >

github_iconTop Results From Across the Web

14386 - CLI ERROR Trying to establish connection is issued ...
The following error message or similar may be issued when attempting to define a libref using the ODBC engine via the Data Library...
Read more >
Troubleshooting AWS CLI errors - AWS Command Line Interface
Troubleshooting AWS CLI errors. This section covers common errors and troubleshooting steps to follow to resolve your issue. We suggest following the general ......
Read more >
cli-error - npm
This module is a set of helper functions and an error class designed to help creators of command line interfaces to structure their...
Read more >
How to fix this CLI error in SAS? - sql server - Stack Overflow
This is the code that's causing it: proc sql; connect to odbc(noprompt="Driver={DataDirect 6.1 SQL Server Wire Protocol};99.999.
Read more >
Application, database, and CLI errors - IBM
Application, database, and CLI errors. Some of the problems that you might encounter while you run Registry Services are described along with solutions...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found