akauppi / GroundLevel-firebase-es

[ANCHORED] Stencil for operational web apps
https://groundlevel-sep22.web.app/
Other
23 stars 3 forks source link

Common tools are not found #48

Closed akauppi closed 3 years ago

akauppi commented 3 years ago

Steps:

$ cd packages/app
$ npx abc

Expected:

abc

Actual:

$ npx abc
npm ERR! could not determine executable to run
npm ERR! A complete log of this run can be found in:
npm ERR!     /home/tms/.npm/_logs/2021-05-03T09_13_47_165Z-debug.log

npm 7.11.1 Node.js v16.0.0

akauppi commented 3 years ago

Cannot reproduce this.

macOS npm 7.11.2 Node.js 16.0.0

akauppi commented 3 years ago

Something similar to this.

 $ npx firebase-tools --version
sh: firebase: command not found
$ npx firebase-tools --version
9.10.0

I visited the root in between those commands, and ran npm install there.

Tommi, if you read this, try running npm install in <root>/tools.

tommis commented 3 years ago

I got this to work but I have no idea why. I recloned the repo and and npm install in root packages/app and packages/backend separately. Before this I have tried running npm run install:all in root and then npm install in various places but that didn't fix it.

akauppi commented 3 years ago

Note to self:

akauppi commented 3 years ago

Remains unresolved. Closing.