-
Notifications
You must be signed in to change notification settings - Fork 38
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to install parcel@next without internet access #26
Comments
That's why Which OS are you running? |
@mischnic I'm running windows 10, and get the same error with both CMD and PowerShell. I first got an error from
|
The node-gyp error message isn't very detailed. |
I dug a little deeper, and was able to get What I did:
This seems to work, but I get this error from node-gyp:
I'm not going to investigate any further, since all my co-workers would have to do this in order build the app I'm currently working on if I was to use parcel v2. However, I really hope this will work before parcel v2 is released, otherwise I think we would need to move to another build/bundler tool. |
We should investigate just including the binaries in the npm tarball (regarding file size). |
馃悰 bug report
I'm unable to install
parcel@next
on a computer without internet access.At work, I do most of my work in an air gapped network (i.e. no internet connection). I usually install NPM packages by copying them over to a local NPM registry within our air gapped network, and then installing them as normal (npm/yarn install whatever). This worked for parcel v1, but does no longer work for parcel v2.
馃帥 Configuration (.babelrc, package.json, cli command)
馃 Expected Behavior
Parcel gets installed on the computer.
馃槸 Current Behavior
It stops at the
@parcel/watcher
trying to runprebuild-install -r napi || node-gyp rebuild
. Since the computer doesn't have internet access, prebuild-install fails with an error, and the installation gets cancelled.The text was updated successfully, but these errors were encountered: