supabase / cli

Supabase CLI. Manage postgres migrations, run Supabase locally, deploy edge functions. Postgres backups. Generating types from your database schema.
https://supabase.com/docs/reference/cli/about
MIT License
1.02k stars 201 forks source link

Difficulty installing the cli on windows #1530

Closed williambarberjr closed 11 months ago

williambarberjr commented 11 months ago

Describe the bug Was attempted to install supabase cli on windows 11 pro. Every time I ran npm install supabase or npm i supabase --save-dev I got the same error (see log below).

I tried: npm cache clean -f rm -rf node_modules rm package-lock.json

Same error. Tried: git clone https://github.com/supabase/cli.git cd cli npm install npm run build

Same error. So I completely uninstalled nvm and node, made sure they weren't in my path anymore etc and restarted my machine. Tried the same installation again, got the same error. Tried it in an admin cmd window, same error again. Then I started trying older versions of the cli. The most recent version that worked was: npm install supabase@1.93

I tried using node version 18.18 as well as node version 20.7.0 Eventually established that running npm init -y in an empty directory, and then running npm install supabase which finally worked.

To Reproduce In theory it should work on a fresh windows 11 pro machine. Should give the same error from within WSL 2 as from within the command prompt, admin window or not.

Expected behavior Clean installation...

Desktop (please complete the following information):

Additional context Full log: 0 verbose cli C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js 1 info using npm@9.8.1 2 info using node@v18.18.0 3 timing npm:load:whichnode Completed in 2ms 4 timing config:load:defaults Completed in 2ms 5 timing config:load:file:C:\Users\willi\AppData\Roaming\nvm\v18.18.0\node_modules\npm\npmrc Completed in 1ms 6 timing config:load:builtin Completed in 2ms 7 timing config:load:cli Completed in 1ms 8 timing config:load:env Completed in 0ms 9 timing config:load:file:C:\Users\willi\Projects.npmrc Completed in 0ms 10 timing config:load:project Completed in 2ms 11 timing config:load:file:C:\Users\willi.npmrc Completed in 0ms 12 timing config:load:user Completed in 0ms 13 timing config:load:file:C:\Program Files\nodejs\etc\npmrc Completed in 1ms 14 timing config:load:global Completed in 1ms 15 timing config:load:setEnvs Completed in 0ms 16 timing config:load Completed in 8ms 17 timing npm:load:configload Completed in 8ms 18 timing config:load:flatten Completed in 2ms 19 timing npm:load:mkdirpcache Completed in 0ms 20 timing npm:load:mkdirplogs Completed in 1ms 21 verbose title npm i supabase 22 verbose argv "i" "supabase" "--save-dev" 23 timing npm:load:setTitle Completed in 1ms 24 timing npm:load:display Completed in 0ms 25 verbose logfile logs-max:10 dir:C:\Users\willi\AppData\Local\npm-cache_logs\2023-09-26T19_46_41_144Z- 26 verbose logfile C:\Users\willi\AppData\Local\npm-cache_logs\2023-09-26T19_46_41_144Z-debug-0.log 27 timing npm:load:logFile Completed in 7ms 28 timing npm:load:timers Completed in 0ms 29 timing npm:load:configScope Completed in 0ms 30 timing npm:load Completed in 42ms 31 timing arborist:ctor Completed in 0ms 32 silly logfile start cleaning logs, removing 2 files 33 timing idealTree:init Completed in 174ms 34 timing idealTree:userRequests Completed in 1ms 35 silly idealTree buildDeps 36 silly fetch manifest supabase@ 37 silly logfile done cleaning log files 38 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules 39 http fetch GET 200 https://registry.npmjs.org/supabase 24ms (cache hit) 40 silly placeDep ROOT supabase@1.99.5 OK for: want: 41 silly fetch manifest bin-links@^4.0.1 42 silly fetch manifest node-fetch@^3.2.10 43 silly fetch manifest tar@6.2.0 44 http fetch GET 200 https://registry.npmjs.org/bin-links 883ms (cache hit) 45 http fetch GET 200 https://registry.npmjs.org/tar 884ms (cache hit) 46 http fetch GET 200 https://registry.npmjs.org/node-fetch 885ms (cache hit) 47 timing idealTree:#root Completed in 916ms 48 silly placeDep ROOT bin-links@4.0.2 OK for: supabase@1.99.5 want: ^4.0.1 49 silly fetch manifest cmd-shim@^6.0.0 50 silly fetch manifest npm-normalize-package-bin@^3.0.0 51 silly fetch manifest read-cmd-shim@^4.0.0 52 silly fetch manifest write-file-atomic@^5.0.0 53 silly placeDep node_modules/supabase node-fetch@3.3.2 OK for: supabase@1.99.5 want: ^3.2.10 54 silly fetch manifest data-uri-to-buffer@^4.0.0 55 silly fetch manifest fetch-blob@^3.1.4 56 silly fetch manifest formdata-polyfill@^4.0.10 57 silly placeDep ROOT tar@6.2.0 REPLACE for: supabase@1.99.5 want: 6.2.0 58 http fetch GET 200 https://registry.npmjs.org/write-file-atomic 25ms (cache hit) 59 http fetch GET 200 https://registry.npmjs.org/read-cmd-shim 26ms (cache hit) 60 http fetch GET 200 https://registry.npmjs.org/data-uri-to-buffer 26ms (cache hit) 61 http fetch GET 200 https://registry.npmjs.org/cmd-shim 29ms (cache hit) 62 http fetch GET 200 https://registry.npmjs.org/npm-normalize-package-bin 30ms (cache hit) 63 http fetch GET 200 https://registry.npmjs.org/fetch-blob 28ms (cache hit) 64 http fetch GET 200 https://registry.npmjs.org/formdata-polyfill 28ms (cache hit) 65 timing idealTree:node_modules/supabase Completed in 33ms 66 silly placeDep ROOT cmd-shim@6.0.1 OK for: bin-links@4.0.2 want: ^6.0.0 67 silly placeDep ROOT npm-normalize-package-bin@3.0.1 OK for: bin-links@4.0.2 want: ^3.0.0 68 silly placeDep ROOT read-cmd-shim@4.0.0 OK for: bin-links@4.0.2 want: ^4.0.0 69 silly placeDep node_modules/bin-links write-file-atomic@5.0.1 OK for: bin-links@4.0.2 want: ^5.0.0 70 silly fetch manifest signal-exit@^4.0.1 71 http fetch GET 200 https://registry.npmjs.org/signal-exit 3ms (cache hit) 72 timing idealTree:node_modules/bin-links Completed in 7ms 73 timing idealTree:node_modules/cmd-shim Completed in 0ms 74 timing idealTree:node_modules/npm-normalize-package-bin Completed in 0ms 75 timing idealTree:node_modules/read-cmd-shim Completed in 0ms 76 timing idealTree:node_modules/tar Completed in 0ms 77 silly placeDep node_modules/bin-links signal-exit@4.1.0 OK for: write-file-atomic@5.0.1 want: ^4.0.1 78 timing idealTree:node_modules/bin-links/node_modules/write-file-atomic Completed in 1ms 79 timing idealTree:node_modules/bin-links/node_modules/signal-exit Completed in 0ms 80 silly placeDep node_modules/supabase data-uri-to-buffer@4.0.1 OK for: node-fetch@3.3.2 want: ^4.0.0 81 silly placeDep ROOT fetch-blob@3.2.0 OK for: node-fetch@3.3.2 want: ^3.1.4 82 silly fetch manifest node-domexception@^1.0.0 83 silly fetch manifest web-streams-polyfill@^3.0.3 84 silly placeDep ROOT formdata-polyfill@4.0.10 OK for: node-fetch@3.3.2 want: ^4.0.10 85 http fetch GET 200 https://registry.npmjs.org/web-streams-polyfill 5ms (cache hit) 86 http fetch GET 200 https://registry.npmjs.org/node-domexception 6ms (cache hit) 87 timing idealTree:node_modules/supabase/node_modules/node-fetch Completed in 8ms 88 silly placeDep ROOT node-domexception@1.0.0 OK for: fetch-blob@3.2.0 want: ^1.0.0 89 silly placeDep ROOT web-streams-polyfill@3.2.1 OK for: fetch-blob@3.2.0 want: ^3.0.3 90 timing idealTree:node_modules/fetch-blob Completed in 2ms 91 timing idealTree:node_modules/formdata-polyfill Completed in 0ms 92 timing idealTree:node_modules/node-domexception Completed in 0ms 93 timing idealTree:node_modules/web-streams-polyfill Completed in 0ms 94 timing idealTree:node_modules/supabase/node_modules/data-uri-to-buffer Completed in 0ms 95 timing idealTree:buildDeps Completed in 968ms 96 timing idealTree:fixDepFlags Completed in 3ms 97 timing idealTree Completed in 1150ms 98 timing reify:loadTrees Completed in 1151ms 99 timing reify:diffTrees Completed in 10ms 100 silly reify mark retired [ 'C:\Users\willi\Projects\node_modules\tar' ] 101 silly reify moves { 101 silly reify 'C:\Users\willi\Projects\node_modules\tar': 'C:\Users\willi\Projects\node_modules\.tar-rMzk94sx' 101 silly reify } 102 timing reify:retireShallow Completed in 3ms 103 timing reify:createSparse Completed in 1ms 104 timing reify:loadBundles Completed in 0ms 105 silly audit bulk request { 105 silly audit '@babel/code-frame': [ '7.22.13' ], 105 silly audit 'ansi-styles': [ '3.2.1', '4.3.0' ], 105 silly audit chalk: [ '2.4.2', '4.1.2' ], 105 silly audit 'color-convert': [ '1.9.3', '2.0.1' ], 105 silly audit 'color-name': [ '1.1.3', '1.1.4' ], 105 silly audit 'has-flag': [ '3.0.0', '4.0.0' ], 105 silly audit 'supports-color': [ '5.5.0', '7.2.0', '6.1.0', '8.1.1' ], 105 silly audit '@babel/helper-validator-identifier': [ '7.22.20' ], 105 silly audit '@babel/highlight': [ '7.22.20' ], 105 silly audit '@cloudflare/workers-types': [ '4.20230710.0' ], 105 silly audit '@iarna/toml': [ '2.2.5' ], 105 silly audit '@kwsites/file-exists': [ '1.1.1' ], 105 silly audit '@kwsites/promise-deferred': [ '1.1.1' ], 105 silly audit '@nodelib/fs.scandir': [ '2.1.5' ], 105 silly audit '@nodelib/fs.stat': [ '2.0.5' ], 105 silly audit '@nodelib/fs.walk': [ '1.2.8' ], 105 silly audit '@puppeteer/browsers': [ '1.7.1' ], 105 silly audit cliui: [ '8.0.1', '6.0.0' ], 105 silly audit 'wrap-ansi': [ '7.0.0', '6.2.0' ], 105 silly audit y18n: [ '5.0.8', '4.0.3' ], 105 silly audit yargs: [ '17.7.1', '15.4.1' ], 105 silly audit 'yargs-parser': [ '21.1.1', '18.1.3' ], 105 silly audit '@serverless/dashboard-plugin': [ '6.2.3' ], 105 silly audit 'fs-extra': [ '9.1.0', '10.1.0', '8.1.0' ], 105 silly audit open: [ '7.4.2', '8.4.2' ], 105 silly audit uuid: [ '8.3.2', '8.0.0', '9.0.0' ], 105 silly audit '@serverless/event-mocks': [ '1.1.1' ], 105 silly audit '@serverless/platform-client': [ '4.3.2' ], 105 silly audit argparse: [ '1.0.10', '2.0.1' ], 105 silly audit 'js-yaml': [ '3.14.1', '4.1.0' ], 105 silly audit '@serverless/utils': [ '6.13.1' ], 105 silly audit 'jwt-decode': [ '3.1.2', '2.2.0' ], 105 silly audit '@sindresorhus/is': [ '4.6.0' ], 105 silly audit '@szmarczak/http-timer': [ '4.0.6' ], 105 silly audit '@tokenizer/token': [ '0.3.0' ], 105 silly audit '@tootallnate/quickjs-emscripten': [ '0.23.0' ], 105 silly audit '@types/cacheable-request': [ '6.0.3' ], 105 silly audit '@types/cheerio': [ '0.22.31' ], 105 silly audit '@types/debug': [ '4.1.8' ], 105 silly audit '@types/http-cache-semantics': [ '4.0.1' ], 105 silly audit '@types/keyv': [ '3.1.4' ], 105 silly audit '@types/lodash': [ '4.14.197' ], 105 silly audit '@types/ms': [ '0.7.31' ], 105 silly audit '@types/node': [ '20.4.1' ], 105 silly audit '@types/responselike': [ '1.0.0' ], 105 silly audit '@types/yauzl': [ '2.10.0' ], 105 silly audit '@zennolab_com/capmonstercloud-client': [ '1.4.0' ], 105 silly audit '2-thenable': [ '1.0.0' ], 105 silly audit 'abort-controller': [ '3.0.0' ], 105 silly audit 'adm-zip': [ '0.5.10' ], 105 silly audit 'agent-base': [ '6.0.2', '7.1.0' ], 105 silly audit ajv: [ '8.12.0' ], 105 silly audit 'ajv-formats': [ '2.1.1' ], 105 silly audit 'ansi-escapes': [ '4.3.2' ], 105 silly audit 'ansi-regex': [ '5.0.1', '2.1.1' ], 105 silly audit anymatch: [ '3.1.3' ], 105 silly audit appdirectory: [ '0.1.0' ], 105 silly audit aproba: [ '1.2.0' ], 105 silly audit 'archive-type': [ '4.0.0' ], 105 silly audit 'file-type': [ '4.4.0', '5.2.0', '6.2.0', '3.9.0', '16.5.4' ], 105 silly audit archiver: [ '5.3.1' ], 105 silly audit 'archiver-utils': [ '2.1.0' ], 105 silly audit 'readable-stream': [ '2.3.8', '3.6.2' ], 105 silly audit 'safe-buffer': [ '5.1.2', '5.2.1' ], 105 silly audit string_decoder: [ '1.1.1', '1.3.0' ], 105 silly audit 'are-we-there-yet': [ '1.1.7' ], 105 silly audit 'arr-union': [ '3.1.0' ], 105 silly audit 'array-union': [ '2.1.0' ], 105 silly audit asap: [ '2.0.6' ], 105 silly audit 'ast-types': [ '0.13.4' ], 105 silly audit async: [ '3.2.4' ], 105 silly audit asynckit: [ '0.4.0' ], 105 silly audit 'at-least-node': [ '1.0.0' ], 105 silly audit 'available-typed-arrays': [ '1.0.5' ], 105 silly audit 'aws-sdk': [ '2.1435.0' ], 105 silly audit querystring: [ '0.2.0', '0.2.1' ], 105 silly audit axios: [ '0.21.4', '1.5.0', '0.27.2' ], 105 silly audit b4a: [ '1.6.4' ], 105 silly audit 'balanced-match': [ '1.0.2' ], 105 silly audit 'base64-js': [ '1.5.1' ], 105 silly audit 'basic-ftp': [ '5.0.3' ], 105 silly audit 'binary-extensions': [ '2.2.0' ], 105 silly audit bl: [ '4.1.0', '1.2.3' ], 105 silly audit buffer: [ '5.7.1', '4.9.2' ], 105 silly audit bluebird: [ '3.7.2' ], 105 silly audit boolbase: [ '1.0.0' ], 105 silly audit 'brace-expansion': [ '1.1.11', '2.0.1' ], 105 silly audit braces: [ '3.0.2' ], 105 silly audit 'buffer-alloc': [ '1.2.0' ], 105 silly audit 'buffer-alloc-unsafe': [ '1.1.0' ], 105 silly audit 'buffer-crc32': [ '0.2.13' ], 105 silly audit 'buffer-fill': [ '1.0.0' ], 105 silly audit 'builtin-modules': [ '3.3.0' ], 105 silly audit builtins: [ '1.0.3' ], 105 silly audit 'cacheable-lookup': [ '5.0.4' ], 105 silly audit 'cacheable-request': [ '7.0.4' ], 105 silly audit 'get-stream': [ '5.2.0', '2.3.1', '6.0.1' ], 105 silly audit cachedir: [ '2.4.0' ], 105 silly audit 'call-bind': [ '1.0.2' ], 105 silly audit callsites: [ '3.1.0' ], 105 silly audit camelcase: [ '5.3.1' ], 105 silly audit chardet: [ '0.7.0' ], 105 silly audit cheerio: [ '1.0.0-rc.12' ], 105 silly audit 'cheerio-select': [ '2.1.0' ], 105 silly audit 'child-process-ext': [ '2.1.1' ], 105 silly audit chokidar: [ '3.5.3' ], 105 silly audit chownr: [ '2.0.0', '1.1.4' ], 105 silly audit 'chromium-bidi': [ '0.4.27' ], 105 silly audit 'ci-info': [ '3.8.0' ], 105 silly audit 'cli-color': [ '2.0.3' ], 105 silly audit 'cli-cursor': [ '3.1.0' ], 105 silly audit 'cli-progress-footer': [ '2.3.2' ], 105 silly audit 'cli-spinners': [ '2.9.0' ], 105 silly audit 'cli-sprintf-format': [ '1.1.1' ], 105 silly audit 'cli-width': [ '3.0.0' ], 105 silly audit clone: [ '1.0.4' ], 105 silly audit 'clone-deep': [ '0.2.4' ], 105 silly audit 'clone-response': [ '1.0.3' ], 105 silly audit 'code-point-at': [ '1.1.0' ], 105 silly audit 'combined-stream': [ '1.0.8' ], 105 silly audit commander: [ '4.1.1', '2.20.3' ], 105 silly audit 'component-emitter': [ '1.3.0' ], 105 silly audit 'compress-commons': [ '4.1.1' ], 105 silly audit 'concat-map': [ '0.0.1' ], 105 silly audit 'console-control-strings': [ '1.1.0' ], 105 silly audit 'content-disposition': [ '0.5.4' ], 105 silly audit cookiejar: [ '2.1.4' ], 105 silly audit 'core-util-is': [ '1.0.3' ], 105 silly audit cosmiconfig: [ '8.3.6' ], 105 silly audit 'crc-32': [ '1.2.2' ], 105 silly audit 'crc32-stream': [ '4.0.2' ], 105 silly audit 'cross-fetch': [ '4.0.0' ], 105 silly audit 'cross-spawn': [ '6.0.5' ], 105 silly audit semver: [ '5.7.2', '7.5.4' ], 105 silly audit 'css-select': [ '5.1.0' ], 105 silly audit 'css-what': [ '6.1.0' ], 105 silly audit d: [ '1.0.1' ], 105 silly audit type: [ '1.2.0', '2.7.2' ], 105 silly audit 'data-uri-to-buffer': [ '5.0.1', '4.0.1' ], 105 silly audit dayjs: [ '1.11.9' ], 105 silly audit debug: [ '4.3.4' ], 105 silly audit ms: [ '2.1.2', '2.1.3' ], 105 silly audit decamelize: [ '1.2.0' ], 105 silly audit decompress: [ '4.2.1' ], 105 silly audit 'decompress-response': [ '6.0.0', '4.2.1' ], 105 silly audit 'mimic-response': [ '3.1.0', '1.0.1', '2.1.0' ], 105 silly audit 'decompress-tar': [ '4.1.1' ], 105 silly audit 'tar-stream': [ '1.6.2', '3.1.6', '2.2.0' ], 105 silly audit 'decompress-tarbz2': [ '4.1.1' ], 105 silly audit 'decompress-targz': [ '4.1.1' ], 105 silly audit 'decompress-unzip': [ '4.0.1' ], 105 silly audit 'make-dir': [ '1.3.0', '4.0.0' ], 105 silly audit pify: [ '3.0.0', '2.3.0' ], 105 silly audit 'deep-extend': [ '0.6.0' ], 105 silly audit deepmerge: [ '4.3.1' ], 105 silly audit defaults: [ '1.0.4' ], 105 silly audit 'defer-to-connect': [ '2.0.1' ], 105 silly audit deferred: [ '0.7.11' ], 105 silly audit 'define-lazy-prop': [ '2.0.0' ], 105 silly audit degenerator: [ '5.0.1' ], 105 silly audit 'delayed-stream': [ '1.0.0' ], 105 silly audit delegates: [ '1.0.0' ], 105 silly audit 'detect-libc': [ '1.0.3' ], 105 silly audit 'devtools-protocol': [ '0.0.1179426' ], 105 silly audit dezalgo: [ '1.0.4' ], 105 silly audit 'dir-glob': [ '3.0.1' ], 105 silly audit 'dom-serializer': [ '2.0.0' ], 105 silly audit domelementtype: [ '2.3.0' ], 105 silly audit domhandler: [ '5.0.3' ], 105 silly audit domutils: [ '3.1.0' ], 105 silly audit dotenv: [ '16.3.1' ], 105 silly audit 'dotenv-expand': [ '10.0.0' ], 105 silly audit duration: [ '0.2.2' ], 105 silly audit 'easy-yopmail': [ '4.0.19' ], 105 silly audit 'emoji-regex': [ '8.0.0' ], 105 silly audit 'end-of-stream': [ '1.4.4' ], 105 silly audit entities: [ '4.5.0' ], 105 silly audit 'error-ex': [ '1.3.2' ], 105 silly audit 'es5-ext': [ '0.10.62' ], 105 silly audit 'es6-iterator': [ '2.0.3' ], 105 silly audit 'es6-set': [ '0.1.6' ], 105 silly audit 'es6-symbol': [ '3.1.3' ], 105 silly audit 'es6-weak-map': [ '2.0.3' ], 105 silly audit escalade: [ '3.1.1' ], 105 silly audit 'escape-string-regexp': [ '1.0.5' ], 105 silly audit escodegen: [ '2.1.0' ], 105 silly audit esniff: [ '1.1.0' ], 105 silly audit esprima: [ '4.0.1' ], 105 silly audit essentials: [ '1.2.0' ], 105 silly audit estraverse: [ '5.3.0' ], 105 silly audit esutils: [ '2.0.3' ], 105 silly audit 'event-emitter': [ '0.3.5' ], 105 silly audit 'event-target-shim': [ '5.0.1' ], 105 silly audit events: [ '1.1.1' ], 105 silly audit 'expand-template': [ '2.0.3' ], 105 silly audit ext: [ '1.7.0' ], 105 silly audit 'ext-list': [ '2.2.2' ], 105 silly audit 'ext-name': [ '5.0.0' ], 105 silly audit 'external-editor': [ '3.1.0' ], 105 silly audit 'extract-zip': [ '2.0.1' ], 105 silly audit 'fast-deep-equal': [ '3.1.3' ], 105 silly audit 'fast-fifo': [ '1.3.2' ], 105 silly audit 'fast-glob': [ '3.3.1' ], 105 silly audit 'fast-safe-stringify': [ '2.1.1' ], 105 silly audit 'fastest-levenshtein': [ '1.0.16' ], 105 silly audit fastq: [ '1.15.0' ], 105 silly audit 'fd-slicer': [ '1.1.0' ], 105 silly audit figures: [ '3.2.0' ], 105 silly audit 'filename-reserved-regex': [ '2.0.0' ], 105 silly audit filenamify: [ '4.3.0' ], 105 silly audit filesize: [ '10.0.12' ], 105 silly audit 'fill-range': [ '7.0.1' ], 105 silly audit 'find-requires': [ '1.0.0' ], 105 silly audit 'find-up': [ '4.1.0' ], 105 silly audit flat: [ '5.0.2' ], 105 silly audit 'follow-redirects': [ '1.15.2' ], 105 silly audit 'for-each': [ '0.3.3' ], 105 silly audit 'for-in': [ '1.0.2', '0.1.8' ], 105 silly audit 'for-own': [ '0.1.5' ], 105 silly audit 'form-data': [ '4.0.0' ], 105 silly audit formidable: [ '2.1.2' ], 105 silly audit 'fs-constants': [ '1.0.0' ], 105 silly audit 'fs-minipass': [ '2.1.0' ], 105 silly audit minipass: [ '3.3.6', '5.0.0' ], 105 silly audit 'fs.realpath': [ '1.0.0' ], 105 silly audit fs2: [ '0.3.9' ], 105 silly audit fsevents: [ '2.3.2' ], 105 silly audit 'function-bind': [ '1.1.1' ], 105 silly audit gauge: [ '2.7.4' ], 105 silly audit 'is-fullwidth-code-point': [ '1.0.0', '3.0.0' ], 105 silly audit 'string-width': [ '1.0.2', '4.2.3' ], 105 silly audit 'strip-ansi': [ '3.0.1', '6.0.1' ], 105 silly audit 'get-caller-file': [ '2.0.5' ], 105 silly audit 'get-intrinsic': [ '1.2.1' ], 105 silly audit 'get-stdin': [ '8.0.0' ], 105 silly audit 'get-uri': [ '6.0.1' ], 105 silly audit jsonfile: [ '4.0.0', '6.1.0' ], 105 silly audit universalify: [ '0.1.2', '2.0.0' ], 105 silly audit 'github-from-package': [ '0.0.0' ], 105 silly audit glob: [ '7.2.3' ], 105 silly audit 'glob-all': [ '3.3.1' ], 105 silly audit 'glob-parent': [ '5.1.2' ], 105 silly audit globby: [ '11.1.0' ], 105 silly audit gopd: [ '1.0.1' ], 105 silly audit got: [ '11.8.6' ], 105 silly audit 'graceful-fs': [ '4.2.11' ], 105 silly audit graphlib: [ '2.1.8' ], 105 silly audit has: [ '1.0.3' ], 105 silly audit 'has-proto': [ '1.0.1' ], 105 silly audit 'has-symbols': [ '1.0.3' ], 105 silly audit 'has-tostringtag': [ '1.0.0' ], 105 silly audit 'has-unicode': [ '2.0.1' ], 105 silly audit hexoid: [ '1.0.0' ], 105 silly audit htmlparser2: [ '8.0.2' ], 105 silly audit 'http-cache-semantics': [ '4.1.1' ], 105 silly audit 'http-proxy-agent': [ '7.0.0' ], 105 silly audit 'http2-wrapper': [ '1.0.3' ], 105 silly audit 'https-proxy-agent': [ '5.0.1', '7.0.2' ], 105 silly audit 'iconv-lite': [ '0.4.24' ], 105 silly audit ieee754: [ '1.1.13', '1.2.1' ], 105 silly audit ignore: [ '5.2.4' ], 105 silly audit immediate: [ '3.0.6' ], 105 silly audit 'import-fresh': [ '3.3.0' ], 105 silly audit imurmurhash: [ '0.1.4' ], 105 silly audit inflight: [ '1.0.6' ], 105 silly audit inherits: [ '2.0.4' ], 105 silly audit ini: [ '1.3.8' ], 105 silly audit inquirer: [ '8.2.6' ], 105 silly audit ip: [ '1.1.8', '2.0.0' ], 105 silly audit 'is-arguments': [ '1.1.1' ], 105 silly audit 'is-arrayish': [ '0.2.1' ], 105 silly audit 'is-binary-path': [ '2.1.0' ], 105 silly audit 'is-buffer': [ '1.1.6' ], 105 silly audit 'is-callable': [ '1.2.7' ], 105 silly audit 'is-docker': [ '2.2.1' ], 105 silly audit 'is-extendable': [ '0.1.1' ], 105 silly audit 'is-extglob': [ '2.1.1' ], 105 silly audit 'is-generator-function': [ '1.0.10' ], 105 silly audit 'is-glob': [ '4.0.3' ], 105 silly audit 'is-interactive': [ '1.0.0' ], 105 silly audit 'is-natural-number': [ '4.0.1' ], 105 silly audit 'is-number': [ '7.0.0' ], 105 silly audit 'is-plain-obj': [ '1.1.0' ], 105 silly audit 'is-plain-object': [ '2.0.4' ], 105 silly audit 'is-primitive': [ '3.0.1' ], 105 silly audit 'is-promise': [ '2.2.2' ], 105 silly audit 'is-stream': [ '1.1.0' ], 105 silly audit 'is-typed-array': [ '1.1.12' ], 105 silly audit 'is-unicode-supported': [ '0.1.0' ], 105 silly audit 'is-wsl': [ '2.2.0' ], 105 silly audit isarray: [ '1.0.0' ], 105 silly audit isexe: [ '2.0.0' ], 105 silly audit isobject: [ '3.0.1' ], 105 silly audit 'isomorphic-ws': [ '4.0.1' ], 105 silly audit jmespath: [ '0.16.0' ], 105 silly audit 'js-tokens': [ '4.0.0' ], 105 silly audit 'json-buffer': [ '3.0.1' ], 105 silly audit 'json-colorizer': [ '2.2.2' ], 105 silly audit 'json-cycle': [ '1.5.0' ], 105 silly audit 'json-parse-even-better-errors': [ '2.3.1' ], 105 silly audit 'json-refs': [ '3.0.15' ], 105 silly audit 'json-schema-traverse': [ '1.0.0' ], 105 silly audit jszip: [ '3.10.1' ], 105 silly audit keyv: [ '4.5.3' ], 105 silly audit 'kind-of': [ '3.2.2', '2.0.1' ], 105 silly audit 'lazy-cache': [ '1.0.4', '0.2.7' ], 105 silly audit lazystream: [ '1.0.1' ], 105 silly audit lie: [ '3.3.0' ], 105 silly audit 'lines-and-columns': [ '1.2.4' ], 105 silly audit 'locate-path': [ '5.0.0' ], 105 silly audit lodash: [ '4.17.21' ], 105 silly audit 'lodash.defaults': [ '4.2.0' ], 105 silly audit 'lodash.difference': [ '4.5.0' ], 105 silly audit 'lodash.flatten': [ '4.4.0' ], 105 silly audit 'lodash.get': [ '4.4.2' ], 105 silly audit 'lodash.isplainobject': [ '4.0.6' ], 105 silly audit 'lodash.union': [ '4.6.0' ], 105 silly audit 'lodash.uniqby': [ '4.7.0' ], 105 silly audit 'lodash.values': [ '4.3.0' ], 105 silly audit log: [ '6.3.1' ], 105 silly audit 'log-node': [ '8.0.3' ], 105 silly audit 'log-symbols': [ '4.1.0' ], 105 silly audit 'lowercase-keys': [ '2.0.0' ], 105 silly audit 'lru-cache': [ '6.0.0', '7.18.3' ], 105 silly audit 'lru-queue': [ '0.1.0' ], 105 silly audit memoizee: [ '0.4.15' ], 105 silly audit 'merge-deep': [ '3.0.3' ], 105 silly audit merge2: [ '1.4.1' ], 105 silly audit methods: [ '1.1.2' ], 105 silly audit micromatch: [ '4.0.5' ], 105 silly audit mime: [ '2.6.0' ], 105 silly audit 'mime-db': [ '1.52.0' ], 105 silly audit 'mime-types': [ '2.1.35' ], 105 silly audit 'mimic-fn': [ '2.1.0' ], 105 silly audit minimatch: [ '3.1.2', '5.1.6' ], 105 silly audit minimist: [ '1.2.8' ], 105 silly audit minizlib: [ '2.1.2' ], 105 silly audit mitt: [ '3.0.1' ], 105 silly audit 'mixin-object': [ '2.0.1' ], 105 silly audit mkdirp: [ '1.0.4' ], 105 silly audit 'mkdirp-classic': [ '0.5.3' ], 105 silly audit 'mute-stream': [ '0.0.8' ], 105 silly audit nan: [ '2.18.0' ], 105 silly audit 'napi-build-utils': [ '1.0.2' ], 105 silly audit 'native-promise-only': [ '0.8.1' ], 105 silly audit ncjsm: [ '4.3.2' ], 105 silly audit netmask: [ '2.0.2' ], 105 silly audit 'next-tick': [ '1.1.0' ], 105 silly audit 'nice-try': [ '1.0.5' ], 105 silly audit 'node-abi': [ '2.30.1' ], 105 silly audit 'node-dir': [ '0.1.17' ], 105 silly audit 'node-fetch': [ '2.6.12', '3.3.2' ], 105 silly audit 'noop-logger': [ '0.1.1' ], 105 silly audit 'normalize-path': [ '3.0.0' ], 105 silly audit 'normalize-url': [ '6.1.0' ], 105 silly audit 'npm-registry-utilities': [ '1.0.0' ], 105 silly audit npmlog: [ '4.1.2' ], 105 silly audit 'nth-check': [ '2.1.1' ], 105 silly audit 'number-is-nan': [ '1.0.1' ], 105 silly audit 'object-assign': [ '4.1.1' ], 105 silly audit 'object-hash': [ '3.0.0' ], 105 silly audit 'object-inspect': [ '1.12.3' ], 105 silly audit once: [ '1.4.0' ], 105 silly audit onetime: [ '5.1.2' ], 105 silly audit ora: [ '5.4.1' ], 105 silly audit 'os-tmpdir': [ '1.0.2' ], 105 silly audit 'p-cancelable': [ '2.1.1' ], 105 silly audit 'p-event': [ '4.2.0' ], 105 silly audit 'p-finally': [ '1.0.0' ], 105 silly audit 'p-limit': [ '2.3.0' ], 105 silly audit 'p-locate': [ '4.1.0' ], 105 silly audit 'p-timeout': [ '3.2.0' ], 105 silly audit 'p-try': [ '2.2.0' ], 105 silly audit 'pac-proxy-agent': [ '7.0.1' ], 105 silly audit 'pac-resolver': [ '7.0.0' ], 105 silly audit pako: [ '1.0.11' ], 105 silly audit 'parent-module': [ '1.0.1' ], 105 silly audit 'parse-json': [ '5.2.0' ], 105 silly audit parse5: [ '7.1.2' ], 105 silly audit 'parse5-htmlparser2-tree-adapter': [ '7.0.0' ], 105 silly audit 'path-exists': [ '4.0.0' ], 105 silly audit 'path-is-absolute': [ '1.0.1' ], 105 silly audit 'path-key': [ '2.0.1' ], 105 silly audit 'path-loader': [ '1.0.12' ], 105 silly audit 'path-type': [ '4.0.0' ], 105 silly audit path2: [ '0.1.0' ], 105 silly audit 'peek-readable': [ '4.1.0' ], 105 silly audit pend: [ '1.2.0' ], 105 silly audit picomatch: [ '2.3.1' ], 105 silly audit pinkie: [ '2.0.4' ], 105 silly audit 'pinkie-promise': [ '2.0.1' ], 105 silly audit 'prebuild-install': [ '5.3.6' ], 105 silly audit 'tar-fs': [ '2.1.1', '3.0.4' ], 105 silly audit 'process-nextick-args': [ '2.0.1' ], 105 silly audit 'process-utils': [ '4.0.0' ], 105 silly audit progress: [ '2.0.3' ], 105 silly audit 'promise-queue': [ '2.2.5' ], 105 silly audit 'proxy-agent': [ '6.3.1' ], 105 silly audit 'proxy-from-env': [ '1.1.0' ], 105 silly audit pump: [ '3.0.0' ], 105 silly audit punycode: [ '2.3.0', '1.3.2' ], 105 silly audit puppeteer: [ '21.3.1' ], 105 silly audit 'puppeteer-core': [ '21.3.1' ], 105 silly audit ws: [ '8.14.1', '7.5.9' ], 105 silly audit 'puppeteer-extra': [ '3.3.6' ], 105 silly audit 'puppeteer-extra-plugin': [ '3.2.3' ], 105 silly audit 'puppeteer-extra-plugin-recaptcha': [ '3.6.8' ], 105 silly audit 'puppeteer-extra-plugin-recaptcha-capmonster': [ '1.0.5' ], 105 silly audit 'puppeteer-extra-plugin-stealth': [ '2.11.2' ], 105 silly audit 'puppeteer-extra-plugin-user-data-dir': [ '2.4.1' ], 105 silly audit 'puppeteer-extra-plugin-user-preferences': [ '2.4.1' ], 105 silly audit qs: [ '6.11.2' ], 105 silly audit 'queue-microtask': [ '1.2.3' ], 105 silly audit 'queue-tick': [ '1.0.1' ], 105 silly audit 'quick-lru': [ '5.1.1' ], 105 silly audit rc: [ '1.2.8' ], 105 silly audit 'readable-web-to-node-stream': [ '3.0.2' ], 105 silly audit 'readdir-glob': [ '1.1.3' ], 105 silly audit readdirp: [ '3.6.0' ], 105 silly audit 'require-directory': [ '2.1.1' ], 105 silly audit 'require-from-string': [ '2.0.2' ], 105 silly audit 'require-main-filename': [ '2.0.0' ], 105 silly audit 'resolve-alpn': [ '1.2.1' ], 105 silly audit 'resolve-from': [ '4.0.0' ], 105 silly audit responselike: [ '2.0.1' ], 105 silly audit 'restore-cursor': [ '3.1.0' ], 105 silly audit reusify: [ '1.0.4' ], 105 silly audit rimraf: [ '3.0.2' ], 105 silly audit robotjs: [ '0.6.0' ], 105 silly audit 'run-async': [ '2.4.1' ], 105 silly audit 'run-parallel': [ '1.2.0' ], 105 silly audit 'run-parallel-limit': [ '1.1.0' ], 105 silly audit rxjs: [ '7.8.1' ], 105 silly audit 'safer-buffer': [ '2.1.2' ], 105 silly audit sax: [ '1.2.1' ], 105 silly audit 'seek-bzip': [ '1.0.6' ], 105 silly audit serverless: [ '3.34.0' ], 105 silly audit 'serverless-python-requirements': [ '6.0.0' ], 105 silly audit 'set-blocking': [ '2.0.0' ], 105 silly audit 'set-value': [ '4.1.0' ], 105 silly audit setimmediate: [ '1.0.5' ], 105 silly audit 'sha256-file': [ '1.0.0' ], 105 silly audit 'shallow-clone': [ '0.1.2' ], 105 silly audit 'shebang-command': [ '1.2.0' ], 105 silly audit 'shebang-regex': [ '1.0.0' ], 105 silly audit 'shell-quote': [ '1.8.1' ], 105 silly audit 'side-channel': [ '1.0.4' ], 105 silly audit 'signal-exit': [ '3.0.7', '4.1.0' ], 105 silly audit 'simple-concat': [ '1.0.1' ], 105 silly audit 'simple-get': [ '3.1.1' ], 105 silly audit 'simple-git': [ '3.19.1' ], 105 silly audit slash: [ '3.0.0' ], 105 silly audit 'smart-buffer': [ '4.2.0' ], 105 silly audit socks: [ '2.7.1' ], 105 silly audit 'socks-proxy-agent': [ '8.0.2' ], 105 silly audit 'sort-keys': [ '1.1.2' ], 105 silly audit 'sort-keys-length': [ '1.0.1' ], 105 silly audit 'source-map': [ '0.6.1' ], 105 silly audit split2: [ '3.2.2' ], 105 silly audit 'sprintf-js': [ '1.0.3' ], 105 silly audit 'sprintf-kit': [ '2.0.1' ], 105 silly audit 'stream-buffers': [ '3.0.2' ], 105 silly audit 'stream-promise': [ '3.2.0' ], 105 silly audit streamx: [ '2.15.1' ], 105 silly audit 'strip-dirs': [ '2.1.0' ], 105 silly audit 'strip-json-comments': [ '2.0.1' ], 105 silly audit 'strip-outer': [ '1.0.1' ], 105 silly audit strtok3: [ '6.3.0' ], 105 silly audit superagent: [ '7.1.6' ], 105 silly audit throat: [ '5.0.0' ], 105 silly audit through: [ '2.3.8' ], 105 silly audit 'timers-ext': [ '0.1.7' ], 105 silly audit tmp: [ '0.0.33' ], 105 silly audit 'to-buffer': [ '1.1.1' ], 105 silly audit 'to-regex-range': [ '5.0.1' ], 105 silly audit 'token-types': [ '4.2.1' ], 105 silly audit tr46: [ '0.0.3' ], 105 silly audit traverse: [ '0.6.7' ], 105 silly audit 'trim-repeated': [ '1.0.0' ], 105 silly audit 'ts-mixer': [ '6.0.3' ], 105 silly audit tslib: [ '2.6.1' ], 105 silly audit 'tunnel-agent': [ '0.6.0' ], 105 silly audit 'type-fest': [ '0.21.3' ], 105 silly audit typescript: [ '5.1.6' ], 105 silly audit 'unbzip2-stream': [ '1.4.3' ], 105 silly audit 'uni-global': [ '1.0.0' ], 105 silly audit untildify: [ '4.0.0' ], 105 silly audit 'uri-js': [ '4.4.1' ], 105 silly audit url: [ '0.10.3' ], 105 silly audit 'urlpattern-polyfill': [ '9.0.0' ], 105 silly audit util: [ '0.12.5' ], 105 silly audit 'util-deprecate': [ '1.0.2' ], 105 silly audit 'validate-npm-package-name': [ '3.0.0' ], 105 silly audit wcwidth: [ '1.0.1' ], 105 silly audit 'webidl-conversions': [ '3.0.1' ], 105 silly audit 'whatwg-url': [ '5.0.0' ], 105 silly audit which: [ '1.3.1' ], 105 silly audit 'which-module': [ '2.0.1' ], 105 silly audit 'which-pm-runs': [ '1.1.0' ], 105 silly audit 'which-typed-array': [ '1.1.11' ], 105 silly audit 'wide-align': [ '1.1.5' ], 105 silly audit wrappy: [ '1.0.2' ], 105 silly audit 'write-file-atomic': [ '4.0.2', '5.0.1' ], 105 silly audit xml2js: [ '0.5.0' ], 105 silly audit xmlbuilder: [ '11.0.1' ], 105 silly audit xtend: [ '4.0.2' ], 105 silly audit yallist: [ '4.0.0' ], 105 silly audit 'yaml-ast-parser': [ '0.0.43' ], 105 silly audit yamljs: [ '0.3.0' ], 105 silly audit yauzl: [ '2.10.0' ], 105 silly audit 'zip-stream': [ '4.1.0' ], 105 silly audit zod: [ '3.21.4' ], 105 silly audit supabase: [ '1.99.5' ], 105 silly audit 'bin-links': [ '4.0.2' ], 105 silly audit tar: [ '6.2.0' ], 105 silly audit 'cmd-shim': [ '6.0.1' ], 105 silly audit 'npm-normalize-package-bin': [ '3.0.1' ], 105 silly audit 'read-cmd-shim': [ '4.0.0' ], 105 silly audit 'fetch-blob': [ '3.2.0' ], 105 silly audit 'formdata-polyfill': [ '4.0.10' ], 105 silly audit 'node-domexception': [ '1.0.0' ], 105 silly audit 'web-streams-polyfill': [ '3.2.1' ] 105 silly audit } 106 verbose reify failed optional dependency C:\Users\willi\Projects\node_modules\fsevents 107 silly reify mark deleted [ 'C:\Users\willi\Projects\node_modules\fsevents' ] 108 timing reifyNode:node_modules/fsevents Completed in 29ms 109 timing reifyNode:node_modules/read-cmd-shim Completed in 75ms 110 timing reifyNode:node_modules/npm-normalize-package-bin Completed in 75ms 111 timing reifyNode:node_modules/supabase Completed in 75ms 112 timing reifyNode:node_modules/bin-links/node_modules/write-file-atomic Completed in 75ms 113 timing reifyNode:node_modules/cmd-shim Completed in 77ms 114 timing reifyNode:node_modules/supabase/node_modules/data-uri-to-buffer Completed in 79ms 115 timing reifyNode:node_modules/formdata-polyfill Completed in 82ms 116 timing reifyNode:node_modules/fetch-blob Completed in 86ms 117 timing reifyNode:node_modules/bin-links Completed in 95ms 118 timing reifyNode:node_modules/supabase/node_modules/node-fetch Completed in 97ms 119 timing reifyNode:node_modules/bin-links/node_modules/signal-exit Completed in 103ms 120 timing reifyNode:node_modules/tar Completed in 104ms 121 timing reifyNode:node_modules/node-domexception Completed in 109ms 122 timing reifyNode:node_modules/web-streams-polyfill Completed in 177ms 123 timing reify:unpack Completed in 177ms 124 timing reify:unretire Completed in 0ms 125 timing build:queue Completed in 4ms 126 timing build:link:node_modules/supabase Completed in 1ms 127 timing build:link Completed in 1ms 128 info run supabase@1.99.5 postinstall node_modules/supabase node scripts/postinstall.js 129 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 267ms 130 timing auditReport:getReport Completed in 271ms 131 silly audit report {} 132 timing auditReport:init Completed in 0ms 133 timing reify:audit Completed in 271ms 134 info run supabase@1.99.5 postinstall { code: 1, signal: null } 135 timing reify:rollback:createSparse Completed in 17ms 136 timing reify:rollback:retireShallow Completed in 0ms 137 timing command:i Completed in 1837ms 138 verbose stack Error: command failed 138 verbose stack at ChildProcess. (C:\Users\willi\AppData\Roaming\nvm\v18.18.0\node_modules\npm\node_modules\@npmcli\promise-spawn\lib\index.js:53:27) 138 verbose stack at ChildProcess.emit (node:events:517:28) 138 verbose stack at maybeClose (node:internal/child_process:1098:16) 138 verbose stack at ChildProcess._handle.onexit (node:internal/child_process:303:5) 139 verbose pkgid supabase@1.99.5 140 verbose cwd C:\Users\willi\Projects\bizhunterBaseJump 141 verbose Windows_NT 10.0.22621 142 verbose node v18.18.0 143 verbose npm v9.8.1 144 error code 1 145 error path C:\Users\willi\Projects\node_modules\supabase 146 error command failed 147 error command C:\WINDOWS\system32\cmd.exe /d /s /c node scripts/postinstall.js 148 error node:internal/modules/cjs/loader:1077 148 error const err = new Error(message); 148 error ^ 148 error 148 error Error: Cannot find module '../mkdirs' 148 error Require stack: 148 error - C:\Users\willi\Projects\node_modules\get-uri\node_modules\fs-extra\lib\copy-sync\copy-sync.js 148 error - C:\Users\willi\Projects\node_modules\get-uri\node_modules\fs-extra\lib\copy-sync\index.js 148 error - C:\Users\willi\Projects\node_modules\get-uri\node_modules\fs-extra\lib\index.js 148 error - C:\Users\willi\Projects\node_modules\get-uri\dist\file.js 148 error - C:\Users\willi\Projects\node_modules\get-uri\dist\index.js 148 error - C:\Users\willi\Projects\node_modules\pac-proxy-agent\dist\index.js 148 error - C:\Users\willi\Projects\node_modules\proxy-agent\dist\index.js 148 error at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15) 148 error at Module._load (node:internal/modules/cjs/loader:922:27) 148 error at Module.require (node:internal/modules/cjs/loader:1143:19) 148 error at require (node:internal/modules/cjs/helpers:119:18) 148 error at Object. (C:\Users\willi\Projects\node_modules\get-uri\node_modules\fs-extra\lib\copy-sync\copy-sync.js:5:20) 148 error at Module._compile (node:internal/modules/cjs/loader:1256:14) 148 error at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) 148 error at Module.load (node:internal/modules/cjs/loader:1119:32) 148 error at Module._load (node:internal/modules/cjs/loader:960:12) 148 error at Module.require (node:internal/modules/cjs/loader:1143:19) { 148 error code: 'MODULE_NOT_FOUND', 148 error requireStack: [ 148 error 'C:\Users\willi\Projects\node_modules\get-uri\node_modules\fs-extra\lib\copy-sync\copy-sync.js', 148 error 'C:\Users\willi\Projects\node_modules\get-uri\node_modules\fs-extra\lib\copy-sync\index.js', 148 error 'C:\Users\willi\Projects\node_modules\get-uri\node_modules\fs-extra\lib\index.js', 148 error 'C:\Users\willi\Projects\node_modules\get-uri\dist\file.js', 148 error 'C:\Users\willi\Projects\node_modules\get-uri\dist\index.js', 148 error 'C:\Users\willi\Projects\node_modules\pac-proxy-agent\dist\index.js', 148 error 'C:\Users\willi\Projects\node_modules\proxy-agent\dist\index.js' 148 error ] 148 error } 148 error 148 error Node.js v18.18.0 149 verbose exit 1 150 timing npm Completed in 2109ms 151 verbose unfinished npm timer reify 1695757601408 152 verbose unfinished npm timer reify:build 1695757602762 153 verbose unfinished npm timer build 1695757602762 154 verbose unfinished npm timer build:deps 1695757602762 155 verbose unfinished npm timer build:run:postinstall 1695757602767 156 verbose unfinished npm timer build:run:postinstall:node_modules/supabase 1695757602767 157 verbose code 1 158 error A complete log of this run can be found in: C:\Users\willi\AppData\Local\npm-cache_logs\2023-09-26T19_46_41_144Z-debug-0.log

sweatybridge commented 11 months ago

Thanks for filing this issue. This is probably broken by a recent change https://github.com/supabase/cli/pull/1451

I will make a fix before the next stable release