I am attempting to use animotion on a windows 11 machine, when I run the npx @animotion/create command, I am prompted to install pnpm using the -g flag and yet, it still fails to install.
Find attached an example log of the output.
npm WARN config global --global, --local are deprecated. Use --location=global instead.
┌ Welcome to Animotion!
│
◇ Where should I create your project?
│ (press Enter to use the current directory)
│
◇ Directory not empty. Continue?
│ Yes
│
◇ Install dependencies? (requires pnpm)
│ Yes
│
◓ Installing dependencies...
If I attempt to install it using npm i, I get the following error:
npm WARN config global --global, --local are deprecated. Use --location=global instead.
npm WARN ERESOLVE overriding peer dependency
npm WARN ERESOLVE overriding peer dependency
npm WARN ERESOLVE overriding peer dependency
npm ERR! Cannot read properties of null (reading 'matches')
npm ERR! A complete log of this run can be found in:
npm ERR! ---User path to log file---
Sorry about opening this issue, was tinkering with it yesterday and today was able to fix it. It seems you need administrator permissions to run these commands
I am attempting to use animotion on a windows 11 machine, when I run the
npx @animotion/create
command, I am prompted to installpnpm
using the -g flag and yet, it still fails to install.Find attached an example log of the output.
npm WARN config global
--global
,--local
are deprecated. Use--location=global
instead.┌ Welcome to Animotion! │ ◇ Where should I create your project? │ (press Enter to use the current directory) │ ◇ Directory not empty. Continue? │ Yes │ ◇ Install dependencies? (requires pnpm) │ Yes │ ◓ Installing dependencies...
If I attempt to install it using
npm i
, I get the following error:npm WARN config global
--global
,--local
are deprecated. Use--location=global
instead. npm WARN ERESOLVE overriding peer dependency npm WARN ERESOLVE overriding peer dependency npm WARN ERESOLVE overriding peer dependency npm ERR! Cannot read properties of null (reading 'matches')npm ERR! A complete log of this run can be found in: npm ERR! ---User path to log file---