HaikuTeam / animator

Design tool for creating Lottie animations and interactive web components
https://www.haikuanimator.com/
Other
1.44k stars 154 forks source link

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

Open SomeWaffle opened 2 years ago

SomeWaffle commented 2 years ago

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. (Usenode --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.exefailed 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 commented 2 years ago

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

mainrs commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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.