mehthaf
1
ionic sass cannot download . beacuse of this app apk build getting corrupted
Cannot download “https://github.com/sass/node-sass/releases/download/v3.13.1/win32-x64-57_binding.node”
HTTP error 404 Not Found
Hint: If github.com is not accessible in your location
try setting a proxy via HTTP_PROXY, e.g.
export HTTP_PROXY=http://example.com:1234
or configure npm proxy via
npm config set proxy http://example.com:8080
Hi,
did you solve this problem?
I have a similar error:
C:\myapp\ionic>npm install
> node-sass@4.11.0 install C:\myapp\node_modules\node-sass
> node scripts/install.js
Downloading binary from https://github.com/sass/node-sass/releases/download/v4.11.0/win32-x64-72_binding.node
Cannot download "https://github.com/sass/node-sass/releases/download/v4.11.0/win32-x64-72_binding.node":
And I’ve seen that on Github the last version is:
https://github.com/sass/node-sass/releases/download/v4.11.0/win32-x64-57_binding.node
How can I change the required sass version?
Claudio
I’ve solved.
I don’t know why the app had a reference to npm into the file package.json.
So I have:
- removed the reference to npm from the package.json file (editing the fie),
- removed the directory node_modules,
- removed the file package-lock.json,
- run again "npm install".
>npm install
> node-sass@4.13.1 install C:\myapp\node_modules\node-sass
> node scripts/install.js
Downloading binary from https://github.com/sass/node-sass/releases/download/v4.13.1/win32-x64-72_binding.node
Download complete ] - :
Binary saved to C:\myapp\ionic\node_modules\node-sass\vendor\win32-x64-72\binding.node
Caching binary to C:\Users\claudio\AppData\Roaming\npm-cache\node-sass\4.13.1\win32-x64-72_binding.node
> node-sass@4.13.1 postinstall C:\myapp\ionic\node_modules\node-sass
> node scripts/build.js
Binary found at C:\myappionic\node_modules\node-sass\vendor\win32-x64-72\binding.node
Testing binary
Binary is fine
Now it downloads the file:
https://github.com/sass/node-sass/releases/download/v4.13.1/win32-x64-72_binding.node
that exists and not the file:
https://github.com/sass/node-sass/releases/download/v4.11.0/win32-x64-72_binding.node
that doesn’t exist.
Claudio