Can you update your @plasmicpkgs/antd
How do I update it?
After updating you’ll have to open your project with the app host with the updated antd at least once
And then sync again
How exactly do I update it in the first place?
Do I just run npm install @plasmicpkgs/antd
?
Because I tried that, and then exited the screen and started a new local host and tried syncing again but am still getting this same error
The only file in my antd folder is plasmic_antd.module.css
yes you just need to npm install @plasmicpkgs/antd
, start the localhost, open the project against the localhost, and then sync
Yeah I did that but still not working.
It also gave me a message saying Make sure to import the following global CSS: “@plasmicpkgs/antd/dist/antd.css”
But when I ran npm install @plasmicpkgs/antd/dist/antd.css I got an error saying ENOENT: no such file or directory, open ‘/Users/seanobrien/Desktop/astriusdraft/astrius/@plasmicpkgs/antd/dist/antd.css/package.json’
hmm what version do you see if you check node_modules/@plasmicpkgs/antd/package.json?
Ok I think I fixed the issue
Just from playing around with new npm installs and making Github push/pull requests
I think a lot of the times when issues like this happen is with version control with Plasmic where my other dev makes edits in our plasmic account but then makes a PR on Github so plasmic sync after then results in strange merge conflicts or errors like this