unchainedshop / create Goto Github PK
View Code? Open in Web Editor NEWBoilerplate to setup an e-commerce system based on the Unchained Engine
Boilerplate to setup an e-commerce system based on the Unchained Engine
Hello there,
I would like to try a fresh copy of unchained but it keeps failing when I try to npm run install-all. You can find terminal output and log files below.
npm run install-all
@unchainedshop/[email protected] install-all
npm install && run-p --print-label install:*
added 64 packages, and audited 64 packages in 2s
17 packages are looking for funding
run npm fund
for details
found 0 vulnerabilities
[install:engine ]
[install:engine ] > @unchainedshop/[email protected] install:engine
[install:engine ] > cd engine && npm install
[install:engine ]
[install:storefront]
[install:storefront] > @unchainedshop/[email protected] install:storefront
[install:storefront] > cd storefront && npm install
[install:storefront]
[install:engine ] npm ERR! Cannot read property 'matches' of undefined
[install:engine ]
[install:engine ] npm ERR! A complete log of this run can be found in:
[install:engine ] npm ERR! /Users/mahirsenturk/.npm/_logs/2020-11-19T07_43_33_442Z-debug.log
[install:engine ] npm ERR! code 1
[install:engine ] npm ERR! path /Users/mahirsenturk/Developer/your-awesome-ecommerce-project
[install:engine ] npm ERR! command failed
[install:engine ] npm ERR! command sh -c cd engine && npm install
[install:engine ]
[install:engine ] npm ERR! A complete log of this run can be found in:
[install:engine ] npm ERR! /Users/mahirsenturk/.npm/_logs/2020-11-19T07_43_33_545Z-debug.log
ERROR: "install:engine" exited with 1.
npm ERR! code 1
npm ERR! path /Users/mahirsenturk/Developer/your-awesome-ecommerce-project
npm ERR! command failed
npm ERR! command sh -c npm install && run-p --print-label install:*
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/mahirsenturk/.npm/_logs/2020-11-19T07_43_33_716Z-debug.log
Log Files:
2020-11-19T07_43_33_716Z-debug.log
git clone [email protected]:unchainedshop/create.git
cd create/engine
npm install
npm run dev
Navigate to http://localhost:4010/sign-in/
Sign in with with [email protected] / password
Logged into the control panel as admin
Currently, there are only helper scripts are added in the root folder package.json when a user creates a full-stack template.
there should be eslint/prettier linter/formater packages included by default so that the environment is set and ready to do actual development out of the box.
it would also be great if, after injecting these packages the script installs these devDependencies
before completing the template generation.
so basically:
Theme will be provided via en ENV var, so it's clear on startup how it's themed
We don't need the CMS integration anymore, maybe an upcoming template will contain a strapi or directus integration.
$Unternehmen $Optional
& i_have_read_term in Checkout (Bestellung ohne Konto)After a fresh clone/install, I see the following error when navigating to the engine: http://localhost:4010/
Your app is crashing. Here's the latest log:
Started MongoDB.
ENOENT: no such file or directory, open '.env'
2020-12-22T17:43:00.961Z [unchained] info: WorkerDirector -> Registered EXTERNAL [email protected] (External plugin as a placeholder for workers who interact with the system only via GraphQL) {}
You are using the default secret "secret" which is not secure.
Please change it with a strong random token.
[FilesCollection.storagePath] Set to: assets/app/uploads/avatars
/Users/schmidsi/.meteor/packages/meteor-tool/.1.11.1.116t4gt.0c4d++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:280
throw(ex);
^
Error: There is already a collection named "users"
at new Collection (packages/mongo/collection.js:122:15)
at module (packages/unchained:core-users/db/collections.js:8:22)
at fileEvaluate (packages/modules-runtime.js:336:7)
at Module.require (packages/modules-runtime.js:238:14)
at Module.moduleLink [as link] (/Users/schmidsi/.meteor/packages/modules/.0.15.0.pyq4ir.fh6r9++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/reify/lib/runtime/index.js:52:22)
at module (packages/unchained:core-users/db/schema.js:1:411)
at fileEvaluate (packages/modules-runtime.js:336:7)
at Module.require (packages/modules-runtime.js:238:14)
at Module.moduleLink [as link] (/Users/schmidsi/.meteor/packages/modules/.0.15.0.pyq4ir.fh6r9++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/reify/lib/runtime/index.js:52:22)
at module (packages/unchained:core-users/users.js:1:26)
at fileEvaluate (packages/modules-runtime.js:336:7)
at Module.require (packages/modules-runtime.js:238:14)
at require (packages/modules-runtime.js:258:21)
at /Users/schmidsi/Development/@unchainedshop/create/engine/.meteor/local/build/programs/server/packages/unchained_core-users.js:762:15
at /Users/schmidsi/Development/@unchainedshop/create/engine/.meteor/local/build/programs/server/packages/unchained_core-users.js:767:3
at /Users/schmidsi/Development/@unchainedshop/create/engine/.meteor/local/build/programs/server/boot.js:401:38
Exited with code: 1
Your application is crashing. Waiting for file change.
I've added E-Mail administration but styling is still missing for this part.
For the moment, unchained create should only consist of the frontend part, ramping up a full-blown engine on-premise is something we will try again later, so:
3-level category-structure:
The current implementation generates subscriptions out of PlanProducts and also stores payment credentials for further charging but it actually fakes the "Subscription" feature and does not automatically generate new orders and therefore does not charge those. Also the subscriptions cannot be terminated:
A fresh clone of this repo is currently >190MB. This is because it was first created for a client and then transformed.
At some point, we should remove the whole history: https://stackoverflow.com/questions/13716658/how-to-delete-all-commit-history-in-github
Flow:
Guests:
Users:
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.