Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

create scandipwa-app fails #77

Open
amokato opened this issue Aug 18, 2022 · 2 comments
Open

create scandipwa-app fails #77

amokato opened this issue Aug 18, 2022 · 2 comments

Comments

@amokato
Copy link

amokato commented Aug 18, 2022

Describe the bug

Every create scandipwa-app fails (yarn, npm). I am running MacOS 12.4 Monterey / Intel Mac with node version v18.7.0. The create magento-app script worked as expected.

Did you try recovering your dependencies?

yes

Which terms did you search for in User Guide?

Unhandled exception

Environment

MacOS 12.4 Monterey / Intel Mac with node version v18.7.0

Steps to reproduce

  1. yarn create scandipwa-app your-app

Expected behavior

setup is successful and scandipwa is installed and configured

Actual behavior

`node:internal/process/promises:288
triggerUncaughtException(err, true /* fromPromise */);
^

[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "undefined".] {
code: 'ERR_UNHANDLED_REJECTION'
}

Node.js v18.7.0
error Command failed.
Exit code: 1
Command: /usr/local/bin/create-scandipwa-app`

@bsharp1001
Copy link

faced same issue, in my case the error started from node-gyp and node-sass modules, in short it turns out they depend on python 2.7, solved for me when I installed python. By the way, I'm also running on MacOS 12.4 Monterey but apple silicon. For full disclosure, I actually ran into another error after that stating that sharp module doesn't support M1 chips yet but the store started normally so I ignored for now. check this stackoverflow question to see if it's the same error, and if it's relevant then see here to download python 2.7 legacy installer for mac

@patruvlad
Copy link

I have the same issue, tried on Windows10, Ubuntu 20 and Centos7.9 and I get the same error. And I have Python installed so it is not that for me.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants