This repository has been archived by the owner on Jan 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 66
To fix error i got #7
Open
EsmailELBoBDev2
wants to merge
1
commit into
easychen:main
Choose a base branch
from
EsmailELBoBDev2:patch-1
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
when I tried to build it I got problem of: ```log bash-5.1# cd /app/client/ && yarn install && yarn build yarn install v1.22.19 [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... warning " > [email protected]" has incorrect peer dependency "mobx@^4.0.0". warning "react-avatar-editor > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0". warning "react-avatar-editor > @babel/plugin-transform-runtime > [email protected]" has unmet peer dependency "@babel/core@^7.0.0-0". warning "react-avatar-editor > @babel/plugin-transform-runtime > [email protected]" has unmet peer dependency "@babel/core@^7.0.0-0". warning "react-avatar-editor > @babel/plugin-transform-runtime > [email protected]" has unmet peer dependency "@babel/core@^7.0.0-0". warning "react-avatar-editor > @babel/plugin-transform-runtime > babel-plugin-polyfill-corejs2 > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.4.0-0". warning " > [email protected]" has unmet peer dependency "prop-types@^15.5.8". warning "react-scripts > @typescript-eslint/eslint-plugin > [email protected]" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta". warning "@babel/plugin-proposal-decorators > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0". warning "@babel/plugin-proposal-decorators > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0". warning " > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0". [4/4] Building fresh packages... [-/9] ⢀ waiting... [8/9] ⢀ node-sass [9/9] ⢀ web3 [-/9] ⢀ waiting... error /app/client/node_modules/node-sass: Command failed. Exit code: 1 Command: node scripts/build.js Arguments: Directory: /app/client/node_modules/node-sass Output: Building: /usr/bin/node /app/client/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library= gyp info it worked if it ends with ok gyp verb cli [ gyp verb cli '/usr/bin/node', gyp verb cli '/app/client/node_modules/node-gyp/bin/node-gyp.js', gyp verb cli 'rebuild', gyp verb cli '--verbose', gyp verb cli '--libsass_ext=', gyp verb cli '--libsass_cflags=', gyp verb cli '--libsass_ldflags=', gyp verb cli '--libsass_library=' gyp verb cli ] gyp info using [email protected] gyp info using [email protected] | linux | x64 gyp verb command rebuild [] gyp verb command clean [] gyp verb clean removing "build" directory gyp verb command configure [] gyp verb check python checking for Python executable "python2" in the PATH gyp verb `which` failed Error: not found: python2 gyp verb `which` failed at getNotFoundError (/app/client/node_modules/which/which.js:13:12) gyp verb `which` failed at F (/app/client/node_modules/which/which.js:68:19) gyp verb `which` failed at E (/app/client/node_modules/which/which.js:80:29) gyp verb `which` failed at /app/client/node_modules/which/which.js:89:16 gyp verb `which` failed at /app/client/node_modules/isexe/index.js:42:5 gyp verb `which` failed at /app/client/node_modules/isexe/mode.js:8:5 gyp verb `which` failed at FSReqCallback.oncomplete (node:fs:211:21) gyp verb `which` failed python2 Error: not found: python2 gyp verb `which` failed at getNotFoundError (/app/client/node_modules/which/which.js:13:12) gyp verb `which` failed at F (/app/client/node_modules/which/which.js:68:19) gyp verb `which` failed at E (/app/client/node_modules/which/which.js:80:29) gyp verb `which` failed at /app/client/node_modules/which/which.js:89:16 gyp verb `which` failed at /app/client/node_modules/isexe/index.js:42:5 gyp verb `which` failed at /app/client/node_modules/isexe/mode.js:8:5 gyp verb `which` failed at FSReqCallback.oncomplete (node:fs:211:21) { gyp verb `which` failed code: 'ENOENT' gyp verb `which` failed } gyp verb check python checking for Python executable "python" in the PATH gyp verb `which` failed Error: not found: python gyp verb `which` failed at getNotFoundError (/app/client/node_modules/which/which.js:13:12) gyp verb `which` failed at F (/app/client/node_modules/which/which.js:68:19) gyp verb `which` failed at E (/app/client/node_modules/which/which.js:80:29) gyp verb `which` failed at /app/client/node_modules/which/which.js:89:16 gyp verb `which` failed at /app/client/node_modules/isexe/index.js:42:5 gyp verb `which` failed at /app/client/node_modules/isexe/mode.js:8:5 gyp verb `which` failed at FSReqCallback.oncomplete (node:fs:211:21) gyp verb `which` failed python Error: not found: python gyp verb `which` failed at getNotFoundError (/app/client/node_modules/which/which.js:13:12) gyp verb `which` failed at F (/app/client/node_modules/which/which.js:68:19) gyp verb `which` failed at E (/app/client/node_modules/which/which.js:80:29) gyp verb `which` failed at /app/client/node_modules/which/which.js:89:16 gyp verb `which` failed at /app/client/node_modules/isexe/index.js:42:5 gyp verb `which` failed at /app/client/node_modules/isexe/mode.js:8:5 gyp verb `which` failed at FSReqCallback.oncomplete (node:fs:211:21) { gyp verb `which` failed code: 'ENOENT' gyp verb `which` failed } gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable. gyp ERR! stack at PythonFinder.failNoPython (/app/client/node_modules/node-gyp/lib/configure.js:484:19) gyp ERR! stack at PythonFinder.<anonymous> (/app/client/node_modules/node-gyp/lib/configure.js:406:16) gyp ERR! stack at F (/app/client/node_modules/which/which.js:68:16) gyp ERR! stack at E (/app/client/node_modules/which/which.js:80:29) gyp ERR! stack at /app/client/node_modules/which/which.js:89:16 gyp ERR! stack at /app/client/node_modules/isexe/index.js:42:5 gyp ERR! stack at /app/client/node_modules/isexe/mode.js:8:5 gyp ERR! stack at FSReqCallback.oncomplete (node:fs:211:21) gyp ERR! System Linux 5.10.0-19-amd64 gyp ERR! command "/usr/bin/node" "/app/client/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library=" gyp ERR! cwd /app/client/node_modules/node-sass gyp ERR! node -v v18.9.1 bash-5.1# ``` and to fix it, I followed: https://stackoverflow.com/a/62495377
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
when I tried to build it I got problem of:
and to fix it, I followed: https://stackoverflow.com/a/62495377