Closed LouiseReid closed 4 years ago
Where are you running the autotrack command from? The command line? That error sounds like it's not on your path. You probably need to either:
npm install -g autotrack
...
scripts: {
"autotrack": "autotrack -o autotrack.js -p cleanUrlTracker"
}
...
yarn run autotrack -o autotrack.js -p cleanUrlTracker
Thanks @diminishedprime
I'm trying to create a custom autotrack.js file to only include the bundled code for clean url tracker by running this command
autotrack -o autotrack.js -p cleanUrlTracker
my package.json has autotrack listed as a dependency
but I get
command not found : autotrack
. What am I doing wrong?