Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install dependencies from npm (Windows) #3

Open
mohsentaleb opened this issue Aug 30, 2017 · 0 comments
Open

Cannot install dependencies from npm (Windows) #3

mohsentaleb opened this issue Aug 30, 2017 · 0 comments

Comments

@mohsentaleb
Copy link

Cloned repo and tried to install the dependencies by npm install and seems like there's something wrong with windows modules:

> fontnik@0.4.8 install C:\Users\Administrator\Desktop\font-glyphs\node_modules\fontnik
> node-pre-gyp install --fallback-to-build=false || (source ./scripts/install_mason.sh && node-pre-gyp install --build-from-source)

node-pre-gyp ERR! install error
node-pre-gyp ERR! stack Error: 403 status code downloading tarball https://mapbox-node-binary.s3.amazonaws.com/fontnik/v0.4.8/node-v48-win32-x64.tar.gz
node-pre-gyp ERR! stack     at Request.<anonymous> (C:\Users\Administrator\Desktop\font-glyphs\node_modules\fontnik\node_modules\node-pre-gyp\lib\install.js:98:27)
node-pre-gyp ERR! stack     at emitOne (events.js:101:20)
node-pre-gyp ERR! stack     at Request.emit (events.js:188:7)
node-pre-gyp ERR! stack     at Request.onRequestResponse (C:\Users\Administrator\Desktop\font-glyphs\node_modules\fontnik\node_modules\node-pre-gyp\node_modules\request\request.js:986:10)
node-pre-gyp ERR! stack     at emitOne (events.js:96:13)
node-pre-gyp ERR! stack     at ClientRequest.emit (events.js:188:7)
node-pre-gyp ERR! stack     at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:473:21)
node-pre-gyp ERR! stack     at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23)
node-pre-gyp ERR! stack     at TLSSocket.socketOnData (_http_client.js:362:20)
node-pre-gyp ERR! stack     at emitOne (events.js:96:13)
node-pre-gyp ERR! System Windows_NT 6.2.9200
node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Administrator\\Desktop\\font-glyphs\\node_modules\\fontnik\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build=false"
node-pre-gyp ERR! cwd C:\Users\Administrator\Desktop\font-glyphs\node_modules\fontnik
node-pre-gyp ERR! node -v v6.11.1
node-pre-gyp ERR! node-pre-gyp -v v0.6.31
node-pre-gyp ERR! not ok
403 status code downloading tarball https://mapbox-node-binary.s3.amazonaws.com/fontnik/v0.4.8/node-v48-win32-x64.tar.gz
'source' is not recognized as an internal or external command,
operable program or batch file.
npm WARN font-glyphs No repository field.
npm WARN font-glyphs No license field.
npm ERR! Windows_NT 6.2.9200
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v6.11.1
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE

npm ERR! fontnik@0.4.8 install: `node-pre-gyp install --fallback-to-build=false || (source ./scripts/install_mason.sh && node-pre-gyp install --build-from-source)`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the fontnik@0.4.8 install script 'node-pre-gyp install --fallback-to-build=false || (source ./scripts/install_mason.sh && node-pre-gyp install --build-from-source)'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the fontnik package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-pre-gyp install --fallback-to-build=false || (source ./scripts/install_mason.sh && node-pre-gyp install --build-from-source)
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs fontnik
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls fontnik
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\Administrator\Desktop\font-glyphs\npm-debug.log

When i try to get https://mapbox-node-binary.s3.amazonaws.com/fontnik/v0.4.8/node-v48-win32-x64.tar.gz from browser gives me this response:

<?xml version="1.0" encoding="UTF-8"?>
<Error>
    <Code>AccessDenied</Code>
    <Message>Access Denied</Message>
    <RequestId>2279E292D0D866E7</RequestId>
    <HostId>7pJMd6z/LIt1neGgAiPJAGiQbiiScCZr1ZF8Xi7mUvOE+pwDd+1Z6kNKjBJKOPLaX4kFXZuTr1M=</HostId>
</Error>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant