commercelayer / commercelayer-cli-plugin-seeder Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
No response
Set specific plugin User-Agent header
No response
yes, I can
No response
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
No response
Linux
No response
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.