Comments (8)
Hey @eunjae-lee
I'll post the package.json later today. I tested it on two MacOs devices (one with nvm and corepack and one with "normal" node and pnpm installations). I'll try it with my Win PC later today and update my report.
from field-plugin.
Hello @hoersamu Thanks for reporting this issue.
I just tested it and it actually worked on my machine.
- standalone + vue 3 template
- monorepo + vue 3 template
both worked. I'm using Node 18.16.0 with pnpm 8.6.7, which isn't that different from yours.
Maybe could you post your package.json that possibly could've caused this issue of Invalid package manager specification in ../../package.json; expected a semver version
error"?
from field-plugin.
Hey @eunjae-lee
Sorry for the delay. This is the root package.json file:
package.json
I can't reproduce the polyrepo problem but the monorepo problem is still reproducible.
I asked my collegues to test this too:
Node 18.15.0 + pnpm 8.12.0 -> No Problem
Node 18.15.0 + pnpm 8.14.0 -> Error
Node 18.15.0 + pnpm 8.6.11 -> Error
Node 18.15.0 + pnpm 8.6.5 -> Error
There is also a schema warning in the package.json:
String does not match the pattern of "(npm|pnpm|yarn|bun)@\d+\.\d+\.\d+(-.+)?".
I looked up the spec (https://nodejs.org/api/packages.html#packagemanager) and the officially need name@version
.
from field-plugin.
Hm this issue might be related to corepack.
Most of my organization has corepack enabled so this might explain why we can all reproduce it with various pnpm versions.
from field-plugin.
@hoersamu Oh, I don't have corepack enabled. It might be the reason why I cannot reproduce it.
Do you think if we update the package.json to include [email protected]
instead of pnpm
, will it solve your problem?
from field-plugin.
@eunjae-lee Honestly i would remove it. This field in the package.json is marked as experimental and corepack specific.
If you want to keep it you could also set it to *
(or latest or stable).
from field-plugin.
@eunjae-lee Honestly i would remove it. This field in the package.json is marked as experimental and corepack specific.
If you want to keep it you could also set it to
*
(or latest or stable).
Thanks for the feedback. Then could you give it a test by removing that field, and see if it works for you?
from field-plugin.
Hey @eunjae-lee
*
Apparently star also doesn't work but I created a PR where I set the pnpm version to the latest stable release. This fixes the issue.
from field-plugin.
Related Issues (20)
- Use data source for options HOT 4
- Sandbox not working in the browser Brave due to ad blocker HOT 1
- Wrong modal iframe heigth HOT 5
- Visual Editor does not detect changes in custom field plugin HOT 6
- Possibility to edit complete data structure in Field Plugin Sandbox HOT 3
- Access FieldPlugin options from within validateContent HOT 1
- Cannot find module '@storyblok/field-plugin/test' or its corresponding type declarations. HOT 3
- Add selected interface app language HOT 2
- Vue3 plugin options from useFieldPlugin hook is `undefined` HOT 2
- Field Plugin height is not correctly updated HOT 1
- [sandbox] Preserve settings in URL query parameters for easy sharing HOT 1
- Extend CLI with --publish flag option configurable
- Extend CLI deploy command with --spaces flag option configurable HOT 4
- Extend CLI to enable deleting field-type plugins HOT 4
- Add easy access to current block data object HOT 3
- Field plugins do not work on domains other than app.storyblok.com
- Vite 5 support ?
- Default options not working HOT 4
- "actions.selectAsset()" only returns the filename but not things like Alt Text or Asset ID HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from field-plugin.