You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I forgot my password, I need to use yarn change-password to change the password
I use docker-compose to deploy, docker compose exec -it umami sh enter, I enter yarn change-password but an error is reported, prompt
Error: Cannot find module 'prompts'
Require stack:
- /app/scripts/change-password.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
at Module._load (node:internal/modules/cjs/loader:981:27)
at Module.require (node:internal/modules/cjs/loader:1231:19)
at require (node:internal/modules/helpers:177:18)
at Object.<anonymous> (/app/scripts/change-password.js:5:17)
at Module._compile (node:internal/modules/cjs/loader:1364:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
at Module.load (node:internal/modules/cjs/loader:1203:32)
at Module._load (node:internal/modules/cjs/loader:1019:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/app/scripts/change-password.js' ]
}
Node.js v18.20.4
Then I tried to use yarn add -D prompts to install the missing dependencies, but it failed, Output
yarn add v1.22.19
[1/4] Resolving packages...
warning del > [email protected]: Rimraf versions prior to v4 are no longer supported
warning del > rimraf > [email protected]: Glob versions prior to v9 are no longer supported
warning del > rimraf > glob > [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
warning [email protected]: react-beautiful-dnd is now deprecated. Context and options: https://github.com/atlassian/react-beautiful-dnd/issues/2672
warning @rollup/plugin-commonjs > [email protected]: Glob versions prior to v9 are no longer supported
warning @rollup/plugin-commonjs > glob > [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
warning @types/[email protected]: This is a stub types definition. cypress provides its own type definitions, so you do not need this installed.
warning [email protected]: This version is no longer supported. Please see https://eslint.org/version-support for other options.
warning eslint > @humanwhocodes/[email protected]: Use @eslint/config-array instead
warning eslint > file-entry-cache > flat-cache > [email protected]: Rimraf versions prior to v4 are no longer supported
warning eslint > @humanwhocodes/config-array > @humanwhocodes/[email protected]: Use @eslint/object-schema instead
warning extract-react-intl-messages > [email protected]: Glob versions prior to v9 are no longer supported
warning extract-react-intl-messages > [email protected]: this package has been renamed to babel-plugin-formatjs
warning extract-react-intl-messages > babel-plugin-react-intl > [email protected]: We've written a new parser that's 6x faster and is backwards compatible. Please use @formatjs/icu-messageformat-parser
warning extract-react-intl-messages > babel-plugin-react-intl > @formatjs/ts-transformer > [email protected]: We've written a new parser that's 6x faster and is backwards compatible. Please use @formatjs/icu-messageformat-parser
warning extract-react-intl-messages > babel-plugin-react-intl > @types/[email protected]: This is a stub types definition. schema-utils provides its own type definitions, so you do not need this installed.
warning jest > @jest/core > @jest/reporters > [email protected]: Glob versions prior to v9 are no longer supported
warning jest > jest-cli > jest-config > [email protected]: Glob versions prior to v9 are no longer supported
warning jest > @jest/core > jest-runtime > [email protected]: Glob versions prior to v9 are no longer supported
warning jest > @jest/core > @jest/transform > babel-plugin-istanbul > test-exclude > [email protected]: Glob versions prior to v9 are no longer supported
warning rollup-plugin-copy > globby > [email protected]: Glob versions prior to v9 are no longer supported
warning rollup-plugin-delete > del > [email protected]: Rimraf versions prior to v4 are no longer supported
warning rollup-plugin-delete > del > globby > [email protected]: Glob versions prior to v9 are no longer supported
warning rollup-plugin-postcss > cssnano > cssnano-preset-default > postcss-svgo > svgo > [email protected]: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
warning [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
[2/4] Fetching packages...
warning [email protected]: The engine "pnpm" appears to be invalid.
[3/4] Linking dependencies...
warning " > @umami/[email protected]" has incorrect peer dependency "@prisma/client@^4.8.0".
warning " > [email protected]" has incorrect peer dependency "next@^13.4.0".
warning " > [email protected]" has incorrect peer dependency "react@^16.8.0 || 17.x".
warning " > [email protected]" has incorrect peer dependency "react-dom@^16.8.0 || 17.x".
warning " > [email protected]" has unmet peer dependency "prop-types@^15.7.2".
warning " > [email protected]" has incorrect peer dependency "rollup@^2.0.0".
warning "stylelint-config-css-modules > [email protected]" has incorrect peer dependency "stylelint@^16.0.2".
warning " > [email protected]" has incorrect peer dependency "stylelint@>= 11.x < 15".
warning " > [email protected]" has incorrect peer dependency "stylelint@^16.1.0".
warning Workspaces can only be enabled in private projects.
error Could not write file "/app/yarn-error.log": "EACCES: permission denied, open '/app/yarn-error.log'"
error An unexpected error occurred: "EACCES: permission denied, mkdir '/app/node_modules/cross-spawn/node_modules/which'".
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
Database
PostgreSQL
Relevant log output
No response
Which Umami version are you using? (if relevant)
No response
Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
Docker-compose
The text was updated successfully, but these errors were encountered:
Describe the Bug
I forgot my password, I need to use
yarn change-password
to change the passwordI use
docker-compose
to deploy,docker compose exec -it umami sh
enter, I enteryarn change-password
but an error is reported, promptThen I tried to use
yarn add -D prompts
to install the missing dependencies, but it failed, OutputDatabase
PostgreSQL
Relevant log output
No response
Which Umami version are you using? (if relevant)
No response
Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
Docker-compose
The text was updated successfully, but these errors were encountered: