stalniy / casl-aurelia-example

Example of CASL and Aurelia integration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

windows 10 install

johntom opened this issue · comments

I wanted to test your sample app but it fails on npm install.
PS D:\Frameworks\casl-aurelia-example> nvm use 11.10.0
Now using node v11.10.0 (64-bit)

PS D:\Frameworks\casl-aurelia-example> npm install -g aurelia-cli
C:\Program Files\nodejs\aurelia -> C:\Program Files\nodejs\node_modules\aurelia-cli\bin\aurelia-cli.js
C:\Program Files\nodejs\au -> C:\Program Files\nodejs\node_modules\aurelia-cli\bin\aurelia-cli.js
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules\aurelia-cli\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

+ aurelia-cli@1.2.3
removed 3 packages and updated 18 packages in 25.761s
PS D:\Frameworks\casl-aurelia-example> npm install
npm ERR! code 1
npm ERR! Command failed: git checkout 4.0
npm ERR! error: pathspec '4.0' did not match any file(s) known to git
npm ERR!

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\19177\AppData\Roaming\npm-cache\_logs\2020-01-05T16_31_16_817Z-debug.log
PS D:\Frameworks\casl-aurelia-example>

Hi,

Thanks. I’ll check it

Updated libraries, and tested now it should work.

Updated: also changed how to run app. Now just do npm ci and then npm start. No need to install aurelia-cli globally