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

I have a problem when loading or using "Yarn" command on powershell #1068

Open
SomeWaffle opened this issue Jan 18, 2022 · 4 comments
Open

Comments

@SomeWaffle
Copy link

I keep getting this error
yarn install v1.13.0 [1/4] Resolving packages... warning @haiku/core > webpack > watchpack > watchpack-chokidar2 > chokidar > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2. warning Resolution field "@types/node@10.12.30" is incompatible with requested version "@types/node@^14.6.2" [2/4] Fetching packages... info fsevents@2.3.2: The platform "win32" is incompatible with this module. info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation. info fsevents@1.2.13: The platform "win32" is incompatible with this module. info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation. info dmg-license@1.0.10: The platform "win32" is incompatible with this module. info "dmg-license@1.0.10" is an optional dependency and failed compatibility check. Excluding it from installation. info iconv-corefoundation@1.1.7: The platform "win32" is incompatible with this module. info "iconv-corefoundation@1.1.7" is an optional dependency and failed compatibility check. Excluding it from installation. [3/4] Linking dependencies... warning " > @haiku/core@5.1.2" has unmet peer dependency "@angular/core@^6.0.9". warning " > @haiku/core@5.1.2" has unmet peer dependency "react@^16.0.0 || ^15.4.2". warning " > @haiku/core@5.1.2" has unmet peer dependency "react-dom@^16.0.0 || ^15.4.2". warning "@haiku/core > @angular/core@6.1.10" has unmet peer dependency "zone.js@~0.8.26". warning " > @haiku/player@3.0.4" has unmet peer dependency "react@^16.0.0 || ^15.4.2". warning " > @haiku/player@3.0.4" has unmet peer dependency "react-dom@^16.0.0 || ^15.4.2". warning "haiku-creator > better-react-spinkit@2.0.0-4" has unmet peer dependency "inline-style-prefixer@^2.0.1". warning "haiku-common > haiku-sdk-creator > haiku-serialization > haiku-ui-common > react-copy-to-clipboard@5.0.1" has incorrect peer dependency "react@^15.3.0 || ^16.0.0". warning "haiku-creator > react-list@0.8.11" has incorrect peer dependency "react@0.14 || 15 || 16". warning "haiku-creator > react-onclickoutside@6.8.0" has incorrect peer dependency "react@^15.5.x || ^16.x". warning "haiku-creator > react-onclickoutside@6.8.0" has incorrect peer dependency "react-dom@^15.5.x || ^16.x". warning "haiku-creator > react-selectize@3.0.1" has incorrect peer dependency "react@^15.0.0 || ^16.0.0". warning "haiku-creator > react-selectize@3.0.1" has incorrect peer dependency "react-transition-group@^1.1.2". warning "haiku-creator > react-selectize@3.0.1" has incorrect peer dependency "react-dom@^15.0.0 || ^16.0.0". warning "haiku-creator > react-selectize@3.0.1" has unmet peer dependency "react-dom-factories@^1.0.0". warning "haiku-creator > haiku-glass > react-transition-group@1.2.1" has incorrect peer dependency "react@^15.0.0 || ^16.0.0". warning "haiku-creator > haiku-glass > react-transition-group@1.2.1" has incorrect peer dependency "react-dom@^15.0.0 || ^16.0.0". warning "haiku-creator > haiku-timeline > haiku-formats > webpack-concat-plugin@2.4.2" has incorrect peer dependency "webpack@^3.10.0". [4/4] Building fresh packages... [-/9] ⡀ waiting... [-/9] ⡀ waiting... [6/9] ⡀ nodegit [4/9] ⡀ electron error C:\ProgramData\chocolatey\Animator\node_modules\@ronomon\base64: Command failed. Exit code: 1 Command: node-gyp rebuild Arguments: Directory: C:\ProgramData\chocolatey\Animator\node_modules\@ronomon\base64 Output: gyp info it worked if it ends with ok gyp info using node-gyp@3.8.0 gyp info using node@16.13.2 | win32 | x64 (node:24004) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only. (Use node --trace-deprecation ...to show where the warning was created) gyp info spawn C:\Python27\python.EXE gyp info spawn args [ gyp info spawn args 'C:\\ProgramData\\chocolatey\\Animator\\node_modules\\node-gyp\\gyp\\gyp_main.py', gyp info spawn args 'binding.gyp', gyp info spawn args '-f', gyp info spawn args 'msvs', gyp info spawn args '-G', gyp info spawn args 'msvs_version=auto', gyp info spawn args '-I', gyp info spawn args 'C:\\ProgramData\\chocolatey\\Animator\\node_modules\\@ronomon\\base64\\build\\config.gypi', gyp info spawn args '-I', gyp info spawn args 'C:\\ProgramData\\chocolatey\\Animator\\node_modules\\node-gyp\\addon.gypi', gyp info spawn args '-I', gyp info spawn args 'C:\\Users\\OneOddWolf\\.node-gyp\\16.13.2\\include\\node\\common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=C:\\Users\\OneOddWolf\\.node-gyp\\16.13.2', gyp info spawn args '-Dnode_gyp_dir=C:\\ProgramData\\chocolatey\\Animator\\node_modules\\node-gyp', gyp info spawn args '-Dnode_lib_file=C:\\Users\\OneOddWolf\\.node-gyp\\16.13.2\\<(target_arch)\\node.lib', gyp info spawn args '-Dmodule_root_dir=C:\\ProgramData\\chocolatey\\Animator\\node_modules\\@ronomon\\base64', gyp info spawn args '-Dnode_engine=v8', gyp info spawn args '--depth=.', gyp info spawn args '--no-parallel', gyp info spawn args '--generator-output', gyp info spawn args 'C:\\ProgramData\\chocolatey\\Animator\\node_modules\\@ronomon\\base64\\build', gyp info spawn args '-Goutput_dir=.' gyp info spawn args ] Warning: Missing input files: C:\ProgramData\chocolatey\Animator\node_modules\@ronomon\base64\build\Release\binding.node gyp info spawn C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe gyp info spawn args [ gyp info spawn args 'build/binding.sln', gyp info spawn args '/clp:Verbosity=minimal', gyp info spawn args '/nologo', gyp info spawn args '/p:Configuration=Release;Platform=x64' gyp info spawn args ] Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. C:\ProgramData\chocolatey\Animator\node_modules\@ronomon\base64\build\binding.vcxproj(20,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. gyp ERR! build error gyp ERR! stack Error:C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\ProgramData\chocolatey\Animator\node_modules\node-gyp\lib\build.js:262:23) gyp ERR! stack at ChildProcess.emit (node:events:390:28) gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12) gyp ERR! System Windows_NT 10.0.19043 gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\ProgramData\\chocolatey\\Animator\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" gyp ERR! cwd C:\ProgramData\chocolatey\Animator\node_modules\@ronomon\base64, It's pissing me off

@baltao1
Copy link

baltao1 commented Jan 20, 2022

buddy it seems we are alone here and nobody is doin their bit!

@mainrs
Copy link

mainrs commented Jan 24, 2022

That's a problem with your setup. It doesn't find the Microsoft C/++ compilation toolchain. AFAICT it is not specific to this project.

@SomeWaffle
Copy link
Author

That;s a problem with your setup. It doesn't find the Microsoft C/++ compilation toolchain. AFAIKT it is not specific to this project.

Does that mean I gotta install the MCC++ toolchain and retry?

@mainrs
Copy link

mainrs commented Jan 24, 2022

I run Linux, but IIRC the toolchain installs a "program"/shortcut that sets up the path correctly to contain the toolchain. https://docs.microsoft.com/en-us/cpp/build/how-to-enable-a-64-bit-visual-cpp-toolset-on-the-command-line?view=msvc-170#use-vcvarsallbat-to-set-a-64-bit-hosted-build-architecture

When I had to use it a year ago it was called "Developer Command Prompt for Visual Studio" I think.

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

3 participants