Hey, i wonder if adding these dependencies in a package.json's peerDependencies would work? You'll just have to use pnpm i after extending some layer. What do you think?
In this case the layer is not installed as an npm package but cloned from repo by unjs/giget in /myProject/node_modules/.c12/github_myLayerRepo_xxx and it's dependencies are not installed.
Thank you for the tip anyway :)
It's not practical nor what I want but I'll publish my layer as an npm package. It should work considering the Nuxt3 documentation.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hey, i wonder if adding these dependencies in a package.json's
peerDependencieswould work? You'll just have to usepnpm iafter extending some layer. What do you think?Hey!
I tested it and it's not working.
I use the feature to extend layer from a distant GIT repo.
In this case the layer is not installed as an npm package but cloned from repo by
unjs/gigetin/myProject/node_modules/.c12/github_myLayerRepo_xxxand it's dependencies are not installed.Thank you for the tip anyway :)
It's not practical nor what I want but I'll publish my layer as an npm package. It should work considering the Nuxt3 documentation.