Unlock seamless workflows and faster delivery with our latest releases - Join the deep dive

Troubleshooting installation of @sanity/google-maps-input and missing module error

16 replies
Last updated: Oct 5, 2020
Hi! šŸ˜ÆAll was running fine with my project Sanity studio...
till I installed
@sanity/google-maps-input
and it dose not look very goodšŸ˜®!I get a long list starting with error:

Error: Cannot find module 'prop-types'
Require stack:
Any idea? Thank you!!!
Oct 5, 2020, 12:51 PM
I just
uninstall @sanity/google-maps-input
and once I run
sanity start
I getFailed to compile.


Error in ./node_modules/@sanity/base/lib/components/MissingProjectConfig.js

Module not found: Error: Part "part:@sanity/components/dialogs/fullscreen-message" not implemented by any plugins

@ ./node_modules/@sanity/base/lib/components/MissingProjectConfig.js 12:48-109

@ ./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/normalize.css/normalize.css ./node_modules/@sanity/server/lib/browser/entry-dev.js
Oct 5, 2020, 12:57 PM
Iā€™d try deleting the
node_modules
Ā folder an run
sanity install
Ā again
Oct 5, 2020, 1:04 PM
OK! Thank you
user Y
! I'll do that
Oct 5, 2020, 1:04 PM
user Y
As for the
@sanity/google-maps-input
is this a suggested install? in fact there is not much documentation on the page on how to use it: https://www.npmjs.com/package/@sanity/google-maps-input
Oct 5, 2020, 1:07 PM
ouch!
user Y
again
āœ”ļø Compiling...Failed to compile.

Error in ./node_modules/@sanity/base/lib/components/MissingProjectConfig.js
Module not found: Error: Part "part:@sanity/components/dialogs/fullscreen-message" not implemented by any plugins
@ ./node_modules/@sanity/base/lib/components/MissingProjectConfig.js 12:48-109
@ ./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/normalize.css/normalize.css ./node_modules/@sanity/server/lib/browser/entry-dev.js
Oct 5, 2020, 1:11 PM
Huh - what version are you on? Could you share your
sanity.json
?
Oct 5, 2020, 1:12 PM
Oct 5, 2020, 1:13 PM
Super weird ā€“Ā could you for good measure try
sanity upgrade
Oct 5, 2020, 1:29 PM
user Y
thanks. Yes! will try
Oct 5, 2020, 1:30 PM
šŸŒˆ
user Y
thank you! that was it! it did update 6 folders!
Oct 5, 2020, 1:33 PM
user Y
so probably I can safely install
@sanity/google-maps-input
now? wold this be the best choice to handle google-map? thank you!
Oct 5, 2020, 1:34 PM
for the google maps thing, scroll down on this page: https://www.sanity.io/docs/geopoint-type
Oct 5, 2020, 1:34 PM
user Y
Great! Thank You! šŸ™šŸ‘šŸŒ»
Oct 5, 2020, 1:37 PM
it worksšŸŽ‰ very easy to use! nice and amazing
user Y
Thank you!
Oct 5, 2020, 2:25 PM
user Y
šŸ˜¦ You guys have thought of everything! Lucky the rest of my team aren't tech savvy enough to know how almost redundant Sanity makes me šŸ¤£
Oct 5, 2020, 6:16 PM
user B
haha! well, I like to think that it only makes you able to do more interesting things with your time, so in fact, it makes you even more invaluable!
Oct 5, 2020, 11:12 PM

Sanityā€“ build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?