Comments (5)
@advanztek Please open this issue on Metaplex repo. But my bet is you either did upload more or less than you should have had uploaded to your cache config file. Might be wrong about this tho.
from solana-candy-factory.
It probably also has a bigger error message than this one that shows more about it.
from solana-candy-factory.
Also try running upload command again and then creating the candy machine after
from solana-candy-factory.
Hi @kevinfaveri, I updated some of the json files that were having issues and changed the chain in the cache to false and run the upload command again and everything worked fine.
Thank you for your assistance.
from solana-candy-factory.
Yarn build keeps on giving this error
yarn build
yarn run v1.22.5
$ next build
info - Using webpack 5. Reason: Enabled by default https://nextjs.org/docs/messages/webpack5
info - Checking validity of types
./src/pages/index.tsx
33:9 Warning: Do not use . Use Image from 'next/image' instead. See https://nextjs.org/docs/messages/no-img-element. @next/next/no-img-element
./src/pages/my-nfts.tsx
37:15 Warning: Do not use . Use Image from 'next/image' instead. See https://nextjs.org/docs/messages/no-img-element. @next/next/no-img-element
./src/components/recaptcha-button.tsx
34:6 Warning: React Hook useCallback has missing dependencies: 'actionName', 'executeRecaptcha', and 'onClick'. Either include them or remove the dependency array. If 'onClick' changes too often, find the parent component that defines it and wrap that definition in useCallback. react-hooks/exhaustive-deps
info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
info - Creating an optimized production build
info - Compiled successfully
(node:84) UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_URL]: Invalid URL: undefined
at onParseError (internal/url.js:279:9)
at new URL (internal/url.js:355:5)
at new Connection (C:\Users\user\ssscc\solana-candy-factory\node_modules@project-serum\anchor\node_modules@solana\web3.js\lib\index.cjs.js:3472:15)
at Object.3924 (C:\Users\user\ssscc\solana-candy-factory.next\server\chunks\924.js:29:20)
at webpack_require (C:\Users\user\ssscc\solana-candy-factory.next\server\webpack-runtime.js:25:42)
at Object.9064 (C:\Users\user\ssscc\solana-candy-factory.next\server\pages_app.js:21:83)
at webpack_require (C:\Users\user\ssscc\solana-candy-factory.next\server\webpack-runtime.js:25:42)
at webpack_exec (C:\Users\user\ssscc\solana-candy-factory.next\server\pages_app.js:155:39)
at C:\Users\user\ssscc\solana-candy-factory.next\server\pages_app.js:156:70
at Function.webpack_require.X (C:\Users\user\ssscc\solana-candy-factory.next\server\webpack-runtime.js:108:21)
(Use node --trace-warnings ...
to show where the warning was created)
(node:84) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:84) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:84) UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_URL]: Invalid URL: undefined
at onParseError (internal/url.js:279:9)
at new URL (internal/url.js:355:5)
at new Connection (C:\Users\user\ssscc\solana-candy-factory\node_modules@project-serum\anchor\node_modules@solana\web3.js\lib\index.cjs.js:3472:15)
at Object.3924 (C:\Users\user\ssscc\solana-candy-factory.next\server\chunks\924.js:29:20)
at webpack_require (C:\Users\user\ssscc\solana-candy-factory.next\server\webpack-runtime.js:25:42)
at Object.9064 (C:\Users\user\ssscc\solana-candy-factory.next\server\pages_app.js:21:83)
at webpack_require (C:\Users\user\ssscc\solana-candy-factory.next\server\webpack-runtime.js:25:42)
at webpack_exec (C:\Users\user\ssscc\solana-candy-factory.next\server\pages_app.js:155:39)
at C:\Users\user\ssscc\solana-candy-factory.next\server\pages_app.js:156:70
at Function.webpack_require.X (C:\Users\user\ssscc\solana-candy-factory.next\server\webpack-runtime.js:108:21)
(node:84) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
Build error occurred
TypeError [ERR_INVALID_URL]: Invalid URL: undefined
at onParseError (internal/url.js:279:9)
at new URL (internal/url.js:355:5)
at new Connection (C:\Users\user\ssscc\solana-candy-factory\node_modules@project-serum\anchor\node_modules@solana\web3.js\lib\index.cjs.js:3472:15)
at Object.3924 (C:\Users\user\ssscc\solana-candy-factory.next\server\chunks\924.js:29:20)
at webpack_require (C:\Users\user\ssscc\solana-candy-factory.next\server\webpack-runtime.js:25:42)
at Object.9064 (C:\Users\user\ssscc\solana-candy-factory.next\server\pages_app.js:21:83)
at webpack_require (C:\Users\user\ssscc\solana-candy-factory.next\server\webpack-runtime.js:25:42)
at webpack_exec (C:\Users\user\ssscc\solana-candy-factory.next\server\pages_app.js:155:39)
at C:\Users\user\ssscc\solana-candy-factory.next\server\pages_app.js:156:70
at Function.webpack_require.X (C:\Users\user\ssscc\solana-candy-factory.next\server\webpack-runtime.js:108:21) {
type: 'NodeError',
input: 'undefined',
code: 'ERR_INVALID_URL'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
from solana-candy-factory.
Related Issues (20)
- Candy Machine Config accounts not 529 bytes HOT 1
- Unhandled Runtime Error HOT 1
- mainnet deploy doesn't work HOT 1
- Images and meta data seem to be not uploading on devnet HOT 1
- Upload was not successful, rerunning HOT 12
- Minting more than one asset is showing wrong price on Phantom wallet HOT 2
- ReCaptcha is useless HOT 3
- update_info HOT 3
- Yarn build not working HOT 2
- saving config line 10-19 failed RangeError: encoding overruns Buffer HOT 1
- Error mint greater 2 nfts HOT 2
- Issue while uploading ~700 files HOT 5
- Estimated balance changes not showing HOT 1
- Some question!!! HOT 1
- Insufficient Lamports HOT 2
- Error: ENOENT: no such file or directory, open './.cache/devnet-temp' HOT 1
- Your twitter account HOT 1
- Hello! Having A Buffer OverFlow issue// Can't Recall To See Where I am Going Wrong.
- I will help you fix and finish the project 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 solana-candy-factory.