question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

error Couldn't find any versions for "@babel/helper-wrap-function" that matches "^7.10.4"

See original GitHub issue

Current Behavior

The application is not created.

Expected Behavior

The creation of the application.

Steps to Reproduce

cd ~

rm -rf ./nx-architecture-workshop-playground

npx \
	create-nx-workspace@^9.5 \
		nx-architecture-workshop-playground \
			--npm-scope=my-scope \
			--cli=angular \
			--interactive=false \
			--preset=empty \
			--style=scss \
			--skipGit=true \
			--nx-cloud=false

cd nx-architecture-workshop-playground

yarn add @nrwl/angular@^9.5

yarn \
	run \
		nx \
			generate \
				@nrwl/angular:application \
					my-app \
						--directory=my-wrapper \
						--e2e-test-runner=cypress \
						--interactive=false \
						--routing=true \
						--style=scss \
						--unit-test-runner=jest

Failure Logs

npx: installed 197 in 17.862s
Creating a sandbox with Nx...
warning @angular/cli > universal-analytics > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
new nx-architecture-workshop-playground "--npm-scope=my-scope" "--skipGit=true" --preset="empty" --interactive=false --collection=@nrwl/workspace
CREATE nx-architecture-workshop-playground/nx.json (468 bytes)
CREATE nx-architecture-workshop-playground/tsconfig.json (475 bytes)
CREATE nx-architecture-workshop-playground/README.md (3489 bytes)
CREATE nx-architecture-workshop-playground/.editorconfig (245 bytes)
CREATE nx-architecture-workshop-playground/.gitignore (503 bytes)
CREATE nx-architecture-workshop-playground/.prettierignore (74 bytes)
CREATE nx-architecture-workshop-playground/.prettierrc (25 bytes)
CREATE nx-architecture-workshop-playground/angular.json (90 bytes)
CREATE nx-architecture-workshop-playground/package.json (1160 bytes)
CREATE nx-architecture-workshop-playground/decorate-angular-cli.js (2990 bytes)
CREATE nx-architecture-workshop-playground/tools/tsconfig.tools.json (204 bytes)
CREATE nx-architecture-workshop-playground/tools/schematics/.gitkeep (0 bytes)
CREATE nx-architecture-workshop-playground/apps/.gitkeep (0 bytes)
CREATE nx-architecture-workshop-playground/libs/.gitkeep (0 bytes)
βœ” Packages installed successfully.

β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”


>  NX   NOTE  Nx CLI is not installed globally.

  This means that you might have to use "yarn nx" or "npm nx" to execute commands in the workspace.
  Run "yarn global add @nrwl/cli" or "npm install -g @nrwl/cli" to be able to execute command directly.

yarn add v1.21.1
[1/4] Resolving packages...
Couldn't find any versions for "@babel/helper-wrap-function" that matches "^7.10.4"
? Please choose a version of "@babel/helper-wrap-function" from this list: (Use arrow keys)
❯ 7.10.1 
  7.8.3 
  7.8.0 
? Please choose a version of "@babel/helper-wrap-function" from this list: 7.10.1
[2/4] Fetching packages...
info fsevents@2.1.3: The platform "linux" is incompatible with this module.
info "fsevents@2.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > @nrwl/angular@9.5.0" has unmet peer dependency "tslib@^1.10.0".
warning "@nrwl/angular > jasmine-marbles@0.6.0" has unmet peer dependency "rxjs@^6.4.0".
warning "@nrwl/angular > @nrwl/cypress@9.5.0" has unmet peer dependency "cypress@>= 3 < 5".
warning "@nrwl/angular > @nrwl/cypress > @cypress/webpack-preprocessor@4.1.5" has unmet peer dependency "webpack@^4.18.1".
warning "@nrwl/angular > @nrwl/cypress > @cypress/webpack-preprocessor > babel-loader@8.1.0" has unmet peer dependency "webpack@>=2".[4/4] Building fresh packages...
success Saved lockfile.success Saved 176 new dependencies.
info Direct dependencies
└─ @nrwl/angular@9.5.0
info All dependencies
β”œβ”€ @babel/compat-data@7.10.4
β”œβ”€ @babel/core@7.10.4
β”œβ”€ @babel/helper-builder-binary-assignment-operator-visitor@7.10.4
β”œβ”€ @babel/helper-compilation-targets@7.10.4
β”œβ”€ @babel/helper-define-map@7.10.4
β”œβ”€ @babel/helper-explode-assignable-expression@7.10.4
β”œβ”€ @babel/helper-function-name@7.10.4
β”œβ”€ @babel/helper-hoist-variables@7.10.4
β”œβ”€ @babel/helper-wrap-function@7.10.1
β”œβ”€ @babel/helpers@7.10.4
β”œβ”€ @babel/plugin-proposal-async-generator-functions@7.10.4
β”œβ”€ @babel/plugin-proposal-class-properties@7.10.4
β”œβ”€ @babel/plugin-proposal-dynamic-import@7.10.4
β”œβ”€ @babel/plugin-proposal-json-strings@7.10.4
β”œβ”€ @babel/plugin-proposal-nullish-coalescing-operator@7.10.4
β”œβ”€ @babel/plugin-proposal-numeric-separator@7.10.4
β”œβ”€ @babel/plugin-proposal-object-rest-spread@7.10.4
β”œβ”€ @babel/plugin-proposal-optional-catch-binding@7.10.4
β”œβ”€ @babel/plugin-proposal-optional-chaining@7.10.4
β”œβ”€ @babel/plugin-proposal-private-methods@7.10.4
β”œβ”€ @babel/plugin-proposal-unicode-property-regex@7.10.4
β”œβ”€ @babel/plugin-syntax-class-properties@7.10.4
β”œβ”€ @babel/plugin-syntax-numeric-separator@7.10.4
β”œβ”€ @babel/plugin-syntax-top-level-await@7.10.4
β”œβ”€ @babel/plugin-transform-arrow-functions@7.10.4
β”œβ”€ @babel/plugin-transform-async-to-generator@7.10.4
β”œβ”€ @babel/plugin-transform-block-scoped-functions@7.10.4
β”œβ”€ @babel/plugin-transform-block-scoping@7.10.4
β”œβ”€ @babel/plugin-transform-classes@7.10.4
β”œβ”€ @babel/plugin-transform-computed-properties@7.10.4
β”œβ”€ @babel/plugin-transform-destructuring@7.10.4
β”œβ”€ @babel/plugin-transform-dotall-regex@7.10.4
β”œβ”€ @babel/plugin-transform-duplicate-keys@7.10.4
β”œβ”€ @babel/plugin-transform-exponentiation-operator@7.10.4
β”œβ”€ @babel/plugin-transform-for-of@7.10.4
β”œβ”€ @babel/plugin-transform-function-name@7.10.4
β”œβ”€ @babel/plugin-transform-literals@7.10.4
β”œβ”€ @babel/plugin-transform-member-expression-literals@7.10.4
β”œβ”€ @babel/plugin-transform-modules-amd@7.10.4
β”œβ”€ @babel/plugin-transform-modules-commonjs@7.10.4
β”œβ”€ @babel/plugin-transform-modules-systemjs@7.10.4
β”œβ”€ @babel/plugin-transform-modules-umd@7.10.4
β”œβ”€ @babel/plugin-transform-named-capturing-groups-regex@7.10.4
β”œβ”€ @babel/plugin-transform-new-target@7.10.4
β”œβ”€ @babel/plugin-transform-object-super@7.10.4
β”œβ”€ @babel/plugin-transform-parameters@7.10.4
β”œβ”€ @babel/plugin-transform-property-literals@7.10.4
β”œβ”€ @babel/plugin-transform-regenerator@7.10.4
β”œβ”€ @babel/plugin-transform-reserved-words@7.10.4
β”œβ”€ @babel/plugin-transform-shorthand-properties@7.10.4
β”œβ”€ @babel/plugin-transform-spread@7.10.4
β”œβ”€ @babel/plugin-transform-sticky-regex@7.10.4
β”œβ”€ @babel/plugin-transform-template-literals@7.10.4
β”œβ”€ @babel/plugin-transform-typeof-symbol@7.10.4
β”œβ”€ @babel/plugin-transform-unicode-escapes@7.10.4
β”œβ”€ @babel/plugin-transform-unicode-regex@7.10.4
β”œβ”€ @babel/preset-env@7.10.3
β”œβ”€ @babel/preset-modules@0.1.3
β”œβ”€ @babel/runtime@7.10.4
β”œβ”€ @babel/template@7.10.4
β”œβ”€ @babel/traverse@7.10.4
β”œβ”€ @babel/types@7.10.4
β”œβ”€ @cypress/webpack-preprocessor@4.1.5
β”œβ”€ @nrwl/angular@9.5.0
β”œβ”€ @nrwl/cypress@9.5.0
β”œβ”€ @nrwl/jest@9.5.0
β”œβ”€ @types/json-schema@7.0.5
β”œβ”€ @types/json5@0.0.29
β”œβ”€ ajv-keywords@3.5.0
β”œβ”€ anymatch@3.1.1
β”œβ”€ arr-flatten@1.1.0
β”œβ”€ assign-symbols@1.0.0
β”œβ”€ atob@2.1.2
β”œβ”€ babel-code-frame@6.26.0
β”œβ”€ babel-loader@8.1.0
β”œβ”€ base@0.11.2
β”œβ”€ big.js@5.2.2
β”œβ”€ binary-extensions@2.1.0
β”œβ”€ bluebird@3.7.1
β”œβ”€ braces@2.3.2
β”œβ”€ browserslist@4.12.2
β”œβ”€ cache-base@1.0.1
β”œβ”€ caniuse-lite@1.0.30001090
β”œβ”€ chokidar@3.4.0
β”œβ”€ class-utils@0.3.6
β”œβ”€ collection-visit@1.0.0
β”œβ”€ commondir@1.0.1
β”œβ”€ convert-source-map@1.7.0
β”œβ”€ copy-descriptor@0.1.1
β”œβ”€ core-js-compat@3.6.5
β”œβ”€ decode-uri-component@0.2.0
β”œβ”€ electron-to-chromium@1.3.483
β”œβ”€ emojis-list@3.0.0
β”œβ”€ errno@0.1.7
β”œβ”€ escalade@3.0.1
β”œβ”€ expand-brackets@2.1.4
β”œβ”€ extglob@2.0.4
β”œβ”€ fill-range@4.0.0
β”œβ”€ find-cache-dir@2.1.0
β”œβ”€ for-in@1.0.2
β”œβ”€ fork-ts-checker-webpack-plugin@3.1.1
β”œβ”€ gensync@1.0.0-beta.1
β”œβ”€ get-value@2.0.6
β”œβ”€ has-ansi@2.0.0
β”œβ”€ has-value@1.0.0
β”œβ”€ is-accessor-descriptor@1.0.0
β”œβ”€ is-binary-path@2.1.0
β”œβ”€ is-data-descriptor@1.0.0
β”œβ”€ is-descriptor@1.0.2
β”œβ”€ is-plain-object@2.0.4
β”œβ”€ is-windows@1.0.2
β”œβ”€ isarray@1.0.0
β”œβ”€ jasmine-marbles@0.6.0
β”œβ”€ jsesc@2.5.2
β”œβ”€ json5@1.0.1
β”œβ”€ kind-of@3.2.2
β”œβ”€ leven@3.1.0
β”œβ”€ loader-utils@1.4.0
β”œβ”€ loose-envify@1.4.0
β”œβ”€ make-dir@2.1.0
β”œβ”€ map-visit@1.0.0
β”œβ”€ memory-fs@0.5.0
β”œβ”€ microevent.ts@0.1.1
β”œβ”€ micromatch@3.1.10
β”œβ”€ mixin-deep@1.3.2
β”œβ”€ nanomatch@1.2.13
β”œβ”€ node-releases@1.1.58
β”œβ”€ normalize-path@3.0.0
β”œβ”€ object-copy@0.1.0
β”œβ”€ pascalcase@0.1.1
β”œβ”€ picomatch@2.2.2
β”œβ”€ pkg-dir@3.0.0
β”œβ”€ posix-character-classes@0.1.1
β”œβ”€ private@0.1.8
β”œβ”€ process-nextick-args@2.0.1
β”œβ”€ prr@1.0.1
β”œβ”€ readable-stream@2.3.7
β”œβ”€ readdirp@3.4.0
β”œβ”€ regenerate-unicode-properties@8.2.0
β”œβ”€ regenerator-runtime@0.13.5
β”œβ”€ regenerator-transform@0.14.4
β”œβ”€ regexpu-core@4.7.0
β”œβ”€ regjsgen@0.5.2
β”œβ”€ regjsparser@0.6.4
β”œβ”€ repeat-element@1.1.3
β”œβ”€ resolve-url@0.2.1
β”œβ”€ ret@0.1.15
β”œβ”€ safe-buffer@5.1.2
β”œβ”€ schema-utils@2.7.0
β”œβ”€ set-value@2.0.1
β”œβ”€ snapdragon-node@2.1.1
β”œβ”€ snapdragon-util@3.0.1
β”œβ”€ source-map-resolve@0.5.3
β”œβ”€ source-map-url@0.4.0
β”œβ”€ source-map@0.5.7
β”œβ”€ split-string@3.1.0
β”œβ”€ static-extend@0.1.2
β”œβ”€ string_decoder@1.1.1
β”œβ”€ to-fast-properties@2.0.0
β”œβ”€ to-object-path@0.3.0
β”œβ”€ to-regex-range@2.1.1
β”œβ”€ tree-kill@1.2.2
β”œβ”€ ts-loader@5.4.5
β”œβ”€ tsconfig-paths-webpack-plugin@3.2.0
β”œβ”€ tsconfig-paths@3.9.0
β”œβ”€ unicode-canonical-property-names-ecmascript@1.0.4
β”œβ”€ unicode-match-property-ecmascript@1.0.4
β”œβ”€ unicode-match-property-value-ecmascript@1.2.0
β”œβ”€ unicode-property-aliases-ecmascript@1.1.0
β”œβ”€ union-value@1.0.1
β”œβ”€ unset-value@1.0.0
β”œβ”€ urix@0.1.0
β”œβ”€ use@3.1.1
β”œβ”€ util-deprecate@1.0.2
β”œβ”€ webpack-node-externals@1.7.2
└─ worker-rpc@0.1.1
$ node ./decorate-angular-cli.js

