Coder Social home page Coder Social logo

Comments (5)

kevinfaveri avatar kevinfaveri commented on July 17, 2024

@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.

kevinfaveri avatar kevinfaveri commented on July 17, 2024

It probably also has a bigger error message than this one that shows more about it.

from solana-candy-factory.

kevinfaveri avatar kevinfaveri commented on July 17, 2024

Also try running upload command again and then creating the candy machine after

from solana-candy-factory.

advanztek avatar advanztek commented on July 17, 2024

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.

advanztek avatar advanztek commented on July 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.