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 run build" fails #9

Closed
naga-cid opened this issue Aug 19, 2024 · 3 comments
Closed

"npm run build" fails #9

naga-cid opened this issue Aug 19, 2024 · 3 comments

Comments

@naga-cid
Copy link

I am trying the "Run via node" method.

npm run build fails with the below error,

npm error Missing script: "build"
npm error
npm error To see a list of scripts, run:
npm error   npm run
npm error A complete log of this run can be found in: /home/ec2-user/.npm/_logs/2024-08-19T11_05_48_324Z-debug-0.log

But I can successfully start the application with npm run start

@jorgefl0
Copy link

jorgefl0 commented Sep 10, 2024

Hello, I am running into the issue as well. We running npm run we see that the build script is not defined. Is this an issue with the documentation?

npm run
Lifecycle scripts included in [email protected]:
  start
    node --preserve-symlinks dev.js
  test
    npm run lint && npm run test-node
available via `npm run-script`:
  generate:prime256v1
    node ./common/generatePrime256v1Key.js
  generate:rsa256
    node ./common/generateRSA256Key.js
  tunnel
    lt -p 22080
  audit-vp
    node ./test/utils/auditVpToken.js
  lint
    eslint --ext .cjs,.js,.vue .
  preview
    vite preview
  test-node
    cross-env NODE_ENV=test node --trace-warnings --preserve-symlinks test.js test
  test:load
    artillery run ./test/load/artillery.yaml
  test:load:qa
    env-cmd artillery run -e qa ./test/load/artillery.yaml
  validateConfig
    npx ajv-cli validate -d configs/combined.yaml -s configs/combined.schema.json -c ajv-formats --spec=draft7

@mandyvenables
Copy link
Collaborator

@naga-cid @jorgefl0 Upon speaking with the development team, they said the npm build step is not needed. I have created a PR to remove it from the README #10

@mandyvenables
Copy link
Collaborator

PR merged in, closing.

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

3 participants