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.

npm install does not run for all scenarios except for the default one

See original GitHub issue

When I run ember try:each, all scenarios are fail because npm install does not actually run. Only the last ember-default scenario runs successfully.

Below is the one of the failure scenario error output:

=== Scenario: ember-release ====================================================


Missing npm packages:
Package: ember-source
  * Specified: https://s3.amazonaws.com/builds.emberjs.com/release/shas/8265f21b26450e78efb857846b1eaccd01ec70e3.tgz
  * Installed: (not installed)

Run `npm install` to install missing dependencies.



Stack Trace and Error Report: /var/folders/9_/y4f4n_cd5ddbzftt3x0rz19w0000gn/T/error.dump.f8c8bc9ad97edb9cd97568c31fd0219e.log
An error occurred in the constructor for ember-cli-dependency-checker at /Users/nightire/Code/very-geek/ember-plyr/node_modules/ember-cli-dependency-checker


Result: false

and the error log:

=================================================================================

ENV Summary:

  TIME: Fri Aug 31 2018 07:57:13 GMT+0800 (China Standard Time)
  TITLE: ember
  ARGV:
  - /usr/local/bin/node
  - /Users/nightire/Code/very-geek/ember-plyr/node_modules/ember-cli/bin/ember
  - exam
  - --split
  - 2
  - --parallel
  EXEC_PATH: /usr/local/bin/node
  TMPDIR: /var/folders/9_/y4f4n_cd5ddbzftt3x0rz19w0000gn/T
  SHELL: /bin/zsh
  PATH:
  - /Users/nightire/Code/very-geek/ember-plyr/node_modules/.bin
  - /Users/nightire/Code/very-geek/node_modules/.bin
  - /Users/nightire/Code/node_modules/.bin
  - /Users/nightire/node_modules/.bin
  - /Users/node_modules/.bin
  - /node_modules/.bin
  - /usr/local/bin
  - /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin
  - /Users/nightire/Code/very-geek/ember-plyr/node_modules/.bin
  - /usr/local/bin
  - /usr/bin
  - /bin
  - /usr/sbin
  - /sbin
  - /usr/local/opt/texinfo/bin
  - /usr/local/opt/sqlite/bin
  - /usr/local/opt/openssl/bin
  - /usr/local/opt/libxml2/bin
  - /usr/local/opt/gettext/bin
  - /usr/local/opt/curl/bin
  - /Users/nightire/.cargo/bin
  - /usr/local/opt/gnu-tar/libexec/gnubin
  - /usr/local/Cellar/zplug/2.4.2/bin
  - /usr/local/sbin
  PLATFORM: darwin x64
  FREEMEM: 4659875840
  TOTALMEM: 17179869184
  UPTIME: 687469
  LOADAVG: 3.220703125,2.568359375,2.4423828125
  CPUS:
  - Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz - 4000
  - Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz - 4000
  - Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz - 4000
  - Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz - 4000
  - Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz - 4000
  - Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz - 4000
  - Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz - 4000
  - Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz - 4000
  ENDIANNESS: LE
  VERSIONS:
  - ares: 1.14.0
  - cldr: 33.1
  - http_parser: 2.8.0
  - icu: 62.1
  - modules: 64
  - napi: 3
  - nghttp2: 1.32.0
  - node: 10.8.0
  - openssl: 1.1.0h
  - tz: 2018e
  - unicode: 11.0
  - uv: 1.22.0
  - v8: 6.7.288.49-node.19
  - zlib: 1.2.11

ERROR Summary:

  - broccoliBuilderErrorStack: [undefined]
  - codeFrame: [undefined]
  - errorMessage: 
Missing npm packages: 
Package: ember-source
  * Specified: https://s3.amazonaws.com/builds.emberjs.com/release/shas/8265f21b26450e78efb857846b1eaccd01ec70e3.tgz
  * Installed: (not installed)

Run `npm install` to install missing dependencies.

  - errorType: [undefined]
  - location:
    - column: [undefined]
    - file: [undefined]
    - line: [undefined]
  - message: 
Missing npm packages: 
Package: ember-source
  * Specified: https://s3.amazonaws.com/builds.emberjs.com/release/shas/8265f21b26450e78efb857846b1eaccd01ec70e3.tgz
  * Installed: (not installed)

Run `npm install` to install missing dependencies.

  - name: DependencyError
  - nodeAnnotation: [undefined]
  - nodeName: [undefined]
  - originalErrorMessage: [undefined]
  - stack: [undefined]

=================================================================================

output of ember version:

λ ember version
ember-cli: 3.3.0
node: 10.8.0
npm: 6.4.0
os: darwin x64

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:15 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
mansonacommented, Feb 13, 2019

@gorner that issue is actually related to https://github.com/ember-cli/ember-try/issues/167 and is hopefully going to be fixed when https://github.com/ember-cli/ember-try/pull/281 is merged and released 👍

1reaction
rwjbluecommented, Dec 20, 2018

ember-data (at the moment) is buildable by pointing directly at the branch on github. ember-source-channel-url only exists because ember-source has a required prebuild step.

Read more comments on GitHub >

github_iconTop Results From Across the Web

There are no scenarios; must have at least one. · Issue #2821 ...
i want use "yarn " in my npm project when run shell " yarn " in the shell, it throw "ERROR: There are...
Read more >
npm install, -force flag - Stack Overflow
does not work. I have to change back to the default main and back again. "dependencies": { "@custom-dependancy/one ...
Read more >
npm-install - npm Docs
Description. This command installs a package and any packages that it depends on. If the package has a package-lock, or an npm shrinkwrap...
Read more >
What Really Gets Packaged?. Including and excluding files in ...
Scenario 3: Using the .npmignore file. We definitely don't want every other file and folder to be included in the npm package for...
Read more >
Manage npm packages - Visual Studio (Windows)
Open package manager from Solution Explorer. Next, you can search for npm packages, select one, and install by selecting Install Package.
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