>  NX  Angular CLI has been decorated to enable computation caching.

Done in 92.29s.
yarn run v1.21.1
$ nx generate @nrwl/angular:application my-app --directory=my-wrapper --e2e-test-runner=cypress --interactive=false --routing=true --style=scss --unit-test-runner=jest
CREATE jest.config.js (252 bytes)
CREATE tslint.json (2311 bytes)
CREATE apps/my-wrapper/my-app/tsconfig.json (100 bytes)
CREATE apps/my-wrapper/my-app/src/favicon.ico (15086 bytes)
CREATE apps/my-wrapper/my-app/browserslist (429 bytes)
CREATE apps/my-wrapper/my-app/tsconfig.app.json (166 bytes)
CREATE apps/my-wrapper/my-app/tslint.json (256 bytes)
CREATE apps/my-wrapper/my-app/src/index.html (335 bytes)
CREATE apps/my-wrapper/my-app/src/main.ts (377 bytes)
CREATE apps/my-wrapper/my-app/src/polyfills.ts (2833 bytes)
CREATE apps/my-wrapper/my-app/src/styles.scss (80 bytes)
CREATE apps/my-wrapper/my-app/src/assets/.gitkeep (0 bytes)
CREATE apps/my-wrapper/my-app/src/environments/environment.prod.ts (52 bytes)
CREATE apps/my-wrapper/my-app/src/environments/environment.ts (663 bytes)
CREATE apps/my-wrapper/my-app/src/app/app.module.ts (419 bytes)
CREATE apps/my-wrapper/my-app/src/app/app.component.scss (2088 bytes)
CREATE apps/my-wrapper/my-app/src/app/app.component.html (3017 bytes)
CREATE apps/my-wrapper/my-app/src/app/app.component.spec.ts (1024 bytes)
CREATE apps/my-wrapper/my-app/src/app/app.component.ts (220 bytes)
CREATE apps/my-wrapper/my-app/jest.config.js (357 bytes)
CREATE apps/my-wrapper/my-app/tsconfig.spec.json (236 bytes)
CREATE apps/my-wrapper/my-app/src/test-setup.ts (30 bytes)
CREATE apps/my-wrapper/my-app-e2e/tslint.json (100 bytes)
CREATE apps/my-wrapper/my-app-e2e/cypress.json (418 bytes)
CREATE apps/my-wrapper/my-app-e2e/tsconfig.e2e.json (191 bytes)
CREATE apps/my-wrapper/my-app-e2e/tsconfig.json (140 bytes)
CREATE apps/my-wrapper/my-app-e2e/src/fixtures/example.json (80 bytes)
CREATE apps/my-wrapper/my-app-e2e/src/integration/app.spec.ts (404 bytes)
CREATE apps/my-wrapper/my-app-e2e/src/plugins/index.js (832 bytes)
CREATE apps/my-wrapper/my-app-e2e/src/support/app.po.ts (47 bytes)
CREATE apps/my-wrapper/my-app-e2e/src/support/commands.ts (1068 bytes)
CREATE apps/my-wrapper/my-app-e2e/src/support/index.ts (599 bytes)
UPDATE angular.json (4156 bytes)
UPDATE package.json (2045 bytes)
UPDATE nx.json (641 bytes)
β ¦ Installing packages...warning Lockfile has incorrect entry for "@babel/helper-wrap-function@^7.10.4". Ignoring it.
error Couldn't find any versions for "@babel/helper-wrap-function" that matches "^7.10.4"
βœ– Package install failed, see above.
The Schematic workflow failed. See above.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Environment

