Git Product home page Git Product logo

commercelayer-cli-plugin-seeder's People

Contributors

dependabot[bot] avatar malessani avatar pviti avatar semantic-release-bot avatar

Stargazers

 avatar

Watchers

 avatar  avatar

commercelayer-cli-plugin-seeder's Issues

Add configurable user agent

Is your feature request related to a problem? Please describe

No response

Describe the solution you'd like

Set specific plugin User-Agent header

Describe alternatives you've considered

No response

Are you able to assist to bring the feature to reality?

yes, I can

Additional context

No response

Cannot seed data onlinux

Describe the bug

I cloned the repo but when I tried to seed data it doesn't work!

commercelayerdemo$ npm run seeder:seed -ws --if-present

> @commercelayer/[email protected] seeder:seed
> npx ts-node ./scripts/seed.ts

Need to install the following packages:
  [email protected]
Ok to proceed? (y) y
Error: Command failed: commercelayer applications:info --json
 ›   Error: Unable to find configuration file for application

    at checkExecSyncError (node:child_process:871:11)
    at execSync (node:child_process:943:15)
    at getCurrentApplicationInfo (/demo-store-core/packages/setup/scripts/utils/application.ts:17:35)                                                                           
    at commercelayerdemo/demo-store-core/packages/setup/scripts/seed.ts:12:59
    at Generator.next (<anonymous>)
    at commercelayerdemo/demo-store-core/packages/setup/scripts/seed.ts:8:71
    at new Promise (<anonymous>)
    at __awaiter (commercelayerdemo/demo-store-core/packages/setup/scripts/seed.ts:4:12)                                                                                                         
    at commercelayerdemo/demo-store-core/packages/setup/scripts/seed.ts:10:13 {
  status: 2,
  signal: null,
  output: [
    null,
    Buffer(0) [Uint8Array] [],
    Buffer(64) [Uint8Array] [
       32, 226, 128, 186,  32,  32,  32,  69, 114, 114, 111,
      114,  58,  32,  85, 110,  97,  98, 108, 101,  32, 116,
      111,  32, 102, 105, 110, 100,  32,  99, 111, 110, 102,
      105, 103, 117, 114,  97, 116, 105, 111, 110,  32, 102,
      105, 108, 101,  32, 102, 111, 114,  32,  97, 112, 112,
      108, 105,  99,  97, 116, 105, 111, 110,  10
    ]
  ],
  pid: 473689,
  stdout: Buffer(0) [Uint8Array] [],
  stderr: Buffer(64) [Uint8Array] [
     32, 226, 128, 186,  32,  32,  32,  69, 114, 114, 111,
    114,  58,  32,  85, 110,  97,  98, 108, 101,  32, 116,
    111,  32, 102, 105, 110, 100,  32,  99, 111, 110, 102,
    105, 103, 117, 114,  97, 116, 105, 111, 110,  32, 102,
    105, 108, 101,  32, 102, 111, 114,  32,  97, 112, 112,
    108, 105,  99,  97, 116, 105, 111, 110,  10
  ]
}
npm ERR! Lifecycle script `seeder:seed` failed with error: 
npm ERR! Error: command failed 
npm ERR!   in workspace: @commercelayer/[email protected] 
npm ERR!   at location: commercelayerdemo/demo-store-core/packages/setup          

To Reproduce

No response

System

Linux

Additional context

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.