Get help with testing, discuss unit testing strategies etc.


Post by TikiHardBop »

I'm trying to run the tutorial involved with the event recorder as seen here:
https://bryntum.com/docs/siesta/#!/guide/event_recorder

I do the npm install command and I'm getting errors that look like it is having issues finding Python. I have the latest version of Python installed on my machine at c:\Python38. The PATH environment variable points there and c:\Python38\Scripts. I'm attaching the log of what I see on the screen and the other log that it says to look at under AppData.

Let me know if there is anything more I need to do on my end.

Attachments
2020-06-01T19_05_55_286Z-debug.log
(360.4 KiB) Downloaded 246 times
Log.txt
(7.99 KiB) Downloaded 239 times

Post by nickolay »

Hi,

This error appears because npm is trying to build the node-saas module, which is regularly installed by downloading the pre-built binary.

It seems the node-saas maintainers has removed the old version from the github.

Long story short, try upgrading the "node-sass-chokidar" dependency to the latest (package.json in the example folder):

node-sass-chokidar": "^1.4.0",

Post by TikiHardBop »

That seems to have done it!

Unfortunately, the very next step is to execute: npm start-siesta

Here is the result:

npm start-siesta
Usage: npm <command>

where <command> is one of:
access, adduser, audit, bin, bugs, c, cache, ci, cit,
clean-install, clean-install-test, completion, config,
create, ddp, dedupe, deprecate, dist-tag, docs, doctor,
edit, explore, fund, get, help, help-search, hook, i, init,
install, install-ci-test, install-test, it, link, list, ln,
login, logout, ls, org, outdated, owner, pack, ping, prefix,
profile, prune, publish, rb, rebuild, repo, restart, root,
run, run-script, s, se, search, set, shrinkwrap, star,
stars, start, stop, t, team, test, token, tst, un,
uninstall, unpublish, unstar, up, update, v, version, view,
whoami

npm <command> -h quick help on <command>
npm -l display full usage info
npm help <term> search for help on <term>
npm help npm involved overview

Specify configs in the ini-formatted file:
C:\Users\George Jenkins\.npmrc
or on the command line via: npm <command> --key value
Config info can be viewed via: npm help config

npm@6.14.4 C:\Program Files\nodejs\node_modules\npm

And if any Bryntum folks are reading this, the path to the example is incorrect.


Post by nickolay »

Oh, thats a typo, should be npm run start-siesta. I'll update the docs.


Post Reply