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

create-expo-app fails #13686

Open
zaksenards opened this issue Oct 8, 2024 · 6 comments
Open

create-expo-app fails #13686

zaksenards opened this issue Oct 8, 2024 · 6 comments

Comments

@zaksenards
Copy link

I get this error when trying to create a new expo-app

5183 verbose pkgid babel-plugin-react-compiler@0.0.0-experimental-7779988-20241007
5184 error code 1
5185 error path C:\Users\isaac\Documents\projects\Payjon\node_modules\babel-plugin-react-compiler
5186 error command failed
5187 error command C:\windows\system32\cmd.exe /d /s /c ./scripts/link-react-compiler-runtime.sh
5188 error '.' n�o � reconhecido como um comando interno
5188 error ou externo, um programa oper�vel ou um arquivo em lotes.
5189 silly unfinished npm timer reify 1728359810537
5190 silly unfinished npm timer reify:build 1728359826985
5191 silly unfinished npm timer build 1728359826987
5192 silly unfinished npm timer build:deps 1728359826987
5193 silly unfinished npm timer build:run:postinstall 1728359827074
5194 silly unfinished npm timer build:run:postinstall:node_modules/babel-plugin-react-compiler 1728359827074
5195 verbose cwd C:\Users\isaac\Documents\projects\Payjon
5196 verbose os Windows_NT 10.0.22631
5197 verbose node v20.16.0
5198 verbose npm v10.9.0
5199 verbose exit 1
5200 verbose code 1
5201 error A complete log of this run can be found in: C:\Users\isaac\AppData\Local\npm-cache_logs\2024-10-08T03_56_50_130Z-debug-0.log

@zaksenards
Copy link
Author

I also tryed to reinstall node and expo and that was what i got

npm warn cleanup Failed to remove some directories [
npm warn cleanup [
npm warn cleanup 'C:\Users\isaac\AppData\Roaming\npm\node_modules\expo',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\isaac\AppData\Roaming\npm\node_modules\expo\node_modules@expo\vector-icons\build'] {npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\Users\isaac\AppData\Roaming\npm\node_modules\expo\node_modules\@expo\vector-icons\build'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup 'C:\Users\isaac\AppData\Roaming\npm\node_modules\expo\node_modules\@babel\template',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\isaac\AppData\Roaming\npm\node_modules\expo\node_modules@babel\template\node_modules'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\Users\isaac\AppData\Roaming\npm\node_modules\expo\node_modules\@babel\template\node_modules'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup 'C:\Users\isaac\AppData\Roaming\npm\node_modules\expo\node_modules\@expo',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\isaac\AppData\Roaming\npm\node_modules\expo\node_modules@expo\cli\build\src\start\server'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\Users\isaac\AppData\Roaming\npm\node_modules\expo\node_modules\@expo\cli\build\src\start\server'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup 'C:\Users\isaac\AppData\Roaming\npm\node_modules\expo',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\isaac\AppData\Roaming\npm\node_modules\expo\node_modules\expo-modules-core\android\src\main\java\expo\modules\interfaces'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\Users\isaac\AppData\Roaming\npm\node_modules\expo\node_modules\expo-modules-core\android\src\main\java\expo\modules\interfaces'
npm warn cleanup }
npm warn cleanup ]
npm warn cleanup ]
npm error code 1
npm error path C:\Users\isaac\AppData\Roaming\npm\node_modules\expo\node_modules\babel-plugin-react-compiler
npm error command failed
npm error command C:\windows\system32\cmd.exe /d /s /c ./scripts/link-react-compiler-runtime.sh
npm error '.' n�o � reconhecido como um comando interno
npm error ou externo, um programa oper�vel ou um arquivo em lotes.
npm error A complete log of this run can be found in: C:\Users\isaac\AppData\Local\npm-cache_logs\2024-10-08T04_21_52_809Z-debug-0.log

@zaksenards
Copy link
Author

I can download the dependencies if i specify '--ignore-scripts' flag on npm install

@Shafah0717
Copy link

TRY THIS FIRST
npm cache clean --force (IF ITS NOT WORKING)
try to remove node modules package json by this command
rm -rf node_modules package-lock.json //this will to remove node modules
npm install // it will reinstall the node package

@ravin00
Copy link

ravin00 commented Oct 11, 2024

did you go for a node modules reinstall?

@zaksenards
Copy link
Author

TRY THIS FIRST npm cache clean --force (IF ITS NOT WORKING) try to remove node modules package json by this command rm -rf node_modules package-lock.json //this will to remove node modules npm install // it will reinstall the node package

Not worked. The only solution at the moment is to run 'npm install' with '--ignore-scripts' flag

@zaksenards
Copy link
Author

did you go for a node modules reinstall?

yes, that's the first thing i tried

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

No branches or pull requests

3 participants