Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error OCR-Form-Tools\node_modules\node-sass: Command failed. #903

Open
ArunP-AtreyaLabs opened this issue Mar 19, 2021 · 3 comments
Open

Comments

@ArunP-AtreyaLabs
Copy link

Describe the bug
error C:\Users\user\Downloads\OCR-Form-Tools\OCR-Form-Tools\node_modules\node-sass: Command failed.
Exit code: 1
Command: node scripts/build.js
Arguments:
Directory: C:\Users\user\Downloads\OCR-Form-Tools\OCR-Form-Tools\node_modules\node-sass
Output:
Building: C:\Program Files\nodejs\node.exe C:\Users\user\Downloads\OCR-Form-Tools\OCR-Form-Tools\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=

To Reproduce
Steps to reproduce the behavior:

on windows

  1. yarn install
  2. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image

Desktop (please complete the following information):

  • OS: win10

Additional context

gyp ERR! configure error
gyp ERR! stack Error: Command failed: C:\Users\user\AppData\Local\Programs\Python\Python39\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack File "", line 1
gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack ^
gyp ERR! stack SyntaxError: invalid syntax
gyp ERR! stack
gyp ERR! stack at ChildProcess.exithandler (node:child_process:326:12)
gyp ERR! stack at ChildProcess.emit (node:events:369:20)
gyp ERR! stack at maybeClose (node:internal/child_process:1067:16)
gyp ERR! stack at Socket. (node:internal/child_process:453:11)
gyp ERR! stack at Socket.emit (node:events:369:20)
gyp ERR! stack at Pipe. (node:net:665:12)
gyp ERR! System Windows_NT 10.0.10240
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\user\Downloads\OCR-Form-Tools\OCR-Form-Tools\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd C:\Users\user\Downloads\OCR-Form-Tools\OCR-Form-Tools\node_modules\node-sass
gyp ERR! node -v v15.12.0

@ArunP-AtreyaLabs ArunP-AtreyaLabs changed the title error C:\Users\user\Downloads\OCR-Form-Tools\OCR-Form-Tools\node_modules\node-sass: Command failed. error OCR-Form-Tools\node_modules\node-sass: Command failed. Mar 19, 2021
@jhapran
Copy link

jhapran commented Nov 24, 2021

I am also facing the same issue. Anyone looking into it ?

1 similar comment
@uthaii66
Copy link

I am also facing the same issue. Anyone looking into it ?

@l1lan
Copy link

l1lan commented May 3, 2023

use yarn add node-sass

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

No branches or pull requests

4 participants