#Cannot GET / error
113 messages · Page 1 of 1 (latest)
This is just the api, you need to host the storefront or admin (usually port 8000 and 7000)
try
ok lemme start the program agin
okay
did you create the medusa project with the storefront and admin?
you can use
npx create-medusa-app
to create all of these
its okay
?
i'd select the default
wat now?
I personally use the Next.js Starter, but it's up to you
ok ill try that one
okay
Its installing da packages
nice
at gt (/home/pi/.npm/_npx/cc876d312f16923e/node_modules/create-medusa-app/dist/index.js:1:113620)
at /home/pi/.npm/_npx/cc876d312f16923e/node_modules/create-medusa-app/dist/index.js:1:123343
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async js (/home/pi/.npm/_npx/cc876d312f16923e/node_modules/create-medusa-app/dist/index.js:1:183921)
at async /home/pi/.npm/_npx/cc876d312f16923e/node_modules/create-medusa-app/dist/index.js:1:185433
at async Is (/home/pi/.npm/_npx/cc876d312f16923e/node_modules/create-medusa-app/dist/index.js:1:184931)
at async exports.run (/home/pi/.npm/_npx/cc876d312f16923e/node_modules/create-medusa-app/dist/index.js:1:497721) {
shortMessage: 'Command failed with exit code 1: npm install',
command: 'npm install',
escapedCommand: 'npm install',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
that happened while installing the packages?
what version of node do you have
node -v
12.22.12
Medusa requires version 14 or 16, try upgrading
remove the created folder and run it again
(sudo) apt-get install --only-upgrade nodejs
should do the thing
alr lemme do it
nodejs is already the newest version (12.22.12~dfsg-1~deb11u3).
wats wrong with it?
try
apt update
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
now run this
root@raspberrypi:/home/pi# apt-get install --only-upgrade nodejs
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
nodejs is already the newest version (12.22.12~dfsg-1~deb11u3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@raspberrypi:/home/pi#
agin
its broken
lemme try reboot
i literally
or idk
ok im doing it
okay
pog i have 16
nice
remove that folder that was created
and re-run the create-medusa-app command
hopefully it'll work
i think it will overheat soon
i put it in da box so it wont be too fast but the box will start melting soon
okay :D
rip customers
they will buy overpriced products anyway instead of going to amazon
Lol
im developer
im ok with being on some website falling every 2 mins
:D
so i dont really understand it sorry
its done?
are you planning to use sqlite or postresql?
uh
no i think
maybe sql lite
idk yet
I think the pi's pcb will start melting soon
its taking really long time
i'd that's normal on rpi
sqlite is unusable in production
go to all of the folders and use yarn start to run it
cant i do npm?
yes
If you need more help dm me.
ok thanks
Ahoj
Zdar