sanity-plugin-external-files
sanity-plugin-external-files copied to clipboard
Installation step missing
Hi there,
first of all congratulation for your plugin, it looks good for my use case of creating a DAM on top of S3.
I have a problem when installing the plugin I receive this error:
Module not found: Error: Can't resolve 'config:s3-dam'
Did you miss a step in documentation?
Mirko
I'm also getting this error. Did you ever figure this out?
I'm getting the following error when starting Sanity Studio locally:
❯ yarn start
yarn run v1.22.19
$ sanity start
✔ Checking configuration files...
⠦ Compiling...webpack built a2b79daab6f8081098fe in 11779ms
✔ Compiling...
Failed to compile.
Error in ./node_modules/sanity-plugin-s3-dam/lib/config.js
Module not found: Error: Can't resolve 'config:s3-dam?' in '/Users/cavellblood/webdev/sanity-project/node_modules/sanity-plugin-s3-dam/lib'
@ ./node_modules/sanity-plugin-s3-dam/lib/config.js 16:40-65
@ ./node_modules/sanity-plugin-s3-dam/lib/schemas/s3-dam.custom-data.js
@ ./node_modules/sanity-plugin-s3-dam/lib/schemas/s3-dam.custom-data.js (all:part:@sanity/base/schema-type)
@ ./schemas/schema.js (part:@sanity/base/schema)
@ ./node_modules/@sanity/vision/lib/SanityVision.js
@ ./node_modules/@sanity/vision/lib/VisionTool.js
@ ./node_modules/@sanity/vision/lib/VisionTool.js (all:part:@sanity/base/tool)
@ ./node_modules/@sanity/default-layout/lib/util/getRegisteredTools.js
@ ./node_modules/@sanity/default-layout/lib/router.js
@ ./node_modules/@sanity/default-layout/lib/Root.js (part:@sanity/base/root)
@ ./node_modules/@sanity/base/lib/components/SanityRoot.js (part:@sanity/base/sanity-root)
@ ./node_modules/@sanity/server/lib/browser/entry-dev.js
@ multi ./node_modules/@sanity/server/lib/browser/entry-dev.js
So I'm not able to even get into the control panel to even put in my AWS credentials. Maybe I'm missing something.
having the same issue (just +1ing for visibility)
ps.: using 0.6.2 works for me.
@mxmzb In what file did you change the version to 0.6.2
?
Is there any update on this? I kinda need the version 0.7.0 . In dire need of the new file types :)
I have also this error, what is missing here?
@mxmzb In what file did you change the version to
0.6.2
?
I'd already attempted the standard sanity install s3-dam
and got the same result as you.
I took a guess and tried sanity install [email protected]
which looked good but gave me this error on sanity start
:
Error: Plugin "[email protected]" not found.
Locations tried:
....
In sanity.json
I now had two entries for the s3-dam plugin
...
"plugins": [
"@sanity/base",
"@sanity/default-layout",
"@sanity/default-login",
"@sanity/desk-tool",
"s3-dam",
"[email protected]"
],
...
So I removed "[email protected]"
and sanity start
was then able to do its thing.
HTH