Comments (11)
That looks like it might be the electron part of the building failing? Does running node node_modules/electron/install.js
cause any errors on its own?
from flipper.
I am getting this error
PS C:\Aman\sonar\Sonar> yarn
yarn install v1.7.0
[1/4] Resolving packages...
[2/4] Fetching packages...
info [email protected]: The platform "win32" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > [email protected]" has incorrect peer dependency "babel-eslint@^7.2.3".
[4/4] Building fresh packages...
$ node node_modules/electron/install.js && node scripts/yarn-install.js
events.js:183
throw er; // Unhandled 'error' event
^
Error: spawn yarn ENOENT
at _errnoException (util.js:992:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:190:19)
at onErrorNT (internal/child_process.js:372:16)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
from flipper.
i update sonar and run it again,but there is another error,still on windows:
$ yarn
yarn install v1.7.0
[1/4] Resolving packages...
[2/4] Fetching packages...
info [email protected]: The platform "win32" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from instal
lation.
error [email protected]: The platform "win32" is incompatible with this module.
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
from flipper.
this should be fixed in the latest commit
from flipper.
@danielbuechele i update sonar ,and i get the first error again.
$ yarn
yarn install v1.7.0
[1/4] Resolving packages...
success Already up-to-date.
$ node node_modules/electron/install.js && node scripts/yarn-install.js
events.js:183
throw er; // Unhandled 'error' event
^
Error: spawn yarn ENOENT
at _errnoException (util.js:1022:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:190:19)
at onErrorNT (internal/child_process.js:372:16)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
from flipper.
me too, same problem
from flipper.
me too, same problem
from flipper.
问题已经解决,需要修改 F:\Sonar\scripts\yarn-install.js和D:\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js两个文件,修改地方如下:
1.index.js在271行添加else if (process.platform === 'win32') {
sh = process.env.comspec || 'cmd'
shFlag = '/d /s /c'
conf.windowsVerbatimArguments = true
conf.shell=true
}
2.yarn-install.js 在39行修改成 const yarn = spawn(YARN_PATH, ['--mutex', 'file'], {
cwd,
shell:true
});
3.删除sonar目录下node_modules目录,重新运行npm install 安装
from flipper.
Try adding C:\Windows\System32\
to the PATH environment variable. Restart and it should work.
from flipper.
Try adding
C:\Windows\System32\
to the PATH environment variable. Restart and it should work.
thanks. since recent relase,this bug has been fixed.
from flipper.
Closing since apparently it's been fixed
from flipper.
Related Issues (20)
- Question: Support New Architecture C++ Turbo Native Modules
- GitHub Actions Workflow failed - Publish Android
- deps cannot be recognized by gradle for v0.248.0
- Why my Flipper react native ( unsupported ) HOT 5
- Network Tab is showing api call only once after that is it not showing any request. HOT 1
- win 11 Unable to start Flipper HOT 2
- macos 14.3.1 xcode 15.3 'facebook::flipper::SocketCertificateProvider' (aka 'int') is not a function or function pointer HOT 6
- Question: In default created app, unfortunately i didn't have flipper stuff inside debug folder. I think because of this my debug option is so some warning. Please see below! HOT 3
- Question: How to download latest `react-native-flipper` package. Latest available on NPM is an outdated `0.212.0` HOT 8
- Question: "Could not connect to {code}, Make sure to authorize debugging on the phone"
- Typedef redefinition with different types ('uint8_t' (aka 'unsigned char') vs 'enum clockid_t')
- How to use it? HOT 1
- Unable to Debug React Native default (new) App in Chrome Debugger because of flipper this waring Attempting to debug JS in Flipper (deprecated). This requires Flipper to be installed on your system to handle the 'flipper://' URL scheme. HOT 2
- Unable to Debug React Native default (new) App in Chrome Debugger because of flipper this waring Attempting to debug JS in Flipper (deprecated). This requires Flipper to be installed on your system to handle the 'flipper://' URL scheme.Question:
- Question: How to resolve "Application disconnected"?
- Discussion: The Windows and Linux download links are broken HOT 6
- How to install flipper server on linux? HOT 2
- Question: FlipperKit on Mac M3 HOT 2
- Failed to start Flipper: TypeError [ERR_INVALID_ARG_TYPE]
- Unable to install plugin HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flipper.