WIndow 10 Installation Problem


I’m installing F7 on Windows 10.

I’ve run the following:
npm install framework7
npm install -g cordova
npm install -g framework7-cli

I’ve added C:\Users\xxx\AppData\Roaming\npm\node_modules; to my PATH

When I try to run
framework7 create
I get:
‘framework7’ is not recognized as an internal or external command,
operable program or batch file.

Any help appreciated.

Make sure you have installed latest Node with NPM

Thanks for the suggestion, I currently have:

node v12.16.1

npm v6.14.4

which I believe are the latest.

Are you running the command prompt with Administrator privilidges?

Thank you - I wasn’t, but now running as admin, when running “Framework7 create” I get:

Something went wrong installing the “sharp” module

Module did not self-register: ‘\?\C:\Users\xxx\AppData\Roaming\npm\node_modules\framework7-cli\node_modules\sharp\build\Release\sharp.node’.

I’ve followed the instructions, removed the “node_modules/sharp” directory, and run “npm install” and checked the installation documentation but the problem persists.

npm --versions gives:
MyAppName: ‘1.0.0’,
npm: ‘6.14.4’,
ares: ‘1.15.0’,
brotli: ‘1.0.7’,
cldr: ‘35.1’,
http_parser: ‘2.9.3’,
icu: ‘64.2’,
llhttp: ‘2.0.4’,
modules: ‘72’,
napi: ‘5’,
nghttp2: ‘1.40.0’,
node: ‘12.16.1’,
openssl: ‘1.1.1d’,
tz: ‘2019c’,
unicode: ‘12.1’,
uv: ‘1.34.0’,
v8: ‘’,
zlib: ‘1.2.11’

node --version gives: