How to deploy sanity studio in v3? - sanity

I'm getting started with sanity V3 and am using this official sanity starter https://www.sanity.io/templates/personal-website-with-built-in-content-editing
Maybe I'm missing the obvious but there are no instructions on how to deploy the sanity studio? How does one do this
I installed sanity/cli and ran npx sanity deploy but get stuck with this error
Error: [vite]: Rollup failed to resolve import "lib/sanity.api" from "/Users/sashabb/Documents/apps/love-tilly-devine/sanity.config.ts".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
`build.rollupOptions.external`
Any suggestions would be amazing

Related

reSolve and React Native integration

Is there any working example available involving reSolve in React Native?
Suggestions of comparable solutions (running without any back-end connectivity in place) either in React Native or Flutter are also most appreciated.
GitHub contains an example in the reimagined/react-native-example repository but unfortunately it isn't working. It seems the current version is pretty outdated.
Referring to that repository, the command yarn create resolve-app -e shopping-list-advanced shopping-list-advanced results in the following error message.
Error: No such example, shopping-list-advanced. The following examples are available
So you are unable to download the sample code since it does not appear to exist.
So I tried downloading and inflating the ZIP manually. Afterwards I ran yarn install (which takes a while and reports quite a lot of warnings). Next, I used the command yarn start:native. This doesn't work either and results in the following error message.
ERROR: Node.js version 16.13.2 is no longer supported.expo-cli supports following Node.js versions: >=10.13.0 <11.0.0 (Active LTS) >=12.0.0 <13.0.0 (Active LTS) >=13.0.0 <14.0.0 (Current Release)
In an attempt to solve the problem, I updated the expo-cli version in the native\package.json file to 5.0.3. Running yarn install and yarn start:native again results in a new error message being thrown error.
Invalid regular expression:
/(ui[\]node_modules[\]react-native[\].|ui[\]node_modules[\]expo[\].|node_modules[\]react[\]dist[\].|website\node_modules\.|heapCapture\bundle.js|.\tests\.)$/:
Range out of order in character class.
This doesn't seem to go anywhere... In other words, I am a bit stuck here since I don't know what this message actually means.
Thank you for your feedback.
The team decided to extract the React Native example to a separate repository and postpone its maintenance to keep focused on more important tasks like polishing the server-side.
As you mentioned, the example is outdated, there are many changes in the client configuration since then. In the future, we may work on some guide on how to use reSolve in React Native and other frameworks.
In the meantime, you can try to add reSolve in your ReactNative app using our docs.
We provide several client libraries that can be helpful:
https://reimagined.github.io/resolve/docs/api/client/resolve-client/
https://reimagined.github.io/resolve/docs/api/client/resolve-react-hooks/
https://reimagined.github.io/resolve/docs/api/client/resolve-redux/
Feel free to contact us through Github in case of any difficulties, we'll be glad to help you.

How to fix errors in Gridsome.js?

Problem Summary
So I'm trying to launch a new Gridsome project for local development. I've toyed with Gridsome in the past and had a great experience, so I decided to give it another shot.
This time around; however, when I run the gridsome create command, the system creates a new Gridsome site directory as expected but returns the following error message:
The instructions in this error message say to enter the newly-created site directory and run gridsome develop to start local development. However, after running cd my-gridsome-site and subsequently running gridsome develop, I then receive this error:
So far, I've tried running npm install --save from the site directory as well as yarn install, both to no avail. Thinking that this was possibly tied to my terminal, I switched from using the Zsh terminal to using the Bash terminal. This also did not work.
I'm at a loss here and could really use a hand.
Thank you for helping,
David
This seems to be an environment error. Gridsome requires Node.js (v8.3+) and recommends Yarn.
Make sure your Node.js version is v8.3+ and use only one package manager like Yarn.
to check node version: node -v
I had this same issue, but I resolved it after installing yarn and running the project with yarn instead of NPM. So you should try using yarn it will help,

Disabling wallet during building bitcoin node

Why do we need to do ./configure --disalbe-wallet --with-gui=no during installing or building bitcoin node?
I was trying to build it whithout --disable-wallet but the configure throws the error
You don't necessarily need to build bitcoin core with the --disable-wallet option. If you're having build errors without --disable-wallet then it's likely you don't have the BerkeleyDB library in your installation. It would help if you could post the related error.

Drizzle installation end up with errors

I have followed the this tutorial from Truffle official page, First few steps goes smoothly and when i tried to install drizzle on client directory as per the tutorial says it ended up with this error message,
before this error message it has error with typescript package so i installed it manually, and this one is with scrypt.
previously it was about VS build tools, now it is with Scrypt package, with missing some files.
Any suggestions.
Problem solved, it seems scrypt package supports node 11v only.

Unable to build apk using grunt build command

When I try to build apk for sample application in oracle JET using grunt command, I am getting below error.
Loading "Gruntfile.js" tasks...ERROR
Error: Cannot find module 'load-grunt-config'
jit-grunt: Plugin for the "grunt" task not found.
If you have installed the plugin already, please setting the static mapping.
See https://github.com/shootaroo/jit-grunt#static-mappings
Warning: Task "grunt" failed. Use --force to continue.
Aborted due to warnings.
Done.
Since I new to this concept, I don't know what to map using static mapping
IDE:NetBeans 8.2
Java: 1.8.0_111
Oracle JET Supoort Version: 0.10.1
Can anyone help me to solve this issue?
Since you don't give much information to work with, please see the official documentation regarding Oracle JET and hybrid developemt: http://docs.oracle.com/middleware/jet230/jet/developer/GUID-C75CD8DC-5084-4831-BE1A-FFEE4EA8600C.htm#JETDG-GUID-C75CD8DC-5084-4831-BE1A-FFEE4EA8600C
Some required steps before trying to build.
Make sure you installed: grunt-cli, bower, cordova and the Android SDK
Did you scaffold an hybrid application using Yeoman?
ex: yo oraclejet:hybrid app --appname="Sample NavBar" --template=navbar --platform=android
What command (+ parameters) do you use to try and build your application?