> yarn run nx report
yarn run v1.21.1
$ nx report

>  NX  Report complete - copy this into the issue template

  @nrwl/angular : 9.5.0
  @nrwl/cli : 9.5.0
  @nrwl/cypress : 9.5.0
  @nrwl/eslint-plugin-nx : Not Found
  @nrwl/express : Not Found
  @nrwl/jest : 9.5.0
  @nrwl/linter : Not Found
  @nrwl/nest : Not Found
  @nrwl/next : Not Found
  @nrwl/node : Not Found
  @nrwl/react : Not Found
  @nrwl/schematics : Not Found
  @nrwl/tao : 9.5.0
  @nrwl/web : Not Found
  @nrwl/workspace : 9.5.0
  typescript : 3.8.3

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
iglcommented, Jun 30, 2020

https://github.com/babel/babel/issues/11766 i suspect npm was at fault here

0reactions
hadrien-tomacommented, Jun 30, 2020

Thank you for the link to this issue, I assume we can close this one. Feel free to re-open if it reveals to not be on NPM side.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No matching version found for @babel/helper-validator- ...
Try uninstalling angular/cli and installing again: Do the same to babel package, try to uninstall it and install again.
Read more >
Npm package installation error on other partition
I have a Win7 and Manjaroi3 dual boot. Is there a way to fix this? Couldn't run npm run on ntfs partition.
Read more >
@babel/core - NPM Package Versions - Socket
Babel compiler core. Version: 7.9.6 was published by nicolo-ribaudo. Start using Socket to analyze @babel/core and its 16 dependencies to secure your appΒ ......
Read more >
Open Source Used In Assist 3.3
questions or wish to receive a copy of any source code to which you may be entitled under ... 1.1133 @babel/helper-get-function-arity 7.10.4.
Read more >
Dependencies | nuxt | npm
arrow_right @nuxt/babel‑preset‑app. 2.15.7 Notes Relation Licenses Version 2.15.7 Published June 14, 2021 Description arrow_right @nuxt/builder. 2.15.7 Notes Relation Licenses Version 2.15.7 Published June 14, 2021
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found