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

npm i && npm run build:firefox failed #1617

Closed
doczkal opened this issue Feb 27, 2024 · 2 comments
Closed

npm i && npm run build:firefox failed #1617

doczkal opened this issue Feb 27, 2024 · 2 comments

Comments

@doczkal
Copy link

doczkal commented Feb 27, 2024

I am trying to build for Firefox https://github.com/reduxjs/redux-devtools/tree/main/extension#2-for-firefox

npm i

shows warnings but seems OK

npm run

Scripts available in undefined via npm run-script:
format
prettier --write .
format:check
prettier --check .
build:all
nx run-many --target=build --all --parallel=1
lint:all
nx run-many --target=lint --all --parallel=1
test:all
nx run-many --target=test --all --parallel=1
clean:all
nx run-many --target=clean --all --parallel=1
release
pnpm build:all && changeset publish

npm run build:firefox
npm ERR! Missing script: "build:firefox"
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR! npm run
npm ERR! A complete log of this run can be found in: ~/.npm/_logs/2024-02-27T07_52_23_574Z-debug-0.log

Steps to reproduce

  1. git clone https://github.com/reduxjs/redux-devtools.git
  2. cd redux-devtools
  3. npm i && npm run build:firefox

am I missing something?
I also tried the npm commands in "extension" sub-directory with similar results. npm run build:all doesn't work either.

OS:
CentOS Linux release 7.9.2009 (Core)

node --version

v20.11.0

npm --version

10.2.4

@Methuselah96
Copy link
Member

Methuselah96 commented Feb 27, 2024

Sorry for the confusion, the READMEs were created before the projects were combined into a monorepo. Running pnpm install and pnpm run build:all in the redux-devtools directory should work. The output for Firefox will be in extension/firefox/dist/.

Let me know if I can help with anything else.

@doczkal
Copy link
Author

doczkal commented Feb 27, 2024

Yes, thanks. After submitting my issue I figured out usage of pnpm myself. Please help me to get more insight of #1618

@doczkal doczkal closed this as completed Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants