hi, I was working on a plugin couple of months ago and mostly got it working (the docs helped a lot and I was impressed with the plugin architecture, it was pretty easy to get going, so kudos for it). I had some distractions so put it aside for a bit. recently, I had a new idea for a plugin and was going to try building it, but when I pulled the latest from the
LipSurf/plugins repo I ran into some build problems. I tried to go back to square one and get the “hello world” example working again, but no luck.
My branch for my plugin was based on a commit around v3.0.0 and that branch still builds and I’m able to load the resulting
.ls into LipSurf and use it. But on later versions I get this error in building anything (same error for all plugins in
Cannot find type definition file for 'lipsurf-types/extension'.
this is all I did to reproduce it:
v3.4.3(on latest master I got a different error *)
yarn, no problems
yarn build, see the
Cannot find type definitionerror
I’m using yarn version
1.22.4, node version
v13.13.0, on mac OS 10.14, if that matters. But I was working on a Windows PC with Cygwin also and had the same problems there … that was the same yarn version but node
v14.0.0. I’m very unfamiliar with this ecosystem so bear with me (I’m usually a backend programmer)
I can obviously use my code on the branch from v3.0.0, the hello world example builds there if I make this change
/// <reference types="lipsurf-types/extension"/>
/// <reference types="lipsurf-plugin-types"/>
but I’m worried that code will rot eventually and fail to work, so would like to figure out and use the latest. thanks!!
*this is error on master from
error Couldn't find match for "e9944eae5af46e2f47072af45578d4d3795807bf" in "refs/heads/master,refs/tags/v3.1.0,refs/tags/v3.2.0,refs/tags/v3.3.0,refs/tags/v3.3.1,refs/tags/v3.3.2,refs/tags/v3.4.0,refs/tags/v3.4.1,refs/tags/v3.4.2,refs/tags/v3.4.3" for "https://github.com/lipsurf/cli".