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.

Can not build current master

See original GitHub issue

Trying to build the project at b306318d9fdf7230a7f8911db220d8fb21d6f3ed results in this error when using node (v8.9.0)

npm run build:production

> ember-inspector@1.10.0 build:production /Users/pichfl/Repositories/ember-inspector
> ember build --environment production && grunt compress:main clean-tmp build-xpi

module.js:538
    throw err;
    ^

Error: Cannot find module 'internal/util/types'
    at Function.Module._resolveFilename (module.js:536:15)
    at Function.Module._load (module.js:466:25)
    at Module.require (module.js:579:17)
    at require (internal/module.js:11:18)
    at evalmachine.<anonymous>:31:26
    at Object.<anonymous> (/Users/pichfl/Repositories/ember-inspector/node_modules/ember-cli/node_modules/configstore/node_modules/graceful-fs/fs.js:11:1)
    at Module._compile (module.js:635:30)
    at Object.Module._extensions..js (module.js:646:10)
    at Module.load (module.js:554:32)
    at tryModuleLoad (module.js:497:12)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ember-inspector@1.10.0 build:production: `ember build --environment production && grunt compress:main clean-tmp build-xpi`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ember-inspector@1.10.0 build:production script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/pichfl/.npm/_logs/2017-11-15T10_35_01_965Z-debug.log

and in a different error when using node v4.8.6

❯ npm run build:production

> ember-inspector@1.10.0 build:production /Users/pichfl/Repositories/ember-inspector
> ember build --environment production && grunt compress:main clean-tmp build-xpi

Future versions of Ember CLI will not support v4.8.6. Please update to Node 0.12 or io.js.
version: 0.2.0

A new version of ember-cli is available (2.16.2). To install it, type ember update.
invalid watchman found, version: [4.9.0] did not satisfy [^3.0.0], falling back to NodeWatcher
BuildingWarning: failed to stat /Users/pichfl/Repositories/ember-inspector/node_modules/defs/node_modules/yargs/node_modules/.bin/window-size
Build failed.
ENOENT: no such file or directory, scandir 'node_modules/ember-cli-ic-ajax/node_modules/'
Error: ENOENT: no such file or directory, scandir 'node_modules/ember-cli-ic-ajax/node_modules/'
    at Error (native)
    at Object.fs.readdirSync (fs.js:808:18)
    at /Users/pichfl/Repositories/ember-inspector/node_modules/ember-cli/node_modules/broccoli-merge-trees/index.js:32:21
    at Array.map (native)
    at mergeRelativePath (/Users/pichfl/Repositories/ember-inspector/node_modules/ember-cli/node_modules/broccoli-merge-trees/index.js:30:29)
    at /Users/pichfl/Repositories/ember-inspector/node_modules/ember-cli/node_modules/broccoli-merge-trees/index.js:23:5
    at tryCatch (/Users/pichfl/Repositories/ember-inspector/node_modules/rsvp/dist/rsvp.js:525:12)
    at invokeCallback (/Users/pichfl/Repositories/ember-inspector/node_modules/rsvp/dist/rsvp.js:538:13)
    at publish (/Users/pichfl/Repositories/ember-inspector/node_modules/rsvp/dist/rsvp.js:508:7)
    at flush (/Users/pichfl/Repositories/ember-inspector/node_modules/rsvp/dist/rsvp.js:2415:5)
    at nextTickCallbackWith0Args (node.js:489:9)
    at process._tickCallback (node.js:418:13)


npm ERR! Darwin 16.7.0
npm ERR! argv "/Users/pichfl/.nvm/versions/node/v4.8.6/bin/node" "/Users/pichfl/.nvm/versions/node/v4.8.6/bin/npm" "run" "build:production"
npm ERR! node v4.8.6
npm ERR! npm  v2.15.11
npm ERR! code ELIFECYCLE
npm ERR! ember-inspector@1.10.0 build:production: `ember build --environment production && grunt compress:main clean-tmp build-xpi`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ember-inspector@1.10.0 build:production script 'ember build --environment production && grunt compress:main clean-tmp build-xpi'.
npm ERR! This is most likely a problem with the ember-inspector package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     ember build --environment production && grunt compress:main clean-tmp build-xpi
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs ember-inspector
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls ember-inspector
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/pichfl/Repositories/ember-inspector/npm-debug.log

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
teddyzeennycommented, Nov 17, 2017

No worries! Glad it works now 🍻

0reactions
pichflcommented, Nov 17, 2017

@teddyzeenny turns out I had two clones of the Inspector checked out and one was stuck on an ancient commit. (╯°□°)╯︵ ┻━┻

Sorry for the trouble. I checked everything twice but did not realize that Tower points to a different directory than where I was building.

Works now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Master branch won't build after develop branch builds ... - GitHub
My problem currently is of that nature. I can deploy successfully to my develop branch but when I try to deploy on master...
Read more >
Why does my 'git branch' have no master? - Stack Overflow
In my case there was a develop branch but no master branch. Therefore I cloned the repository pointing the newly created HEAD to...
Read more >
TeamCity On-Premises - Working with Feature Branches
If there is no suitable build in the same branch, it will use the build from the default branch and add the respective...
Read more >
Git - Jenkins Plugins
This plugin integrates Git with Jenkins.
Read more >
Fix Git error: you need to resolve your current index first
If the "error: you need to resolve your current index first" message was shown after an attempt to run a git-merge , git-pull...
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