Closed oscaramos closed 1 year ago
When I run the command npm run dev on Windows it shows the error:
npm run dev
Unexpected value for script: ["run","build'","build/index.js"] (expected string)
It is related to this line on the package.json:
"dev": "miniflare --build-watch-path src --build-command 'npm run build' --wrangler-config wrangler.local.toml --kv SHORTEN --kv-persist --modules build/index.js",
The way to solve is by replacing the 'npm run build' to \"npm run build\"
'npm run build'
\"npm run build\"
I was not able to test if the change would break on other operative systems or even if it was only my computer
When I run the command
npm run dev
on Windows it shows the error:It is related to this line on the package.json:
The way to solve is by replacing the
'npm run build'
to\"npm run build\"
I was not able to test if the change would break on other operative systems or even if it was only my computer