Skip to content
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

flowbite-react installation error issue with v0.7.6 #1329

Closed
2 tasks done
sudsarkar13 opened this issue Mar 29, 2024 · 10 comments
Closed
2 tasks done

flowbite-react installation error issue with v0.7.6 #1329

sudsarkar13 opened this issue Mar 29, 2024 · 10 comments
Labels
🐛 bug Something isn't working confirmed This bug was confirmed

Comments

@sudsarkar13
Copy link

sudsarkar13 commented Mar 29, 2024

Screenshot from 2024-03-30 01-29-05

  • I have searched the Issues to see if this bug has already been reported.
  • I have tested the latest version.

Current behavior

npm ERR! code 1
npm ERR! path /home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo/node_modules/flowbite-react
npm ERR! command failed
npm ERR! command sh -c bun run build
npm ERR! error: Script not found "build"

Error Log

0 verbose cli /home/sudeepta/.nvm/versions/node/v20.11.1/bin/node /home/sudeepta/.nvm/versions/node/v20.11.1/bin/npm
1 info using npm@10.5.0
2 info using node@v20.11.1
3 timing npm:load:whichnode Completed in 1ms
4 timing config:load:defaults Completed in 1ms
5 timing config:load:file:/home/sudeepta/.nvm/versions/node/v20.11.1/lib/node_modules/npm/npmrc Completed in 1ms
6 timing config:load:builtin Completed in 1ms
7 timing config:load:cli Completed in 2ms
8 timing config:load:env Completed in 0ms
9 timing config:load:file:/home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo/.npmrc Completed in 0ms
10 timing config:load:project Completed in 3ms
11 timing config:load:file:/home/sudeepta/.npmrc Completed in 1ms
12 timing config:load:user Completed in 1ms
13 timing config:load:file:/home/sudeepta/.nvm/versions/node/v20.11.1/etc/npmrc Completed in 0ms
14 timing config:load:global Completed in 1ms
15 timing config:load:setEnvs Completed in 0ms
16 timing config:load Completed in 9ms
17 timing npm:load:configload Completed in 9ms
18 timing config:load:flatten Completed in 1ms
19 timing npm:load:mkdirpcache Completed in 0ms
20 timing npm:load:mkdirplogs Completed in 0ms
21 verbose title npm i flowbite-react
22 verbose argv "i" "--save" "flowbite-react"
23 timing npm:load:setTitle Completed in 1ms
24 timing npm:load:display Completed in 0ms
25 verbose logfile logs-max:10 dir:/home/sudeepta/.npm/_logs/2024-03-29T20_15_11_184Z-
26 verbose logfile /home/sudeepta/.npm/_logs/2024-03-29T20_15_11_184Z-debug-0.log
27 timing npm:load:logFile Completed in 5ms
28 timing npm:load:timers Completed in 0ms
29 timing npm:load:configScope Completed in 0ms
30 timing npm:load Completed in 26ms
31 timing arborist:ctor Completed in 1ms
32 silly logfile done cleaning log files
33 timing idealTree:init Completed in 117ms
34 timing idealTree:userRequests Completed in 1ms
35 silly idealTree buildDeps
36 silly fetch manifest flowbite-react@^0.7.5
37 timing arborist:ctor Completed in 1ms
38 http fetch GET 200 https://registry.npmjs.org/flowbite-react 65ms (cache hit)
39 silly fetch manifest react@^18
40 http fetch GET 200 https://registry.npmjs.org/react 15ms (cache hit)
41 silly fetch manifest react-dom@^18
42 http fetch GET 200 https://registry.npmjs.org/react-dom 17ms (cache hit)
43 silly fetch manifest tailwindcss@^3.4.3
44 http fetch GET 200 https://registry.npmjs.org/tailwindcss 26ms (cache hit)
45 silly placeDep ROOT flowbite-react@0.7.6 REPLACE for: dreach-rewant-repo@0.1.0 want: ^0.7.5
46 silly fetch manifest @floating-ui/core@1.6.0
47 silly fetch manifest @floating-ui/react@0.26.9
48 silly fetch manifest react-icons@5.0.1
49 silly fetch manifest react-indiana-drag-scroll@2.2.0
50 http fetch GET 200 https://registry.npmjs.org/@floating-ui%2freact 45ms (cache hit)
51 http fetch GET 200 https://registry.npmjs.org/react-icons 46ms (cache hit)
52 http fetch GET 200 https://registry.npmjs.org/@floating-ui%2fcore 51ms (cache hit)
53 http fetch GET 200 https://registry.npmjs.org/react-indiana-drag-scroll 1303ms (cache revalidated)
54 timing idealTree:#root Completed in 1562ms
55 silly placeDep ROOT @floating-ui/core@1.6.0 OK for: flowbite-react@0.7.6 want: 1.6.0
56 silly placeDep ROOT @floating-ui/react@0.26.9 OK for: flowbite-react@0.7.6 want: 0.26.9
57 silly placeDep ROOT react-icons@5.0.1 OK for: flowbite-react@0.7.6 want: 5.0.1
58 silly placeDep ROOT react-indiana-drag-scroll@2.2.0 OK for: flowbite-react@0.7.6 want: 2.2.0
59 silly fetch manifest @floating-ui/utils@^0.2.1
60 silly fetch manifest tabbable@^6.0.1
61 silly fetch manifest @floating-ui/react-dom@^2.0.8
62 silly fetch manifest debounce@^1.2.0
63 silly fetch manifest easy-bem@^1.1.1
64 http fetch GET 200 https://registry.npmjs.org/debounce 8ms (cache hit)
65 http fetch GET 200 https://registry.npmjs.org/@floating-ui%2freact-dom 10ms (cache hit)
66 http fetch GET 200 https://registry.npmjs.org/tabbable 11ms (cache hit)
67 http fetch GET 200 https://registry.npmjs.org/@floating-ui%2futils 16ms (cache hit)
68 http fetch GET 200 https://registry.npmjs.org/easy-bem 1131ms (cache revalidated)
69 timing idealTree:node_modules/flowbite-react Completed in 1142ms
70 silly placeDep ROOT @floating-ui/utils@0.2.1 OK for: @floating-ui/core@1.6.0 want: ^0.2.1
71 timing idealTree:node_modules/@floating-ui/core Completed in 1ms
72 silly fetch manifest react@>=16.8.0
73 silly fetch manifest react-dom@>=16.8.0
74 silly placeDep ROOT @floating-ui/react-dom@2.0.8 OK for: @floating-ui/react@0.26.9 want: ^2.0.8
75 silly placeDep ROOT tabbable@6.2.0 OK for: @floating-ui/react@0.26.9 want: ^6.0.1
76 silly fetch manifest @floating-ui/dom@^1.6.1
77 http fetch GET 200 https://registry.npmjs.org/@floating-ui%2fdom 3ms (cache hit)
78 timing idealTree:node_modules/@floating-ui/react Completed in 11ms
79 silly placeDep ROOT @floating-ui/dom@1.6.3 OK for: @floating-ui/react-dom@2.0.8 want: ^1.6.1
80 timing idealTree:node_modules/@floating-ui/react-dom Completed in 1ms
81 timing idealTree:node_modules/@floating-ui/dom Completed in 0ms
82 timing idealTree:node_modules/@floating-ui/utils Completed in 0ms
83 timing idealTree:node_modules/react-icons Completed in 0ms
84 silly placeDep node_modules/react-indiana-drag-scroll debounce@1.2.1 OK for: react-indiana-drag-scroll@2.2.0 want: ^1.2.0
85 silly placeDep ROOT easy-bem@1.1.1 OK for: react-indiana-drag-scroll@2.2.0 want: ^1.1.1
86 timing idealTree:node_modules/react-indiana-drag-scroll Completed in 2ms
87 timing idealTree:node_modules/easy-bem Completed in 0ms
88 timing idealTree:node_modules/tabbable Completed in 0ms
89 timing idealTree:node_modules/react-indiana-drag-scroll/node_modules/debounce Completed in 0ms
90 timing idealTree:buildDeps Completed in 2720ms
91 timing idealTree:fixDepFlags Completed in 4ms
92 timing idealTree Completed in 2847ms
93 timing reify:loadTrees Completed in 2848ms
94 timing reify:diffTrees Completed in 6ms
95 silly reify mark retired [
95 silly reify   '/home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo/node_modules/@floating-ui/react'
95 silly reify ]
96 silly reify mark retired [
96 silly reify   '/home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo/node_modules/flowbite-react'
96 silly reify ]
97 silly reify mark retired [
97 silly reify   '/home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo/node_modules/react-icons'
97 silly reify ]
98 silly reify moves {
98 silly reify   '/home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo/node_modules/@floating-ui/react': '/home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo/node_modules/@floating-ui/.react-X64Oa1ee',
98 silly reify   '/home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo/node_modules/flowbite-react': '/home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo/node_modules/.flowbite-react-3QNsl7lf',
98 silly reify   '/home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo/node_modules/react-icons': '/home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo/node_modules/.react-icons-sGyP9Jbv'
98 silly reify }
99 timing reify:retireShallow Completed in 3ms
100 timing reify:createSparse Completed in 2ms
101 timing reify:loadBundles Completed in 0ms
102 silly audit bulk request {
102 silly audit   '@aashutoshrathi/word-wrap': [ '1.2.6' ],
102 silly audit   '@alloc/quick-lru': [ '5.2.0' ],
102 silly audit   '@babel/runtime': [ '7.24.1' ],
102 silly audit   '@eslint-community/eslint-utils': [ '4.4.0' ],
102 silly audit   '@eslint-community/regexpp': [ '4.10.0' ],
102 silly audit   '@eslint/eslintrc': [ '2.1.4' ],
102 silly audit   '@eslint/js': [ '8.57.0' ],
102 silly audit   '@humanwhocodes/config-array': [ '0.11.14' ],
102 silly audit   '@humanwhocodes/module-importer': [ '1.0.1' ],
102 silly audit   '@humanwhocodes/object-schema': [ '2.0.2' ],
102 silly audit   '@isaacs/cliui': [ '8.0.2' ],
102 silly audit   'ansi-regex': [ '6.0.1', '5.0.1' ],
102 silly audit   'strip-ansi': [ '7.1.0', '6.0.1' ],
102 silly audit   '@jridgewell/gen-mapping': [ '0.3.5' ],
102 silly audit   '@jridgewell/resolve-uri': [ '3.1.2' ],
102 silly audit   '@jridgewell/set-array': [ '1.2.1' ],
102 silly audit   '@jridgewell/sourcemap-codec': [ '1.4.15' ],
102 silly audit   '@jridgewell/trace-mapping': [ '0.3.25' ],
102 silly audit   '@next/env': [ '14.1.4' ],
102 silly audit   '@next/eslint-plugin-next': [ '14.1.4' ],
102 silly audit   '@next/swc-darwin-arm64': [ '14.1.4' ],
102 silly audit   '@next/swc-darwin-x64': [ '14.1.4' ],
102 silly audit   '@next/swc-linux-arm64-gnu': [ '14.1.4' ],
102 silly audit   '@next/swc-linux-arm64-musl': [ '14.1.4' ],
102 silly audit   '@next/swc-linux-x64-gnu': [ '14.1.4' ],
102 silly audit   '@next/swc-linux-x64-musl': [ '14.1.4' ],
102 silly audit   '@next/swc-win32-arm64-msvc': [ '14.1.4' ],
102 silly audit   '@next/swc-win32-ia32-msvc': [ '14.1.4' ],
102 silly audit   '@next/swc-win32-x64-msvc': [ '14.1.4' ],
102 silly audit   '@nodelib/fs.scandir': [ '2.1.5' ],
102 silly audit   '@nodelib/fs.stat': [ '2.0.5' ],
102 silly audit   '@nodelib/fs.walk': [ '1.2.8' ],
102 silly audit   '@pkgjs/parseargs': [ '0.11.0' ],
102 silly audit   '@popperjs/core': [ '2.11.8' ],
102 silly audit   '@rushstack/eslint-patch': [ '1.10.1' ],
102 silly audit   '@swc/helpers': [ '0.5.2' ],
102 silly audit   '@types/bun': [ '1.0.11' ],
102 silly audit   '@types/json5': [ '0.0.29' ],
102 silly audit   '@types/node': [ '20.11.30' ],
102 silly audit   '@types/prop-types': [ '15.7.12' ],
102 silly audit   '@types/react': [ '18.2.73' ],
102 silly audit   '@types/react-dom': [ '18.2.23' ],
102 silly audit   '@types/ws': [ '8.5.10' ],
102 silly audit   '@typescript-eslint/parser': [ '6.21.0' ],
102 silly audit   '@typescript-eslint/scope-manager': [ '6.21.0' ],
102 silly audit   '@typescript-eslint/types': [ '6.21.0' ],
102 silly audit   '@typescript-eslint/typescript-estree': [ '6.21.0' ],
102 silly audit   'brace-expansion': [ '2.0.1', '1.1.11' ],
102 silly audit   minimatch: [ '9.0.3', '9.0.4', '3.1.2' ],
102 silly audit   '@typescript-eslint/visitor-keys': [ '6.21.0' ],
102 silly audit   '@ungap/structured-clone': [ '1.2.0' ],
102 silly audit   acorn: [ '8.11.3' ],
102 silly audit   'acorn-jsx': [ '5.3.2' ],
102 silly audit   ajv: [ '6.12.6' ],
102 silly audit   'ansi-styles': [ '4.3.0', '6.2.1' ],
102 silly audit   'any-promise': [ '1.3.0' ],
102 silly audit   anymatch: [ '3.1.3' ],
102 silly audit   arg: [ '5.0.2' ],
102 silly audit   argparse: [ '2.0.1' ],
102 silly audit   'aria-query': [ '5.3.0' ],
102 silly audit   'array-buffer-byte-length': [ '1.0.1' ],
102 silly audit   'array-includes': [ '3.1.8' ],
102 silly audit   'array-union': [ '2.1.0' ],
102 silly audit   'array.prototype.findlast': [ '1.2.5' ],
102 silly audit   'array.prototype.findlastindex': [ '1.2.5' ],
102 silly audit   'array.prototype.flat': [ '1.3.2' ],
102 silly audit   'array.prototype.flatmap': [ '1.3.2' ],
102 silly audit   'array.prototype.toreversed': [ '1.1.2' ],
102 silly audit   'array.prototype.tosorted': [ '1.1.3' ],
102 silly audit   'arraybuffer.prototype.slice': [ '1.0.3' ],
102 silly audit   'ast-types-flow': [ '0.0.8' ],
102 silly audit   autoprefixer: [ '10.4.19' ],
102 silly audit   'available-typed-arrays': [ '1.0.7' ],
102 silly audit   'axe-core': [ '4.7.0' ],
102 silly audit   'axobject-query': [ '3.2.1' ],
102 silly audit   'balanced-match': [ '1.0.2' ],
102 silly audit   'binary-extensions': [ '2.3.0' ],
102 silly audit   braces: [ '3.0.2' ],
102 silly audit   browserslist: [ '4.23.0' ],
102 silly audit   'bun-types': [ '1.0.35' ],
102 silly audit   busboy: [ '1.6.0' ],
102 silly audit   'call-bind': [ '1.0.7' ],
102 silly audit   callsites: [ '3.1.0' ],
102 silly audit   'camelcase-css': [ '2.0.1' ],
102 silly audit   'caniuse-lite': [ '1.0.30001600' ],
102 silly audit   chalk: [ '4.1.2' ],
102 silly audit   chokidar: [ '3.6.0' ],
102 silly audit   'glob-parent': [ '5.1.2', '6.0.2' ],
102 silly audit   classnames: [ '2.5.1' ],
102 silly audit   'client-only': [ '0.0.1' ],
102 silly audit   'color-convert': [ '2.0.1' ],
102 silly audit   'color-name': [ '1.1.4' ],
102 silly audit   commander: [ '4.1.1' ],
102 silly audit   'concat-map': [ '0.0.1' ],
102 silly audit   'cross-spawn': [ '7.0.3' ],
102 silly audit   cssesc: [ '3.0.0' ],
102 silly audit   csstype: [ '3.1.3' ],
102 silly audit   'damerau-levenshtein': [ '1.0.8' ],
102 silly audit   'data-view-buffer': [ '1.0.1' ],
102 silly audit   'data-view-byte-length': [ '1.0.1' ],
102 silly audit   'data-view-byte-offset': [ '1.0.0' ],
102 silly audit   debounce: [ '2.0.0', '1.2.1' ],
102 silly audit   debug: [ '4.3.4', '3.2.7' ],
102 silly audit   'deep-is': [ '0.1.4' ],
102 silly audit   'define-data-property': [ '1.1.4' ],
102 silly audit   'define-properties': [ '1.2.1' ],
102 silly audit   dequal: [ '2.0.3' ],
102 silly audit   didyoumean: [ '1.2.2' ],
102 silly audit   'dir-glob': [ '3.0.1' ],
102 silly audit   dlv: [ '1.1.3' ],
102 silly audit   doctrine: [ '3.0.0', '2.1.0' ],
102 silly audit   eastasianwidth: [ '0.2.0' ],
102 silly audit   'electron-to-chromium': [ '1.4.721' ],
102 silly audit   'emoji-regex': [ '9.2.2', '8.0.0' ],
102 silly audit   'enhanced-resolve': [ '5.16.0' ],
102 silly audit   'es-abstract': [ '1.23.2' ],
102 silly audit   'es-define-property': [ '1.0.0' ],
102 silly audit   'es-errors': [ '1.3.0' ],
102 silly audit   'es-iterator-helpers': [ '1.0.18' ],
102 silly audit   'es-object-atoms': [ '1.0.0' ],
102 silly audit   'es-set-tostringtag': [ '2.0.3' ],
102 silly audit   'es-shim-unscopables': [ '1.0.2' ],
102 silly audit   'es-to-primitive': [ '1.2.1' ],
102 silly audit   escalade: [ '3.1.2' ],
102 silly audit   'escape-string-regexp': [ '4.0.0' ],
102 silly audit   eslint: [ '8.57.0' ],
102 silly audit   'eslint-config-next': [ '14.1.4' ],
102 silly audit   'eslint-import-resolver-node': [ '0.3.9' ],
102 silly audit   'eslint-import-resolver-typescript': [ '3.6.1' ],
102 silly audit   'eslint-module-utils': [ '2.8.1' ],
102 silly audit   'eslint-plugin-import': [ '2.29.1' ],
102 silly audit   semver: [ '6.3.1', '7.6.0' ],
102 silly audit   'eslint-plugin-jsx-a11y': [ '6.8.0' ],
102 silly audit   'eslint-plugin-react': [ '7.34.1' ],
102 silly audit   'eslint-plugin-react-hooks': [ '4.6.0' ],
102 silly audit   resolve: [ '2.0.0-next.5', '1.22.8' ],
102 silly audit   'eslint-scope': [ '7.2.2' ],
102 silly audit   'eslint-visitor-keys': [ '3.4.3' ],
102 silly audit   espree: [ '9.6.1' ],
102 silly audit   esquery: [ '1.5.0' ],
102 silly audit   esrecurse: [ '4.3.0' ],
102 silly audit   estraverse: [ '5.3.0' ],
102 silly audit   esutils: [ '2.0.3' ],
102 silly audit   'fast-deep-equal': [ '3.1.3' ],
102 silly audit   'fast-glob': [ '3.3.2' ],
102 silly audit   'fast-json-stable-stringify': [ '2.1.0' ],
102 silly audit   'fast-levenshtein': [ '2.0.6' ],
102 silly audit   fastq: [ '1.17.1' ],
102 silly audit   'file-entry-cache': [ '6.0.1' ],
102 silly audit   'fill-range': [ '7.0.1' ],
102 silly audit   'find-up': [ '5.0.0' ],
102 silly audit   'flat-cache': [ '3.2.0' ],
102 silly audit   flatted: [ '3.3.1' ],
102 silly audit   flowbite: [ '2.3.0' ],
102 silly audit   'for-each': [ '0.3.3' ],
102 silly audit   'foreground-child': [ '3.1.1' ],
102 silly audit   'fraction.js': [ '4.3.7' ],
102 silly audit   'fs.realpath': [ '1.0.0' ],
102 silly audit   fsevents: [ '2.3.3' ],
102 silly audit   'function-bind': [ '1.1.2' ],
102 silly audit   'function.prototype.name': [ '1.1.6' ],
102 silly audit   'functions-have-names': [ '1.2.3' ],
102 silly audit   'get-intrinsic': [ '1.2.4' ],
102 silly audit   'get-symbol-description': [ '1.0.2' ],
102 silly audit   'get-tsconfig': [ '4.7.3' ],
102 silly audit   glob: [ '10.3.10', '7.2.3' ],
102 silly audit   globals: [ '13.24.0' ],
102 silly audit   globalthis: [ '1.0.3' ],
102 silly audit   globby: [ '11.1.0' ],
102 silly audit   gopd: [ '1.0.1' ],
102 silly audit   'graceful-fs': [ '4.2.11' ],
102 silly audit   graphemer: [ '1.4.0' ],
102 silly audit   'has-bigints': [ '1.0.2' ],
102 silly audit   'has-flag': [ '4.0.0' ],
102 silly audit   'has-property-descriptors': [ '1.0.2' ],
102 silly audit   'has-proto': [ '1.0.3' ],
102 silly audit   'has-symbols': [ '1.0.3' ],
102 silly audit   'has-tostringtag': [ '1.0.2' ],
102 silly audit   hasown: [ '2.0.2' ],
102 silly audit   ignore: [ '5.3.1' ],
102 silly audit   'import-fresh': [ '3.3.0' ],
102 silly audit   imurmurhash: [ '0.1.4' ],
102 silly audit   inflight: [ '1.0.6' ],
102 silly audit   inherits: [ '2.0.4' ],
102 silly audit   'internal-slot': [ '1.0.7' ],
102 silly audit   'is-array-buffer': [ '3.0.4' ],
102 silly audit   'is-async-function': [ '2.0.0' ],
102 silly audit   'is-bigint': [ '1.0.4' ],
102 silly audit   'is-binary-path': [ '2.1.0' ],
102 silly audit   'is-boolean-object': [ '1.1.2' ],
102 silly audit   'is-callable': [ '1.2.7' ],
102 silly audit   'is-core-module': [ '2.13.1' ],
102 silly audit   'is-data-view': [ '1.0.1' ],
102 silly audit   'is-date-object': [ '1.0.5' ],
102 silly audit   'is-extglob': [ '2.1.1' ],
102 silly audit   'is-finalizationregistry': [ '1.0.2' ],
102 silly audit   'is-fullwidth-code-point': [ '3.0.0' ],
102 silly audit   'is-generator-function': [ '1.0.10' ],
102 silly audit   'is-glob': [ '4.0.3' ],
102 silly audit   'is-map': [ '2.0.3' ],
102 silly audit   'is-negative-zero': [ '2.0.3' ],
102 silly audit   'is-number': [ '7.0.0' ],
102 silly audit   'is-number-object': [ '1.0.7' ],
102 silly audit   'is-path-inside': [ '3.0.3' ],
102 silly audit   'is-regex': [ '1.1.4' ],
102 silly audit   'is-set': [ '2.0.3' ],
102 silly audit   'is-shared-array-buffer': [ '1.0.3' ],
102 silly audit   'is-string': [ '1.0.7' ],
102 silly audit   'is-symbol': [ '1.0.4' ],
102 silly audit   'is-typed-array': [ '1.1.13' ],
102 silly audit   'is-weakmap': [ '2.0.2' ],
102 silly audit   'is-weakref': [ '1.0.2' ],
102 silly audit   'is-weakset': [ '2.0.3' ],
102 silly audit   isarray: [ '2.0.5' ],
102 silly audit   isexe: [ '2.0.0' ],
102 silly audit   'iterator.prototype': [ '1.1.2' ],
102 silly audit   jackspeak: [ '2.3.6' ],
102 silly audit   jiti: [ '1.21.0' ],
102 silly audit   'js-tokens': [ '4.0.0' ],
102 silly audit   'js-yaml': [ '4.1.0' ],
102 silly audit   'json-buffer': [ '3.0.1' ],
102 silly audit   'json-schema-traverse': [ '0.4.1' ],
102 silly audit   'json-stable-stringify-without-jsonify': [ '1.0.1' ],
102 silly audit   json5: [ '1.0.2' ],
102 silly audit   'jsx-ast-utils': [ '3.3.5' ],
102 silly audit   keyv: [ '4.5.4' ],
102 silly audit   'language-subtag-registry': [ '0.3.22' ],
102 silly audit   'language-tags': [ '1.0.9' ],
102 silly audit   levn: [ '0.4.1' ],
102 silly audit   lilconfig: [ '2.1.0', '3.1.1' ],
102 silly audit   'lines-and-columns': [ '1.2.4' ],
102 silly audit   'locate-path': [ '6.0.0' ],
102 silly audit   'lodash.merge': [ '4.6.2' ],
102 silly audit   'loose-envify': [ '1.4.0' ],
102 silly audit   'lru-cache': [ '10.2.0', '6.0.0' ],
102 silly audit   merge2: [ '1.4.1' ],
102 silly audit   micromatch: [ '4.0.5' ],
102 silly audit   'mini-svg-data-uri': [ '1.4.4' ],
102 silly audit   minimist: [ '1.2.8' ],
102 silly audit   minipass: [ '7.0.4' ],
102 silly audit   ms: [ '2.1.2' ],
102 silly audit   mz: [ '2.7.0' ],
102 silly audit   nanoid: [ '3.3.7' ],
102 silly audit   'natural-compare': [ '1.4.0' ],
102 silly audit   next: [ '14.1.4' ],
102 silly audit   postcss: [ '8.4.31', '8.4.38' ],
102 silly audit   'node-releases': [ '2.0.14' ],
102 silly audit   'normalize-path': [ '3.0.0' ],
102 silly audit   'normalize-range': [ '0.1.2' ],
102 silly audit   'object-assign': [ '4.1.1' ],
102 silly audit   'object-hash': [ '3.0.0' ],
102 silly audit   'object-inspect': [ '1.13.1' ],
102 silly audit   'object-keys': [ '1.1.1' ],
102 silly audit   'object.assign': [ '4.1.5' ],
102 silly audit   'object.entries': [ '1.1.8' ],
102 silly audit   'object.fromentries': [ '2.0.8' ],
102 silly audit   'object.groupby': [ '1.0.3' ],
102 silly audit   'object.hasown': [ '1.1.4' ],
102 silly audit   'object.values': [ '1.2.0' ],
102 silly audit   once: [ '1.4.0' ],
102 silly audit   optionator: [ '0.9.3' ],
102 silly audit   'p-limit': [ '3.1.0' ],
102 silly audit   'p-locate': [ '5.0.0' ],
102 silly audit   'parent-module': [ '1.0.1' ],
102 silly audit   'path-exists': [ '4.0.0' ],
102 silly audit   'path-is-absolute': [ '1.0.1' ],
102 silly audit   'path-key': [ '3.1.1' ],
102 silly audit   'path-parse': [ '1.0.7' ],
102 silly audit   'path-scurry': [ '1.10.2' ],
102 silly audit   'path-type': [ '4.0.0' ],
102 silly audit   picocolors: [ '1.0.0' ],
102 silly audit   picomatch: [ '2.3.1' ],
102 silly audit   pify: [ '2.3.0' ],
102 silly audit   pirates: [ '4.0.6' ],
102 silly audit   'possible-typed-array-names': [ '1.0.0' ],
102 silly audit   'postcss-import': [ '15.1.0' ],
102 silly audit   'postcss-js': [ '4.0.1' ],
102 silly audit   'postcss-load-config': [ '4.0.2' ],
102 silly audit   'postcss-nested': [ '6.0.1' ],
102 silly audit   'postcss-selector-parser': [ '6.0.16' ],
102 silly audit   'postcss-value-parser': [ '4.2.0' ],
102 silly audit   'prelude-ls': [ '1.2.1' ],
102 silly audit   'prop-types': [ '15.8.1' ],
102 silly audit   punycode: [ '2.3.1' ],
102 silly audit   'queue-microtask': [ '1.2.3' ],
102 silly audit   react: [ '18.2.0' ],
102 silly audit   'react-dom': [ '18.2.0' ],
102 silly audit   'react-is': [ '16.13.1' ],
102 silly audit   'read-cache': [ '1.0.0' ],
102 silly audit   readdirp: [ '3.6.0' ],
102 silly audit   'reflect.getprototypeof': [ '1.0.6' ],
102 silly audit   'regenerator-runtime': [ '0.14.1' ],
102 silly audit   'regexp.prototype.flags': [ '1.5.2' ],
102 silly audit   'resolve-from': [ '4.0.0' ],
102 silly audit   'resolve-pkg-maps': [ '1.0.0' ],
102 silly audit   reusify: [ '1.0.4' ],
102 silly audit   rimraf: [ '3.0.2' ],
102 silly audit   'run-parallel': [ '1.2.0' ],
102 silly audit   'safe-array-concat': [ '1.1.2' ],
102 silly audit   'safe-regex-test': [ '1.0.3' ],
102 silly audit   scheduler: [ '0.23.0' ],
102 silly audit   'set-function-length': [ '1.2.2' ],
102 silly audit   'set-function-name': [ '2.0.2' ],
102 silly audit   'shebang-command': [ '2.0.0' ],
102 silly audit   'shebang-regex': [ '3.0.0' ],
102 silly audit   'side-channel': [ '1.0.6' ],
102 silly audit   'signal-exit': [ '4.1.0' ],
102 silly audit   slash: [ '3.0.0' ],
102 silly audit   'source-map-js': [ '1.2.0' ],
102 silly audit   streamsearch: [ '1.1.0' ],
102 silly audit   'string-width': [ '5.1.2', '4.2.3' ],
102 silly audit   'string.prototype.matchall': [ '4.0.11' ],
102 silly audit   'string.prototype.trim': [ '1.2.9' ],
102 silly audit   'string.prototype.trimend': [ '1.0.8' ],
102 silly audit   'string.prototype.trimstart': [ '1.0.8' ],
102 silly audit   'strip-bom': [ '3.0.0' ],
102 silly audit   'strip-json-comments': [ '3.1.1' ],
102 silly audit   'styled-jsx': [ '5.1.1' ],
102 silly audit   sucrase: [ '3.35.0' ],
102 silly audit   'supports-color': [ '7.2.0' ],
102 silly audit   'supports-preserve-symlinks-flag': [ '1.0.0' ],
102 silly audit   'tailwind-merge': [ '2.2.2' ],
102 silly audit   tailwindcss: [ '3.4.3' ],
102 silly audit   tapable: [ '2.2.1' ],
102 silly audit   'text-table': [ '0.2.0' ],
102 silly audit   thenify: [ '3.3.1' ],
102 silly audit   'thenify-all': [ '1.6.0' ],
102 silly audit   'to-regex-range': [ '5.0.1' ],
102 silly audit   'ts-api-utils': [ '1.3.0' ],
102 silly audit   'ts-interface-checker': [ '0.1.13' ],
102 silly audit   'tsconfig-paths': [ '3.15.0' ],
102 silly audit   tslib: [ '2.6.2' ],
102 silly audit   'type-check': [ '0.4.0' ],
102 silly audit   'type-fest': [ '0.20.2' ],
102 silly audit   'typed-array-buffer': [ '1.0.2' ],
102 silly audit   'typed-array-byte-length': [ '1.0.1' ],
102 silly audit   'typed-array-byte-offset': [ '1.0.2' ],
102 silly audit   'typed-array-length': [ '1.0.6' ],
102 silly audit   typescript: [ '5.4.3' ],
102 silly audit   'unbox-primitive': [ '1.0.2' ],
102 silly audit   'undici-types': [ '5.26.5' ],
102 silly audit   'update-browserslist-db': [ '1.0.13' ],
102 silly audit   'uri-js': [ '4.4.1' ],
102 silly audit   'util-deprecate': [ '1.0.2' ],
102 silly audit   which: [ '2.0.2' ],
102 silly audit   'which-boxed-primitive': [ '1.0.2' ],
102 silly audit   'which-builtin-type': [ '1.1.3' ],
102 silly audit   'which-collection': [ '1.0.2' ],
102 silly audit   'which-typed-array': [ '1.1.15' ],
102 silly audit   'wrap-ansi': [ '8.1.0', '7.0.0' ],
102 silly audit   wrappy: [ '1.0.2' ],
102 silly audit   yallist: [ '4.0.0' ],
102 silly audit   yaml: [ '2.4.1' ],
102 silly audit   'yocto-queue': [ '0.1.0' ],
102 silly audit   'flowbite-react': [ '0.7.6' ],
102 silly audit   '@floating-ui/core': [ '1.6.0' ],
102 silly audit   '@floating-ui/react': [ '0.26.9' ],
102 silly audit   'react-icons': [ '5.0.1' ],
102 silly audit   'react-indiana-drag-scroll': [ '2.2.0' ],
102 silly audit   '@floating-ui/utils': [ '0.2.1' ],
102 silly audit   '@floating-ui/react-dom': [ '2.0.8' ],
102 silly audit   tabbable: [ '6.2.0' ],
102 silly audit   '@floating-ui/dom': [ '1.6.3' ],
102 silly audit   'easy-bem': [ '1.1.1' ]
102 silly audit }
103 verbose reify failed optional dependency /home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo/node_modules/fsevents
104 silly reify mark deleted [
104 silly reify   '/home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo/node_modules/fsevents'
104 silly reify ]
105 verbose reify failed optional dependency /home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo/node_modules/@next/swc-win32-x64-msvc
106 silly reify mark deleted [
106 silly reify   '/home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo/node_modules/@next/swc-win32-x64-msvc'
106 silly reify ]
107 verbose reify failed optional dependency /home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo/node_modules/@next/swc-win32-ia32-msvc
108 silly reify mark deleted [
108 silly reify   '/home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo/node_modules/@next/swc-win32-ia32-msvc'
108 silly reify ]
109 verbose reify failed optional dependency /home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo/node_modules/@next/swc-win32-arm64-msvc
110 silly reify mark deleted [
110 silly reify   '/home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo/node_modules/@next/swc-win32-arm64-msvc'
110 silly reify ]
111 verbose reify failed optional dependency /home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo/node_modules/@next/swc-linux-arm64-musl
112 silly reify mark deleted [
112 silly reify   '/home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo/node_modules/@next/swc-linux-arm64-musl'
112 silly reify ]
113 verbose reify failed optional dependency /home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo/node_modules/@next/swc-linux-arm64-gnu
114 silly reify mark deleted [
114 silly reify   '/home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo/node_modules/@next/swc-linux-arm64-gnu'
114 silly reify ]
115 verbose reify failed optional dependency /home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo/node_modules/@next/swc-darwin-x64
116 silly reify mark deleted [
116 silly reify   '/home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo/node_modules/@next/swc-darwin-x64'
116 silly reify ]
117 verbose reify failed optional dependency /home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo/node_modules/@next/swc-darwin-arm64
118 silly reify mark deleted [
118 silly reify   '/home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo/node_modules/@next/swc-darwin-arm64'
118 silly reify ]
119 timing reifyNode:node_modules/fsevents Completed in 4ms
120 timing reifyNode:node_modules/@next/swc-win32-x64-msvc Completed in 5ms
121 timing reifyNode:node_modules/@next/swc-win32-ia32-msvc Completed in 5ms
122 timing reifyNode:node_modules/@next/swc-win32-arm64-msvc Completed in 5ms
123 timing reifyNode:node_modules/@next/swc-linux-arm64-musl Completed in 5ms
124 timing reifyNode:node_modules/@next/swc-linux-arm64-gnu Completed in 4ms
125 timing reifyNode:node_modules/@next/swc-darwin-x64 Completed in 4ms
126 timing reifyNode:node_modules/@next/swc-darwin-arm64 Completed in 4ms
127 timing reifyNode:node_modules/easy-bem Completed in 281ms
128 timing reifyNode:node_modules/react-indiana-drag-scroll/node_modules/debounce Completed in 283ms
129 timing reifyNode:node_modules/react-indiana-drag-scroll Completed in 284ms
130 timing reifyNode:node_modules/@floating-ui/react Completed in 287ms
131 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 378ms
132 timing auditReport:getReport Completed in 382ms
133 silly audit report {}
134 timing auditReport:init Completed in 0ms
135 timing reify:audit Completed in 383ms
136 timing reifyNode:node_modules/flowbite-react Completed in 382ms
137 timing reifyNode:node_modules/react-icons Completed in 521ms
138 timing reify:unpack Completed in 522ms
139 timing reify:unretire Completed in 0ms
140 timing build:queue Completed in 0ms
141 info run flowbite-react@0.7.6 postinstall node_modules/flowbite-react bun run build
142 info run flowbite-react@0.7.6 postinstall { code: 1, signal: null }
143 timing reify:rollback:createSparse Completed in 37ms
144 timing reify:rollback:retireShallow Completed in 1ms
145 timing command:i Completed in 3448ms
146 verbose stack Error: command failed
146 verbose stack     at ChildProcess.<anonymous> (/home/sudeepta/.nvm/versions/node/v20.11.1/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:53:27)
146 verbose stack     at ChildProcess.emit (node:events:518:28)
146 verbose stack     at maybeClose (node:internal/child_process:1105:16)
146 verbose stack     at ChildProcess._handle.onexit (node:internal/child_process:305:5)
147 verbose pkgid flowbite-react@0.7.6
148 verbose cwd /home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo
149 verbose Linux 6.5.0-26-generic
150 verbose node v20.11.1
151 verbose npm  v10.5.0
152 error code 1
153 error path /home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo/node_modules/flowbite-react
154 error command failed
155 error command sh -c bun run build
156 error error: Script not found "build"
157 verbose exit 1
158 timing npm Completed in 3583ms
159 verbose unfinished npm timer reify 1711743311319
160 verbose unfinished npm timer reify:build 1711743314709
161 verbose unfinished npm timer build 1711743314709
162 verbose unfinished npm timer build:deps 1711743314709
163 verbose unfinished npm timer build:run:postinstall 1711743314710
164 verbose unfinished npm timer build:run:postinstall:node_modules/flowbite-react 1711743314710
165 verbose code 1
166 error A complete log of this run can be found in: /home/sudeepta/.npm/_logs/2024-03-29T20_15_11_184Z-debug-0.log

Expected behaviour

  • From the previous versions we didn't get such issues
  • And second of all we never get bun cli issues
  • Getting this error in both windows and linux (Ubuntu 22.04 LTS)
  • Even after installing the bun and @types/bun in global dependencies

Operation review

  • After installing it in the dependencies and even in the dev dependencies getting the same issue
  • Any how I conclude that this package has a bug or dependency issue please fix it.

Please kindly look into these issues

@sayinmehmet47
Copy link

Faced the same issue when i build my client in github actions with similiar error

"flowbite": "^2.2.0",
"flowbite-react": "^0.7.0",

image

@nphamvn
Copy link

nphamvn commented Mar 30, 2024

I faced the same issue when building Docker image in local host and in GitHub Actions.

"flowbite": "^2.3.0",
"flowbite-react": "^0.7.5"

@Lokeswara-betha
Copy link

I faced the same problem with "flowbite-react": "^0.7.5" and "flowbite-react": "^0.7.6". I tried different approaches, but none of them worked out.

Finally, I changed the version to "flowbite-react": "0.7.0", and now the Docker build is working without any issues.

@prateekshaweb
Copy link

worked for me npm i flowbite-react@0.7.5

@bonesoul
Copy link

same issue, imports broken.

@rluders rluders added 🐛 bug Something isn't working confirmed This bug was confirmed labels Mar 31, 2024
@rluders
Copy link
Collaborator

rluders commented Mar 31, 2024

worked for me npm i flowbite-react@0.7.5

OK folks, confirmed.
As far as we can tell the 0.7.6 release is broken. Please, use the 0.7.5 and install it as described ☝️.

@nphamvn
Copy link

nphamvn commented Apr 1, 2024

I faced the same issue when building Docker image in local host and in GitHub Actions.

"flowbite": "^2.3.0", "flowbite-react": "^0.7.5"

I reply to my self. I fixed by copying package-lock.json in Dockerfile. I don't know why it worked until now without package-lock.json but at least I can build image now.

@SutuSebastian
Copy link
Collaborator

SutuSebastian commented Apr 1, 2024

Check 0.7.8, hope it fixed everything related to imports/build/install.

@zoltanszogyenyi
Copy link
Member

Thanks @SutuSebastian for the fix! Hope it works for everyone now.

@SutuSebastian
Copy link
Collaborator

Released 0.8.0 which focuses on fixing the build step of the library and streamlining the onboarding both as a contributor and as a library user.

Please read the release changelog for the breaking changes and the steps to upgrade.

@SutuSebastian SutuSebastian unpinned this issue Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working confirmed This bug was confirmed
Projects
None yet
Development

No branches or pull requests

9 participants