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
0.17.2 and I think #149 specifically broke the package installation for me:
❯ node --version && npm --version
v15.8.0
7.5.4
❯ npm install @asyncapi/[email protected]
npm ERR! code 127
npm ERR! path /Users/mike/work/owhealth-server/node_modules/@asyncapi/html-template
npm ERR! command failed
npm ERR! command sh -c rimraf "template/css/main.min.css" && npm run generate:atomcss && npm run generate:maincss && npm run generate:tailwind.css
npm ERR! > @asyncapi/[email protected] generate:atomcss
npm ERR! > cross-env NODE_ENV=production postcss template/css/atom-one-dark.min.css -o template/css/main.min.css
npm ERR! sh: cross-env: command not found
npm ERR! npm ERR! code 127
npm ERR! npm ERR! path /Users/mike/work/owhealth-server/node_modules/@asyncapi/html-template
npm ERR! npm ERR! command failed
npm ERR! npm ERR! command sh -c cross-env NODE_ENV=production postcss template/css/atom-one-dark.min.css -o template/css/main.min.css
npm ERR!
npm ERR! npm ERR! A complete log of this run can be found in:
npm ERR! npm ERR! /Users/mike/.cache/npm/_logs/2021-02-16T10_54_23_393Z-debug.log
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/mike/.cache/npm/_logs/2021-02-16T10_54_23_918Z-debug.log
Which is fair, I don't seem to have this cross-env. I'm not too familiar with npm, but it seems that this is because postinstall depends on a tool from devDependencies, which are not installed during a normal npm install.
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.
Describe the bug
0.17.2 and I think #149 specifically broke the package installation for me:
Which is fair, I don't seem to have this
cross-env
. I'm not too familiar with npm, but it seems that this is becausepostinstall
depends on a tool fromdevDependencies
, which are not installed during a normalnpm install
.How to Reproduce
Just try installing.
Expected behavior
The package should install fine.
The text was updated successfully, but these errors were encountered: