I cannot even create the first project #918
Replies: 2 comments 5 replies
-
Good Day While in the console. do not write anything to do with init. Make sure the directory for your project does not event exist. No init of any kind. > A vendure project is bootstrapped differently to the usual npm project(while anywhere you like in your file system)
|
Beta Was this translation helpful? Give feedback.
-
OK. Welcome to @vendure/create v1.0.1! Let's configure a new Vendure project. First a few questions: ✔ Which database are you using? › SQLite Setting up your new Vendure project in /Users/franckraberegis/devs/node/madashop ⠧ Installing dependencies |
Beta Was this translation helpful? Give feedback.
-
Hello,
Sorry if it's a dummy question but neither npx nor npm init works to create my first project to test vendure.
When launching the create command, I have the following error :
Welcome to @vendure/create v1.0.1!
Let's configure a new Vendure project. First a few questions:
✔ Which database are you using? › SQLite
✔ Which programming language will you be using? › JavaScript
✔ Populate with some sample product data? … no / yes
✔ What identifier do you want to use for the superadmin user? … superadmin
✔ What password do you want to use for the superadmin user? … superadmin
Setting up your new Vendure project in /Users/franckraberegis/devs/node/madashop
This may take a few minutes...
✖ Installing dependencies
→ An error occurred when installing dependencies. Try running with
--log-level info
or--log-level verbose
to diagnose.Generating app scaffold
Initializing server
{"message":"An error occurred when installing dependencies. Try running with
--log-level info
or--log-level verbose
to diagnose.","command":"yarnpkg add --exact --ignore-engines @vendure/core @vendure/email-plugin @vendure/asset-server-plugin @vendure/admin-ui-plugin better-sqlite3 --cwd /Users/franckraberegis/devs/node/madashop","context":{}}npm ERR! code 1
npm ERR! path /Users/franckraberegis/devs/node
npm ERR! command failed
npm ERR! command sh -c create madashop verbose
npm ERR! A complete log of this run can be found in:
2021-06-04T11_34_00_246Z-debug.log
Beta Was this translation helpful? Give feedback.
All reactions