Get help with testing, discuss unit testing strategies etc.


Post by altaqaf »

Steps :
1- I downloaded trail version and installed Node.JS to access NPM
2- Wrote following commands
C:\Users\Nabeel>npm install
npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\Nabeel\package.json'
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\Nabeel\package.json'
npm WARN Nabeel No description
npm WARN Nabeel No repository field.
npm WARN Nabeel No README data
npm WARN Nabeel No license field.

audited 6 packages in 1.615s
found 0 vulnerabilities
3- then run this command
C:\Users\Nabeel>npm start-siesta

Or anyone can help out me to get installed and accessed properly

Post by nickolay »

Hi,

You don't need to run `npm install` for Siesta trial - dependencies are already included. For getting started guides, please consult the documentation: https://www.bryntum.com/docs/siesta/#

Post by altaqaf »

Microsoft Windows [Version 10.0.18362.418]
(c) 2019 Microsoft Corporation. All rights reserved.

C:\Users\Nabeel>node -v
v12.13.0

C:\Users\Nabeel>npm -v
6.12.0

C:\Users\Nabeel>npm install siesta-lite --save-dev
npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\Nabeel\package.json'
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\Nabeel\package.json'
npm WARN Nabeel No description
npm WARN Nabeel No repository field.
npm WARN Nabeel No README data
npm WARN Nabeel No license field.

+ siesta-lite@5.3.0
added 326 packages from 162 contributors and audited 666 packages in 38.312s
found 4 vulnerabilities (1 moderate, 2 high, 1 critical)
run `npm audit fix` to fix them, or `npm audit` for details

C:\Users\Nabeel>
Can you confirm if am following right steps

Post by nickolay »

It seems you are trying to install "siesta-lite" outside of any package - thats not how `npm` works. To install siesta-lite, you need to be in the directory of some package (directory with "package.json").

Post Reply