jscheid / prettier.el

Prettier code formatting for Emacs.
GNU General Public License v3.0
172 stars 12 forks source link

Getting Error #126

Closed Randy1Burrell closed 11 months ago

Randy1Burrell commented 1 year ago

Describe the bug When prettier runs I get this error TypeError: n.resolveConfig.sync is not a function

Link to M-x prettier-info output


(:emacs-version "GNU Emacs 29.1 (build 1, x86_64-apple-darwin18.7.0, NS appkit-1671.60 Version 10.14.6 (Build 18G9323))\n of 2023-07-30" :prettier-el-version "1.3.0" :buffer-file-name nil :remote-id nil :major-mode compilation-mode :exec-path
                ("/Users/randyburrell/Projects/Work/KiFi/PTMS-Frontend/node_modules/.bin/" "/nix/store/jcf9f303ma5l58scbbpnybywqk1zzmd6-bash-interactive-5.2-p15/bin/" "/nix/store/hzcc9rw3mifk14zfj1hx8yxkfrcb5zyy-clang-wrapper-11.1.0/bin/" "/nix/store/08h440inxwrkj0yyaqiv9jp7qnxnas2v-clang-11.1.0/bin/" "/nix/store/1a6gwg8f25jii16sjsw0icb586g81d7h-coreutils-9.3/bin/" "/nix/store/yy2n9gqbki1mxcjhzih8n95zg5mqngcj-cctools-binutils-darwin-wrapper-973.0.1/bin/" "/nix/store/5vcfmw2wjhd001cy4kvkam3df1mdxwjd-cctools-binutils-darwin-973.0.1/bin/" "/nix/store/8lmzw9jisghs9kih9xqxk5cypn6d678z-nodejs-18.16.1/bin/" "/nix/store/jak8piiclal3q9080gk1n57mnbxijgj7-jq-1.6-bin/bin/" "/nix/store/1a6gwg8f25jii16sjsw0icb586g81d7h-coreutils-9.3/bin/" "/nix/store/bviv00ljcsvgdpkhp5624c73842nk5pr-findutils-4.9.0/bin/" "/nix/store/6iz20qk2a7624fryp24wckwlx7byf0p0-diffutils-3.10/bin/" "/nix/store/1xv4099wymkl510s96crxilgzg1jw2b7-gnused-4.9/bin/" "/nix/store/avpf9xk8zh78r45v1sypnj3wa1bm1cd2-gnugrep-3.11/bin/" "/nix/store/azg2bnrisvj0smp6nwm32i7qy7v1sypa-gawk-5.2.2/bin/" "/nix/store/nr78wwcvp7dyj8zx87yxi2yqsln3fsx6-gnutar-1.34/bin/" "/nix/store/ds96vji2vl9iiy769p03wxcgwzpkcjcc-gzip-1.12/bin/" "/nix/store/8g8almqm60mxwsip9yd6i8xc678jzl8v-bzip2-1.0.8-bin/bin/" "/nix/store/vbipsy4b7v6ffz1kncigvj6kybvv1f6k-gnumake-4.4.1/bin/" "/nix/store/s2ps2rq1k0k7sqw47yc7mi5311y1kqfl-bash-5.2-p15/bin/" "/nix/store/byfzh3ph8v6y3spnvb6pgdp42vhq6kma-patch-2.7.6/bin/" "/nix/store/c0flvw7h3vq86bqzwyfc01rnvspbg0c3-xz-5.4.3-bin/bin/" "/nix/store/82g255jjj7isnqfvz58wn423lwf12bz6-file-5.44/bin/" "/Users/randyburrell/Projects/Work/KiFi/PTMS-Frontend/node_modules/.bin/" "/Users/randyburrell/Applications/google-cloud-sdk/bin/" "/Users/randyburrell/.pyenv/shims/" "/Users/randyburrell/Applications/google-cloud-sdk/bin/" "/opt/local/bin/" "/opt/local/sbin/" "/Users/randyburrell/.nix-profile/bin/" "/run/current-system/sw/bin/" "/nix/var/nix/profiles/default/bin/" "/usr/local/bin/" "/usr/bin/" "/usr/sbin/" "/bin/" "/sbin/" "/usr/local/sbin/" "/usr/sbin/" "/usr/bin/" "/usr/local/bin/" "/sbin/" "/bin/" "/usr/games/" "/usr/local/games/" "/Library/Android/sdk/tools/" "/Library/Android/sdk/tools/bin/" "/Library/Android/sdk/emulator/" "/Library/Android/sdk/platform-tools/" "/Users/randyburrell/.custom_scripts/" "/Users/randyburrell/.rvm/bin/" "/usr/local/jaxrs-ri/ext/" "/usr/local/Cellar/go/1.17.2/libexec/bin/" "/Users/randyburrell/Projects/Environments/Go/bin/" "/Users/randyburrell/.yarn/bin/" "/Users/randyburrell/.config/yarn/global/node_modules/.bin/" "/usr/local/opt/ruby/bin/" "/Users/randyburrell/bin/" "/usr/local/opt/openjdk@11/bin/" "/Users/randyburrell/.composer/vendor/bin/" "/usr/local/opt/llvm/bin/" "/Users/randyburrell/.config/yarn/global/node_modules/.bin/" "/Users/randyburrell/.cargo/bin/" "/Users/randyburrell/.cabal/bin/" "/usr/local/opt/llvm@13/bin/" "/usr/local/sbin/" "/usr/sbin/" "/usr/bin/" "/usr/local/bin/" "/sbin/" "/bin/" "/usr/games/" "/usr/local/games/" "/Library/Android/sdk/tools/" "/Library/Android/sdk/tools/bin/" "/Library/Android/sdk/emulator/" "/Library/Android/sdk/platform-tools/" "/Users/randyburrell/.rvm/bin/" "/usr/local/jaxrs-ri/ext/" "/usr/local/Cellar/go/1.17.2/libexec/bin/" "/Users/randyburrell/Projects/Environments/Go/bin/" "/Users/randyburrell/.yarn/bin/" "/Users/randyburrell/.config/yarn/global/node_modules/.bin/" "/usr/local/opt/ruby/bin/" "/Users/randyburrell/bin/" "/usr/local/opt/openjdk@11/bin/" "/Users/randyburrell/.composer/vendor/bin/" "/usr/local/opt/llvm/bin/" "/Users/randyburrell/.config/yarn/global/node_modules/.bin/" "/Users/randyburrell/.cargo/bin/" "/Users/randyburrell/.cabal/bin/" "/usr/local/opt/llvm@13/bin/" "/Users/randyburrell/.ghcup/bin/")
                :env
                ("DIRENV_DIFF=eJzseWlv4zjy91cJhAX2xUb3HWCAdWzFcdqx3bbTFxoQJIqSKFGUTMq6FvPdH0h20onj9MzOzpvn33nRaZJV9asiXaqD_A9XcFf_4Vaj7S13xYkPDFImUo8Erb-nFGIsjooCI-CVKCdMjPI8wpAHON8HPAtS0Ufk6pyUULSQVCKLUcbOMvwJ2LwoRZwDD59O2ZtaCWr4guYhwvAgRPdEBD2VlDxrWQkzkdUHEkGNWHl0-P8ow8QAht4elweOPaPPDeinT4ODDcMfdsLMTpheyD3DewbRUyIvg-w503Fhjnzq0VYckYDmKBD78ynzHP-MdEA9R4bZHntlTs9TC-yVYU4z_qjg3BmDPSvzzGWAoqJ8g4dW2emWE6-hjKdIhE35fH0MMfaoGOWiLMimoIgY-bCB4E3XWtE8gaBkokMqRHOS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xun90u97Pja_9x4QX1hHjmdb9X6x4vjEcY5_W838wClnVOU0Qi7oobOA43_bc5KyewYD1kXwyx-OLpgh8jfzMkbuFaCNq-HX8iHRM6Rv6egEdiACuxgzQ_jA630Yfx_nFyUDHoL2heeJFXwmB2askJfeORwM-b1aFSeKSz86sl3YNyT2EwKkt6BPP3CAczUuxL9j9183_x5u_RAkj_psd30NfcN9iLjvs7fKF7-nwtgAW77rUOf86trZ4O-IS69WgEy7OL52T6H67_93rlHPcB51TF89VXUvk4hiB9nMwIKz2Mn61lkOXk2daJl_X-0P92w6xEFbx-4QLcJZfvy5e_xo8Xk6aIEzs1TZllXa2khuUpiWLyR7x8Xx5ReohLbuhD4BH1h9O-UviDtDhvEYshxn-ThwxYt3nenxBsipyWF32c_O0794_V58m5a6R_9PTv3HfiYeSxi2ON-ds_k93Fd044Tr9zF4UHUi-CQsJy8s_vfQBmZQBJ9dJw6tfMVi1tlxaVYlZqpqQWjjQl7OwdlpnMH4SO1yMDCEXg2fd_CDDcFXd4Bntk_P33_xcAAP__kgRW3A==" "DIRENV_WATCHES=eJyk0E1OxCAYxvG7sK6F8gJTeoDZGJNJ1LgwLvh4m6IMGKDjGOPdTdxoutAYT_B7nv_9G3k2bSETobcVS6XFJP9q11IwRnoo-RFdq_Qulyd6GfaBHm6uri_2JaeGydMe06k40pFj9i0ckUyD0nxQjGvZETyH2iqZWlnxvftR6mN2JtK6mILUh4LpRE2M-YUieK4ZqBEkdw6E20kAZIJr5sDgDEwJJiTbccutGJmGcZSDnZU1iIzZ7TilAYT-07hfM3iczRpbn8L5O8e-lNnE-m-mLhjjFvkMPkhQsPn08BEAAP__-zWeeQ==" "PATH=/Users/randyburrell/Projects/Work/KiFi/PTMS-Frontend/node_modules/.bin/:/nix/store/jcf9f303ma5l58scbbpnybywqk1zzmd6-bash-interactive-5.2-p15/bin:/nix/store/hzcc9rw3mifk14zfj1hx8yxkfrcb5zyy-clang-wrapper-11.1.0/bin:/nix/store/08h440inxwrkj0yyaqiv9jp7qnxnas2v-clang-11.1.0/bin:/nix/store/1a6gwg8f25jii16sjsw0icb586g81d7h-coreutils-9.3/bin:/nix/store/yy2n9gqbki1mxcjhzih8n95zg5mqngcj-cctools-binutils-darwin-wrapper-973.0.1/bin:/nix/store/5vcfmw2wjhd001cy4kvkam3df1mdxwjd-cctools-binutils-darwin-973.0.1/bin:/nix/store/8lmzw9jisghs9kih9xqxk5cypn6d678z-nodejs-18.16.1/bin:/nix/store/jak8piiclal3q9080gk1n57mnbxijgj7-jq-1.6-bin/bin:/nix/store/1a6gwg8f25jii16sjsw0icb586g81d7h-coreutils-9.3/bin:/nix/store/bviv00ljcsvgdpkhp5624c73842nk5pr-findutils-4.9.0/bin:/nix/store/6iz20qk2a7624fryp24wckwlx7byf0p0-diffutils-3.10/bin:/nix/store/1xv4099wymkl510s96crxilgzg1jw2b7-gnused-4.9/bin:/nix/store/avpf9xk8zh78r45v1sypnj3wa1bm1cd2-gnugrep-3.11/bin:/nix/store/azg2bnrisvj0smp6nwm32i7qy7v1sypa-gawk-5.2.2/bin:/nix/store/nr78wwcvp7dyj8zx87yxi2yqsln3fsx6-gnutar-1.34/bin:/nix/store/ds96vji2vl9iiy769p03wxcgwzpkcjcc-gzip-1.12/bin:/nix/store/8g8almqm60mxwsip9yd6i8xc678jzl8v-bzip2-1.0.8-bin/bin:/nix/store/vbipsy4b7v6ffz1kncigvj6kybvv1f6k-gnumake-4.4.1/bin:/nix/store/s2ps2rq1k0k7sqw47yc7mi5311y1kqfl-bash-5.2-p15/bin:/nix/store/byfzh3ph8v6y3spnvb6pgdp42vhq6kma-patch-2.7.6/bin:/nix/store/c0flvw7h3vq86bqzwyfc01rnvspbg0c3-xz-5.4.3-bin/bin:/nix/store/82g255jjj7isnqfvz58wn423lwf12bz6-file-5.44/bin:/Users/randyburrell/Projects/Work/KiFi/PTMS-Frontend/node_modules/.bin:/Users/randyburrell/Applications/google-cloud-sdk/bin:/Users/randyburrell/.pyenv/shims:/Users/randyburrell/Applications/google-cloud-sdk/bin:/opt/local/bin:/opt/local/sbin:/Users/randyburrell/.nix-profile/bin:/run/current-system/sw/bin:/nix/var/nix/profiles/default/bin:/usr/local/bin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/sbin:/usr/sbin:/usr/bin:/usr/local/bin:/sbin:/bin:/usr/games:/usr/local/games:/Library/Android/sdk/tools:/Library/Android/sdk/tools/bin:/Library/Android/sdk/emulator:/Library/Android/sdk/platform-tools:/Users/randyburrell/.custom_scripts:/Users/randyburrell/.rvm/bin:/usr/local/jaxrs-ri/ext:/usr/local/Cellar/go/1.17.2/libexec/bin:/Users/randyburrell/Projects/Environments/Go/bin:/Users/randyburrell/.yarn/bin:/Users/randyburrell/.config/yarn/global/node_modules/.bin:/usr/local/opt/ruby/bin:/Users/randyburrell/bin:/usr/local/opt/openjdk@11/bin:/Users/randyburrell/.composer/vendor/bin:/usr/local/opt/llvm/bin:/Users/randyburrell/.config/yarn/global/node_modules/.bin:/Users/randyburrell/.cargo/bin:/Users/randyburrell/.cabal/bin:/usr/local/opt/llvm@13/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/usr/local/bin:/sbin:/bin:/usr/games:/usr/local/games:/Library/Android/sdk/tools:/Library/Android/sdk/tools/bin:/Library/Android/sdk/emulator:/Library/Android/sdk/platform-tools:/Users/randyburrell/.rvm/bin:/usr/local/jaxrs-ri/ext:/usr/local/Cellar/go/1.17.2/libexec/bin:/Users/randyburrell/Projects/Environments/Go/bin:/Users/randyburrell/.yarn/bin:/Users/randyburrell/.config/yarn/global/node_modules/.bin:/usr/local/opt/ruby/bin:/Users/randyburrell/bin:/usr/local/opt/openjdk@11/bin:/Users/randyburrell/.composer/vendor/bin:/usr/local/opt/llvm/bin:/Users/randyburrell/.config/yarn/global/node_modules/.bin:/Users/randyburrell/.cargo/bin:/Users/randyburrell/.cabal/bin:/usr/local/opt/llvm@13/bin:/Users/randyburrell/.ghcup/bin" "GPG_AGENT_INFO" "SSH_AGENT_PID" "depsHostHostPropagated=" "name=node" "__CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0" "nativeBuildInputs=" "NIX_LDFLAGS= -L/nix/store/ly2sc1wgrjdn2flsnl70pvm7bymdm1pk-libcxx-11.1.0/lib -L/nix/store/nvsj7q85i0iz6dq9x56sskj2dvv447pv-libcxxabi-11.1.0/lib -L/nix/store/mprdmmsxk72np06b8zxac0v0w9ydk1ak-compiler-rt-libc-11.1.0/lib -L/nix/store/3pwydj59140z14b7ab8shgkhc5nf9w5b-jq-1.6-lib/lib -L/nix/store/ly2sc1wgrjdn2flsnl70pvm7bymdm1pk-libcxx-11.1.0/lib -L/nix/store/nvsj7q85i0iz6dq9x56sskj2dvv447pv-libcxxabi-11.1.0/lib -L/nix/store/mprdmmsxk72np06b8zxac0v0w9ydk1ak-compiler-rt-libc-11.1.0/lib -L/nix/store/3pwydj59140z14b7ab8shgkhc5nf9w5b-jq-1.6-lib/lib" "GOPATH=/Users/randyburrell/Projects/Environments/Go" "OLDPWD=/" "__darwinAllowLocalNetworking=" "LC_NUMERIC=en_US.UTF-8" "NIX_HARDENING_ENABLE=fortify stackprotector pic strictoverflow format relro bindnow" "RANLIB=ranlib" "__structuredAttrs=" "CONFIG_SHELL=/nix/store/s2ps2rq1k0k7sqw47yc7mi5311y1kqfl-bash-5.2-p15/bin/bash" "DIRENV_WATCHES=eJyk0M1KxDAUxfF3ybo2aW6TafsAsxFhQMWFuMjHLY1mErlJxxHx3QVXwyCKzBP8zv88frBXUxc2MX5fkAonk_y7XYkwRr6j_IyuFv6Q6YVfh23gu7ub26st5VQxed5iOpBjDdtnX8Me2dTpUXZayFE1DI-h1MKmSit-Nr9KbczORF4WQ8h9IEwHbmLMbxzBy1GAHkBJ56B3GwWAopejcGBwBqF70SuxkVbafhAjDIPq7KytQRTC_jAOQPxr3J83eJzNGmubwvGUO1FmE8vFTFkwxnPku6lToOGs6ekrAAD__-g9nmQ=" "depsBuildBuildPropagated=" "depsBuildTargetPropagated=" "AUTH0_SECRET=01f4e19becc81a8d793d91c9d6dd3567444779fc2f32170cfec8414d5abeb9d9" "NIX_CC=/nix/store/hzcc9rw3mifk14zfj1hx8yxkfrcb5zyy-clang-wrapper-11.1.0" "CC=clang" "VIRTUALENVWRAPPER_HOOK_DIR=/Users/randyburrell/.virtualenvs" "propagatedBuildInputs=" "PATH=/Users/randyburrell/Applications/google-cloud-sdk/bin:/Users/randyburrell/.pyenv/shims:/Users/randyburrell/Applications/google-cloud-sdk/bin:/opt/local/bin:/opt/local/sbin:/Users/randyburrell/.nix-profile/bin:/run/current-system/sw/bin:/nix/var/nix/profiles/default/bin:/usr/local/bin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/sbin:/usr/sbin:/usr/bin:/usr/local/bin:/sbin:/bin:/usr/games:/usr/local/games:/Library/Android/sdk/tools:/Library/Android/sdk/tools/bin:/Library/Android/sdk/emulator:/Library/Android/sdk/platform-tools:/Users/randyburrell/.custom_scripts:/Users/randyburrell/.rvm/bin:/usr/local/jaxrs-ri/ext:/usr/local/Cellar/go/1.17.2/libexec/bin:/Users/randyburrell/Projects/Environments/Go/bin:/Users/randyburrell/.yarn/bin:/Users/randyburrell/.config/yarn/global/node_modules/.bin:/usr/local/opt/ruby/bin:/Users/randyburrell/bin:/usr/local/opt/openjdk@11/bin:/Users/randyburrell/.composer/vendor/bin:/usr/local/opt/llvm/bin:/Users/randyburrell/.config/yarn/global/node_modules/.bin:/Users/randyburrell/.cargo/bin:/Users/randyburrell/.cabal/bin:/usr/local/opt/llvm@13/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/usr/local/bin:/sbin:/bin:/usr/games:/usr/local/games:/Library/Android/sdk/tools:/Library/Android/sdk/tools/bin:/Library/Android/sdk/emulator:/Library/Android/sdk/platform-tools:/Users/randyburrell/.rvm/bin:/usr/local/jaxrs-ri/ext:/usr/local/Cellar/go/1.17.2/libexec/bin:/Users/randyburrell/Projects/Environments/Go/bin:/Users/randyburrell/.yarn/bin:/Users/randyburrell/.config/yarn/global/node_modules/.bin:/usr/local/opt/ruby/bin:/Users/randyburrell/bin:/usr/local/opt/openjdk@11/bin:/Users/randyburrell/.composer/vendor/bin:/usr/local/opt/llvm/bin:/Users/randyburrell/.config/yarn/global/node_modules/.bin:/Users/randyburrell/.cargo/bin:/Users/randyburrell/.cabal/bin:/usr/local/opt/llvm@13/bin:/Users/randyburrell/.ghcup/bin" "TMP=/tmp" "XDG_DATA_DIRS=/Users/randyburrell/.nix-profile/share:/run/current-system/sw/share:/nix/var/nix/profiles/default/share" "LC_COLLATE=en_US.UTF-8" "STRIP=strip" "LC_TIME=en_US.UTF-8" "out=/nix/store/wj6rby07yrxphj9k771smzw2k68a2j27-node" "depsBuildTarget=" "NODE_PATH=/nix/store/8lmzw9jisghs9kih9xqxk5cypn6d678z-nodejs-18.16.1/lib/node_modules" "AUTH0_CLIENT_ID=rdwI3KQU5YGGCEfQy6r2zkKDOwL0Bo7U" "tZ=" "LC_CTYPE=en_US.UTF-8" "NIX_REMOTE=daemon" "TERMINFO_DIRS=/Users/randyburrell/.nix-profile/share/terminfo:/run/current-system/sw/share/terminfo:/nix/var/nix/profiles/default/share/terminfo:/usr/share/terminfo" "KUBECONFIG=/Users/randyburrell/.kube/kube-configs/kubeconfig-tacen-dev-us-01-bare.yaml" "XPC_SERVICE_NAME=0" "buildInputs=/nix/store/8lmzw9jisghs9kih9xqxk5cypn6d678z-nodejs-18.16.1 /nix/store/292gp9ylj5ansfx6xalckrwzdd6fi5b7-jq-1.6-dev" "ZSH_THEME=agnoster" "LC_MESSAGES=en_US.UTF-8" "NIX_IGNORE_LD_THROUGH_GCC=1" "patches=" "ANDROID_SDK_ROOT=/Users/randyburrell/Library/Android/sdk" "NIX_BINTOOLS_WRAPPER_TARGET_HOST_x86_64_apple_darwin=1" "NIX_CFLAGS_COMPILE= -frandom-seed=wj6rby07yr -isystem /nix/store/mhvjwl82jxqbfqkk6lc652wm2bbiimqg-libcxx-11.1.0-dev/include -isystem /nix/store/ybynm3sjqg9s2s9w34djs5gzvjgdil2f-libcxxabi-11.1.0-dev/include -isystem /nix/store/ggr5n7s95bqaqk4jnk6224wh8fa9c1ry-compiler-rt-libc-11.1.0-dev/include -isystem /nix/store/8lmzw9jisghs9kih9xqxk5cypn6d678z-nodejs-18.16.1/include -isystem /nix/store/292gp9ylj5ansfx6xalckrwzdd6fi5b7-jq-1.6-dev/include -iframework /nix/store/64zzx6iq7523ikjv9kffmq19mr90hgq2-swift-corefoundation-unstable-2018-09-14/Library/Frameworks -isystem /nix/store/mhvjwl82jxqbfqkk6lc652wm2bbiimqg-libcxx-11.1.0-dev/include -isystem /nix/store/ybynm3sjqg9s2s9w34djs5gzvjgdil2f-libcxxabi-11.1.0-dev/include -isystem /nix/store/ggr5n7s95bqaqk4jnk6224wh8fa9c1ry-compiler-rt-libc-11.1.0-dev/include -isystem /nix/store/8lmzw9jisghs9kih9xqxk5cypn6d678z-nodejs-18.16.1/include -isystem /nix/store/292gp9ylj5ansfx6xalckrwzdd6fi5b7-jq-1.6-dev/include -iframework /nix/store/64zzx6iq7523ikjv9kffmq19mr90hgq2-swift-corefoundation-unstable-2018-09-14/Library/Frameworks" "__impureHostDeps=/bin/sh /usr/lib/libSystem.B.dylib /usr/lib/system/libunc.dylib /dev/zero /dev/random /dev/urandom /bin/sh" "PAGER=less -R" "NM=nm" "NIX_BUILD_TOP=/tmp" "AUTH0_BASE_URL=http://localhost:3000" "SHLVL=0" "DISPLAY=:0" "VIRTUALENVWRAPPER_PROJECT_FILENAME=.project" "TEMP=/tmp" "VISUAL=emacs" "AUTH0_CLIENT_SECRET=lgwnmPwCDA5hygwmibPl5LsaRsxOMOOw_6W_IVc0syjCHbLSx7im5W85lmLK5OrQ" "MANPAGER=less -X" "AS=as" "AR=ar" "strictDeps=" "USER=randyburrell" "propagatedNativeBuildInputs=" "SIZE=size" "PATH_LOCALE=/nix/store/2lblxpvw25y8lxzxyialsgb7y99g0j88-adv_cmds-119-locale/share/locale" "ZSH=/Users/randyburrell/.oh-my-zsh" "NIX_NO_SELF_RPATH=1" "TERM=dumb" "API_BASE_URL=https://the-one-api.dev/v2" "depsBuildBuild=" "__propagatedImpureHostDeps=" "GEM_HOME=/Users/randyburrell/.gem" "NIX_DONT_SET_RPATH_FOR_BUILD=1" "WORKON_HOME=/Users/randyburrell/.virtualenvs" "doCheck=" "NIX_USER_PROFILE_DIR=/nix/var/nix/profiles/per-user/randyburrell" "__ETC_ZSHENV_SOURCED=1" "DIRENV_DIFF=eJzsWVlv4zjy_yqBsMA-bHTfAQZYx0fijmM7ttNJLxoQKOqiRFEyKetazHf_Q7JzOU7PbO-8_Lfz0GmSVfWrIl2qg_w3l3MX_-aWg801d8GJ98ynTKSAeI27o9THWBzkOUYQFCgjTAyzLMQ-D3G283jmJaKLyMUpKSFvfFKKLEIpO8nwJ2CzvBBxBgE-nrIPtRJU8znNAoT9vRDdERF2VFLwrGGFn4qs2pMIqsUS0P7_gwwTPT8AO1zsOXaMvjagmz4P9jb0f9gRMztieiP3Cu8VREcJQeqz10yHhRlyKaCNOCAezZAndudTZBn-EWmPeorspzsMioyepuYYFEFGU_6g4NQZwx0rstRhkKK8-ICHlunxlmNQU8ZTJPp18Xp96GMMqBhmoizIpqCIGLl-7cMPXWtJs9iHBRPHpEQ0I6lPCiZeZR_7YgMo-ZgKMxKgUOyZQpy5AIsk83wnzbxd5xLC0UY6P6Q7t_kQ8QR_lvsk9pJ_yvKP7EjzjPlULH3iZe9cpnd__HSuP7-Rk5KAhj84PwhccHJbnT3_lNVj0v_4B_Dp3L-ec5-SDCO4yzsyd85tbpej6apLoV1KCTLsdfyaLcJKj-zIrJUcu-m28Jwmdj27hpIkSSERNyJ3zj0uh856vPo6HY6d-eB2zF1w4CU9ChkNhZDshHEKIBNUSdEM07SNw8gyVe73c450aXywnDqXg_XYuV_NuAsuKoqcXYhiEfl8Rnwe5Ejw_FIsFe68570Zf-MuuOlmXX1NoZeZmb9SsLu5caOOodsOoN1o3Y1YN7rfXEvHKi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tO4QtpftoiFvkY_0Ue0mNdZ1l3Qn6dZ7Q46-Lkb9-5vy0fRqeukf7W0b9z3wnACLCzQ43529_j7dl3TjhMv3NnOYAJCH0hZhn5-_cuALPC80n51nDqVsxWLW2b5KVilmqqJBYONSVo7S2WmczvhQ7XIz0IRfDV978PMNwFt38Ge2L8_ff_CwAA___12lez" "GOROOT=/usr/local/Cellar/go/1.17.2/libexec/" "LD=ld" "CLICOLOR=1" "CPPFLAGS=-I/usr/local/opt/llvm/include:-I/usr/local/opt/llvm@13/include" "TMPDIR=/tmp" "NIX_STORE=/nix/store" "outputs=out" "HOMEBREW_INSTALL_BADGE=☕️ 🐸" "LD_DYLD_PATH=/usr/lib/dyld" "VIRTUALENVWRAPPER_WORKON_CD=1" "NIX_SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt" "cmakeFlags=" "depsTargetTargetPropagated=" "NIX_DONT_SET_RPATH=1" "LANG=en_US.UTF-8" "NIX_BINTOOLS=/nix/store/yy2n9gqbki1mxcjhzih8n95zg5mqngcj-cctools-binutils-darwin-wrapper-973.0.1" "HOME=/Users/randyburrell" "LDFLAGS=-L/usr/local/opt/llvm/lib:-L/usr/local/opt/llvm@13/lib" "doInstallCheck=" "IN_NIX_SHELL=impure" "VIRTUALENVWRAPPER_SCRIPT=/usr/local/bin/virtualenvwrapper.sh" "COMMAND_MODE=unix2003" "API_KEY=ITSwVmcdo7oeR2lbTKbh" "HOST_PATH=/nix/store/8lmzw9jisghs9kih9xqxk5cypn6d678z-nodejs-18.16.1/bin:/nix/store/jak8piiclal3q9080gk1n57mnbxijgj7-jq-1.6-bin/bin:/nix/store/1a6gwg8f25jii16sjsw0icb586g81d7h-coreutils-9.3/bin:/nix/store/bviv00ljcsvgdpkhp5624c73842nk5pr-findutils-4.9.0/bin:/nix/store/6iz20qk2a7624fryp24wckwlx7byf0p0-diffutils-3.10/bin:/nix/store/1xv4099wymkl510s96crxilgzg1jw2b7-gnused-4.9/bin:/nix/store/avpf9xk8zh78r45v1sypnj3wa1bm1cd2-gnugrep-3.11/bin:/nix/store/azg2bnrisvj0smp6nwm32i7qy7v1sypa-gawk-5.2.2/bin:/nix/store/nr78wwcvp7dyj8zx87yxi2yqsln3fsx6-gnutar-1.34/bin:/nix/store/ds96vji2vl9iiy769p03wxcgwzpkcjcc-gzip-1.12/bin:/nix/store/8g8almqm60mxwsip9yd6i8xc678jzl8v-bzip2-1.0.8-bin/bin:/nix/store/vbipsy4b7v6ffz1kncigvj6kybvv1f6k-gnumake-4.4.1/bin:/nix/store/s2ps2rq1k0k7sqw47yc7mi5311y1kqfl-bash-5.2-p15/bin:/nix/store/byfzh3ph8v6y3spnvb6pgdp42vhq6kma-patch-2.7.6/bin:/nix/store/c0flvw7h3vq86bqzwyfc01rnvspbg0c3-xz-5.4.3-bin/bin:/nix/store/82g255jjj7isnqfvz58wn423lwf12bz6-file-5.44/bin" "system=x86_64-darwin" "TEMPDIR=/tmp" "_=/Applications/Emacs.app/Contents/MacOS/Emacs-x86_64-10_14" "GREP_OPTIONS=--color=auto" "AUTH0_ISSUER_BASE_URL=https://dev-rewe02uuvs4k6mwk.us.auth0.com" "CXX=clang++" "__NIX_DARWIN_SET_ENVIRONMENT_DONE=1" "NIX_PATH=/Users/randyburrell/.nix-defexpr/channels:darwin-config=/Users/randyburrell/.nixpkgs/darwin-configuration.nix:/nix/var/nix/profiles/per-user/root/channels" "MANPATH=" "__propagatedSandboxProfile=" "NIX_ENFORCE_NO_NATIVE=1" "SWORD_PATH=/Users/randyburrell/Library/Application Support/Sword" "LOGNAME=randyburrell" "SOURCE_DATE_EPOCH=315532800" "NIX_PROFILES=/nix/var/nix/profiles/default /run/current-system/sw /Users/randyburrell/.nix-profile" "PWD=/Users/randyburrell" "MACOSX_DEPLOYMENT_TARGET=10.12" "EDITOR=emacs" "DIRENV_FILE=/Users/randyburrell/Projects/Work/KiFi/PTMS-Frontend/.envrc" "GPG_TTY=not a tty" "shellHook=export PATH=\"$PWD/node_modules/.bin/:$PATH\"\nalias scripts='jq \".scripts\" package.json'\n" "LC_MONETARY=en_US.UTF-8" "builder=/nix/store/s2ps2rq1k0k7sqw47yc7mi5311y1kqfl-bash-5.2-p15/bin/bash" "stdenv=/nix/store/rbws9384qkpv27v3m2k8lg42fz9ql1s1-stdenv-darwin" "depsTargetTarget=" "STRINGS=strings" "DIRENV_DIR=-/Users/randyburrell/Projects/Work/KiFi/PTMS-Frontend" "SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.vmIXOTxXBj/Listeners" "__CFBundleIdentifier=org.gnu.Emacs" "JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-11.0.2.jdk/Contents/Home" "USE_EDITOR=emacs" "__sandboxProfile=" "depsHostHost=" "shell=/nix/store/s2ps2rq1k0k7sqw47yc7mi5311y1kqfl-bash-5.2-p15/bin/bash" "PKG_CONFIG_PATH=/usr/local/opt/ruby/lib/pkgconfig:/usr/local/Cellar/glib/2.66.4/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/Cellar/libffi/3.3/lib/pkgconfig" "mesonFlags=" "NIX_CC_WRAPPER_TARGET_HOST_x86_64_apple_darwin=1" "configureFlags=" "GITHUB_USER=randy1burrell" "NIX_BUILD_CORES=12" "GREP_COLOR=mt=1;32" "XPC_FLAGS=0x0" "XDG_CONFIG_DIRS=/Users/randyburrell/.nix-profile/etc/xdg:/run/current-system/sw/etc/xdg:/nix/var/nix/profiles/default/etc/xdg" "SHELL=/bin/zsh")
                :prettier-options nil)

To Reproduce Install Prettier -> Open any files that Prettier will run in -> Make an edit -> Save the file

Expected behavior Prettier should format the buffer properly

Additional context Add any other context about the problem here.

kgutwin commented 1 year ago

It looks like this might be related to #125? Prettier v3 may not be supported yet, before the PR #124 is merged.

jscn commented 12 months ago

Either #124 didn't fix the problem, or it hasn't made it's way to melpa. It looks to me like the version on melpa includes the changes from #124, but I don't really understand how that package index works, so I may be wrong. Regardless, I'm running into the same issue having upgraded to prettier v3.

jscn commented 12 months ago

Downgrading prettier to v2 "fixed" this for me. There's some additional info here that might also help.

jscheid commented 11 months ago

It seems to work fine here with Prettier 3.1.0. Are you perhaps using MELPA Stable? I don't think I've rolled a new stable release yet. Check M-x package-list-packages to see which version of the prettier package you have installed (20231002.1153 here.)

jscheid commented 11 months ago

Closing this for now, I'm pretty certain this is sorted. Feel free to open a new ticket if you're still running into troubles but would be good to see details on what exactly your setup looks like.

aspiers commented 11 months ago

I was getting this with the latest master, but managed to fix it somehow - probably by running make to rebuild prettier-el.js.gz.base64 although I'm not entirely sure. Unfortunately I can't tell what version of prettier is/was in use, because for some reason #97 hasn't been merged yet. I think this warrants another plea for progress on #92 because things seem to go wrong with prettier.el most times I update it or some other aspect of local setup changes, and currently it's still very difficult to figure out what's going on.

Randy1Burrell commented 11 months ago

This can be a good plugin, because the concept is great. Especially, coming from the other prettier-mode and I needed something that could work with my local prettier file, without having to do a folder level emacs config. However, I decided to switch to Apheleia mode since this doesn't work. Might rally back here if... Or build my own.

jscheid commented 11 months ago

@Randy1Burrell how is it not working?

Randy1Burrell commented 11 months ago

@jscheid It's not that it doesn't work. It just doesn't work for me. I need a tool to help me achieve a task, not something that I need to worry about upgrading my prettier package will cause it to break and mess up my whole file, even if I have another plugin installed that conflicts with it. I need my tool to work and not have to configure it all the time. My editor is about writing code and it didn't work for me, and I had to spend days wondering why. That's too much time if you ask me.

There was a time when I was all about hacking tools and systems to make them work. However, I figure that since that doesn't create value I need to leave that to the professionals, such as yourself, and focus on actually creating value for others. So unless I need a tool, it's not worth the time to figure out how to fix it. That's why I decided to change to a Mac, and stopped hacking my Linux box to do everything known to man.

jscn commented 11 months ago

I just tried upgrading the prettier npm package again and it now seems to be working for me. I can confirm that I'm running prettier.el 20231002.1153 with prettier v3.1.1. Something must have been cached or misconfigured somehow the first time I tried :shrug:

jscheid commented 11 months ago

@jscn glad to hear it, thanks for the update.

@Randy1Burrell it sounds like you're happy with Apheleia, that's great. You should stick with it if it works for you.

I'm certainly not trying to sell you on anything, but for the benefit of other readers: it's not necessary to "keep upgrading" this package. Prettier 3.0.0 broke API compatibility in a major way and since we're consuming the API this did require an upgrade to retain compatibility.

It may well happen again some day, but this was the only breaking change affecting us in all the years that this package has existed. (There were breaking API changes in Prettier 2.0.0 but they were to functions we're not using.)

The other packages, such as Apheleia, use the Prettier CLI, which is more stable. So yes -- if stability is your main concern you should probably use one of the alternatives.

I think it's also fair to say that the other packages are all quite a bit simpler than this one, which perhaps means less need for fiddling overall. In exchange for the added complexity of this package you're getting lower latency, which is important to me. It may not be important to everyone and that's absolutely fine, pick what works best for you.

One last thing, I've been dogfooding this package on a daily basis since 2018 and I can't remember the last time it's misbehaved and I had to fiddle with it. For my use cases it "just works", YMMV.

Randy1Burrell commented 11 months ago

@jscheid to your point regarding the latency. I would have loved it if this tool worked out for me because that is also super important to me and I appreciated the time you took to build it. You built it so you know what works and what to fix if needs be. I believe that if this tool works when you install it then you should stick with it because the improvements vs other plugins that do the same things are just enormous.

I'm happy with Apheleia to a certain degree. It works for now but the latency nags but hey it worx right now until I have time in the future to fiddle and test this plugin again.