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
I was following instructions in here, so I could install packages on a machine with no internet access.
The steps I've made:
On a machine with internet access
I've set up both yarn-offline-mirror and yarn-offline-mirror-pruning. yarn-offline-mirror was set to an absolute path.
I've deleted yarn.lock file
I've executed yarn install
The result is the offline mirror folder was populated with the packages I use in the project
On a machine with no internet access
I've cloned the main repo with the project
I've cloned the repo with the packages (offline mirror)
I've set yarn-offline-mirror pointing to a folder from the previous step
I've executed yarn cache clean
I've executed yarn install --offline
The result is that yarn is unable to install with the following error: [1/4] Resolving packages... [2/4] Fetching packages... error Can't make a request in offline mode ("https://registry.npm.taobao.org/@babel/plugin-syntax-dynamic-import/download/@babel/plugin-syntax-dynamic-import-7.8.3.tgz?cache=0&sync_timestamp=1578950368021&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-syntax-dynamic-import%2Fdownload%2F%40babel%2Fplugin-syntax-dynamic-import-7.8.3.tgz") info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
No matter what I do, I can't make it work on any machine I've tried.
I was following instructions in here, so I could install packages on a machine with no internet access.
The steps I've made:
yarn-offline-mirror
andyarn-offline-mirror-pruning
.yarn-offline-mirror
was set to an absolute path.yarn install
The result is the offline mirror folder was populated with the packages I use in the project
yarn-offline-mirror
pointing to a folder from the previous stepyarn cache clean
yarn install --offline
The result is that yarn is unable to install with the following error:
[1/4] Resolving packages... [2/4] Fetching packages... error Can't make a request in offline mode ("https://registry.npm.taobao.org/@babel/plugin-syntax-dynamic-import/download/@babel/plugin-syntax-dynamic-import-7.8.3.tgz?cache=0&sync_timestamp=1578950368021&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-syntax-dynamic-import%2Fdownload%2F%40babel%2Fplugin-syntax-dynamic-import-7.8.3.tgz") info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
No matter what I do, I can't make it work on any machine I've tried.
Environment
NodeJS v16.13.0
Yarn v1.22.0
OS: Windows 10 Enterprise (Version 19043)
The text was updated successfully, but these errors were encountered: