-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cant Run interface Error! #7631
Comments
need help guys... |
Same here, any solu? |
did u make it? bro. |
Hi. There seems to be a problem in line 14 in apps/web/scripts/compile-ajv-validators.js file. |
I can confirm that pull request #7637 worked like a charm to fix this issue 👍 |
pr not working for me , having same issue |
ERROR in ../../packages/uniswap/src/config.ts
new error found |
it worked on ubuntu/wsl shell. doing it on windows powershell was not working |
|
|
Log
This file contains the result of Yarn building a package (universe@workspace:.)
Script name: postinstall
husky - Git hooks installed
patch-package 7.0.2
Applying patches...
@vercel/og@0.5.8 ✔
@web3-react/coinbase-wallet@8.2.3 ✔
@web3-react/gnosis-safe@8.2.4 ✔
@web3-react/metamask@8.2.4 ✔
@web3-react/walletconnect-v2@8.5.1 ✔
• Packages in scope: @uniswap/interface, @uniswap/mobile, eslint-config-custom, jest-presets, tsconfig, ui, utilities, wallet
• Running prepare in 8 packages
• Remote caching disabled
@uniswap/interface:prepare: cache miss, executing fe13046893e538e9
wallet:prepare: cache hit, replaying logs ee0fed0badea6811
wallet:prepare: Successfully generated 12 typings!
@uniswap/interface:prepare: [contracts] npm WARN ignoring workspace config at C:\Users\ibenamzi\uni\interface-main\apps\web/.npmrc
@uniswap/interface:prepare: [i18n] npm WARN ignoring workspace config at C:\Users\ibenamzi\uni\interface-main\apps\web/.npmrc
@uniswap/interface:prepare: [ajv] npm WARN ignoring workspace config at C:\Users\ibenamzi\uni\interface-main\apps\web/.npmrc
@uniswap/interface:prepare: [contracts]
@uniswap/interface:prepare: [contracts] > @uniswap/interface@1.1.0 contracts
@uniswap/interface:prepare: [contracts] > yarn contracts:compile:abi && yarn contracts:compile:v3
@uniswap/interface:prepare: [contracts]
@uniswap/interface:prepare: [i18n]
@uniswap/interface:prepare: [i18n] > @uniswap/interface@1.1.0 i18n
@uniswap/interface:prepare: [i18n] > yarn i18n:extract --clean && yarn i18n:compile
@uniswap/interface:prepare: [i18n]
@uniswap/interface:prepare: [graphql] npm WARN ignoring workspace config at C:\Users\ibenamzi\uni\interface-main\apps\web/.npmrc
@uniswap/interface:prepare: [ajv]
@uniswap/interface:prepare: [ajv] > @uniswap/interface@1.1.0 ajv
@uniswap/interface:prepare: [ajv] > node scripts/compile-ajv-validators.js
@uniswap/interface:prepare: [ajv]
@uniswap/interface:prepare: [graphql]
@uniswap/interface:prepare: [graphql] > @uniswap/interface@1.1.0 graphql
@uniswap/interface:prepare: [graphql] > yarn graphql:fetch && yarn graphql:generate
@uniswap/interface:prepare: [graphql]
@uniswap/interface:prepare: [ajv] node:internal/fs/utils:348
@uniswap/interface:prepare: [ajv] throw err;
@uniswap/interface:prepare: [ajv] ^
@uniswap/interface:prepare: [ajv]
@uniswap/interface:prepare: [ajv] Error: ENOENT: no such file or directory, open 'C:\Users\ibenamzi\uni\interface-main\apps\web\src\utils_generated_\validateTokenList.js'
@uniswap/interface:prepare: [ajv] at Object.openSync (node:fs:600:3)
@uniswap/interface:prepare: [ajv] at Object.writeFileSync (node:fs:2221:35)
@uniswap/interface:prepare: [ajv] at Object. (C:\Users\ibenamzi\uni\interface-main\apps\web\scripts\compile-ajv-validators.js:14:4)
@uniswap/interface:prepare: [ajv] at Module._compile (node:internal/modules/cjs/loader:1159:14)
@uniswap/interface:prepare: [ajv] at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
@uniswap/interface:prepare: [ajv] at Module.load (node:internal/modules/cjs/loader:1037:32)
@uniswap/interface:prepare: [ajv] at Module._load (node:internal/modules/cjs/loader:878:12)
@uniswap/interface:prepare: [ajv] at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
@uniswap/interface:prepare: [ajv] at node:internal/main/run_main_module:23:47 {
@uniswap/interface:prepare: [ajv] errno: -4058,
@uniswap/interface:prepare: [ajv] syscall: 'open',
@uniswap/interface:prepare: [ajv] code: 'ENOENT',
@uniswap/interface:prepare: [ajv] path: 'C:\Users\ibenamzi\uni\interface-main\apps\web\src\utils\generated\validateTokenList.js'
@uniswap/interface:prepare: [ajv] }
@uniswap/interface:prepare: [ajv]
@uniswap/interface:prepare: [ajv] Node.js v18.12.1
@uniswap/interface:prepare: [ajv] npm ERR! Lifecycle script
ajv
failed with error:@uniswap/interface:prepare: npm ERR! Error: command failed
@uniswap/interface:prepare: [ajv] npm ERR! in workspace: @uniswap/interface@1.1.0
@uniswap/interface:prepare: [ajv] npm ERR! at location: C:\Users\ibenamzi\uni\interface-main\apps\web
@uniswap/interface:prepare: [ajv] npm run ajv exited with code 1
@uniswap/interface:prepare: [contracts] Successfully generated 30 typings!
@uniswap/interface:prepare: [contracts] Successfully generated 218 typings!
@uniswap/interface:prepare: [contracts] npm run contracts exited with code 0
@uniswap/interface:prepare: [i18n] ✔
@uniswap/interface:prepare: [i18n] Catalog statistics for src/locales{locale}:
@uniswap/interface:prepare: [i18n] ┌────────────────┬─────────────┬─────────┐
@uniswap/interface:prepare: [i18n] │ Language │ Total count │ Missing │
@uniswap/interface:prepare: [i18n] ├────────────────┼─────────────┼─────────┤
@uniswap/interface:prepare: [i18n] │ af-ZA │ 874 │ 874 │
@uniswap/interface:prepare: [i18n] │ ar-SA │ 874 │ 874 │
@uniswap/interface:prepare: [i18n] │ ca-ES │ 874 │ 874 │
@uniswap/interface:prepare: [i18n] │ cs-CZ │ 874 │ 874 │
@uniswap/interface:prepare: [i18n] │ da-DK │ 874 │ 874 │
@uniswap/interface:prepare: [i18n] │ el-GR │ 874 │ 874 │
@uniswap/interface:prepare: [i18n] │ en-US (source) │ 874 │ - │
@uniswap/interface:prepare: [i18n] │ es-ES │ 874 │ 874 │
@uniswap/interface:prepare: [i18n] │ fi-FI │ 874 │ 874 │
@uniswap/interface:prepare: [i18n] │ fr-FR │ 874 │ 874 │
@uniswap/interface:prepare: [i18n] │ he-IL │ 874 │ 874 │
@uniswap/interface:prepare: [i18n] │ hu-HU │ 874 │ 874 │
@uniswap/interface:prepare: [i18n] │ id-ID │ 874 │ 874 │
@uniswap/interface:prepare: [i18n] │ it-IT │ 874 │ 874 │
@uniswap/interface:prepare: [i18n] │ ja-JP │ 874 │ 874 │
@uniswap/interface:prepare: [i18n] │ ko-KR │ 874 │ 874 │
@uniswap/interface:prepare: [i18n] │ nl-NL │ 874 │ 874 │
@uniswap/interface:prepare: [i18n] │ no-NO │ 874 │ 874 │
@uniswap/interface:prepare: [i18n] │ pl-PL │ 874 │ 874 │
@uniswap/interface:prepare: [i18n] │ pt-BR │ 874 │ 874 │
@uniswap/interface:prepare: [i18n] │ pt-PT │ 874 │ 874 │
@uniswap/interface:prepare: [i18n] │ ro-RO │ 874 │ 874 │
@uniswap/interface:prepare: [i18n] │ ru-RU │ 874 │ 874 │
@uniswap/interface:prepare: [i18n] │ sr-SP │ 874 │ 874 │
@uniswap/interface:prepare: [i18n] │ sv-SE │ 874 │ 874 │
@uniswap/interface:prepare: [i18n] │ sw-TZ │ 874 │ 874 │
@uniswap/interface:prepare: [i18n] │ tr-TR │ 874 │ 874 │
@uniswap/interface:prepare: [i18n] │ uk-UA │ 874 │ 874 │
@uniswap/interface:prepare: [i18n] │ vi-VN │ 874 │ 874 │
@uniswap/interface:prepare: [i18n] │ zh-CN │ 874 │ 874 │
@uniswap/interface:prepare: [i18n] │ zh-TW │ 874 │ 874 │
@uniswap/interface:prepare: [i18n] └────────────────┴─────────────┴─────────┘
@uniswap/interface:prepare: [i18n]
@uniswap/interface:prepare: [i18n] (use "yarn i18n:extract" to update catalogs with new messages)
@uniswap/interface:prepare: [i18n] (use "yarn i18n:compile" to compile catalogs for production)
@uniswap/interface:prepare: [graphql] [STARTED] Parse Configuration
@uniswap/interface:prepare: [graphql] [SUCCESS] Parse Configuration
@uniswap/interface:prepare: [graphql] [STARTED] Generate outputs
@uniswap/interface:prepare: [graphql] [STARTED] Generate to src/graphql/data/generated/types-and-hooks.ts
@uniswap/interface:prepare: [graphql] [STARTED] Load GraphQL schemas
@uniswap/interface:prepare: [graphql] [SUCCESS] Load GraphQL schemas
@uniswap/interface:prepare: [graphql] [STARTED] Load GraphQL documents
@uniswap/interface:prepare: [graphql] [SUCCESS] Load GraphQL documents
@uniswap/interface:prepare: [graphql] [STARTED] Generate
@uniswap/interface:prepare: [graphql] [SUCCESS] Generate
@uniswap/interface:prepare: [graphql] [SUCCESS] Generate to src/graphql/data/generated/types-and-hooks.ts
@uniswap/interface:prepare: [graphql] [SUCCESS] Generate outputs
@uniswap/interface:prepare: [i18n] Compiling message catalogs...
@uniswap/interface:prepare: [i18n] Done!
@uniswap/interface:prepare: [i18n] npm run i18n exited with code 0
@uniswap/interface:prepare: [graphql] [STARTED] Parse Configuration
@uniswap/interface:prepare: [graphql] [SUCCESS] Parse Configuration
@uniswap/interface:prepare: [graphql] [STARTED] Generate outputs
@uniswap/interface:prepare: [graphql] [STARTED] Generate to src/graphql/thegraph/generated/types-and-hooks.ts
@uniswap/interface:prepare: [graphql] [STARTED] Load GraphQL schemas
@uniswap/interface:prepare: [graphql] [SUCCESS] Load GraphQL schemas
@uniswap/interface:prepare: [graphql] [STARTED] Load GraphQL documents
@uniswap/interface:prepare: [graphql] [SUCCESS] Load GraphQL documents
@uniswap/interface:prepare: [graphql] [STARTED] Generate
@uniswap/interface:prepare: [graphql] [SUCCESS] Generate
@uniswap/interface:prepare: [graphql] [SUCCESS] Generate to src/graphql/thegraph/generated/types-and-hooks.ts
@uniswap/interface:prepare: [graphql] [SUCCESS] Generate outputs
@uniswap/interface:prepare: [graphql] npm run graphql exited with code 0
@uniswap/interface:prepare: ERROR: command finished with error: command (C:\Users\ibenamzi\uni\interface-main\apps\web) yarn run prepare exited (1)
@uniswap/interface#prepare: command (C:\Users\ibenamzi\uni\interface-main\apps\web) yarn run prepare exited (1)
Tasks: 1 successful, 2 total
Cached: 1 cached, 2 total
Time: 40.892s
Failed: @uniswap/interface#prepare
ERROR run failed: command exited (1)
The text was updated successfully, but these errors were encountered: