You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the docs I need to run npm run generate-build-meta but everytime I try, node tells me that it wasnt able to find "./node_modules/react-clear-cache/bin/cli.js"
What I should do to correctly run this cli.js?
By the way, I have the react-clear-cache in my node_modules and I can see the cli.js
This is the message I receive:
It is pretty much saying that '.' is not recognized as an internal command.
The text was updated successfully, but these errors were encountered:
I ran into a similar issue (I am using Windows 10) and I managed to solve it by calling the cli.js file using "prebuild": "node node_modules/react-clear-cache/bin/cli.js"
I also merged prebuild and generate-build-meta into one single script as both were doing the same in my case (I think the purpose of having two scripts is in case you want to add extra steps to the pre-build one).
Now once I run npm run prebuild it will generate a meta.json file into the public folder containing the current version.
I have installed the
react-clear-cache
package and in the docs it says that I need to add a new script to mypackage.json
.This is my package.json scripts:
According to the docs I need to run
npm run generate-build-meta
but everytime I try, node tells me that it wasnt able to find"./node_modules/react-clear-cache/bin/cli.js"
What I should do to correctly run this
cli.js
?By the way, I have the
react-clear-cache
in my node_modules and I can see thecli.js
This is the message I receive:
It is pretty much saying that '.' is not recognized as an internal command.
The text was updated successfully, but these errors were encountered: