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.

1.3.0 causes Ember builds to fail

See original GitHub issue
Error: Cannot find module '{module_name}' from '{project_path}' with extension in [".js"]
    at Function.module.exports [as sync] ({project_path}/resolve/lib/sync.js:38:15)

Related issue on Ember-CLI: https://github.com/ember-cli/ember-cli/issues/6807

Issue Analytics

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

github_iconTop GitHub Comments

3reactions
zsoltvadcommented, Feb 24, 2017

Same issue appeared for angular-cli.

[1] Cannot find module '@types/cucumber' from '{project_path}' with extension in [".js"]
[1] Error: Cannot find module '@types/cucumber' from '{project_path}' with extension in [".js"]
[1]     at Function.module.exports [as sync] ({project_path}\node_modules\resolve\lib\sync.js:38:15)
[1]     at AddonDiscovery.resolvePackage ({project_path}\node_modules\angular-cli\lib\models\addon-discovery.js:136:35)
[1]     at AddonDiscovery.<anonymous> ({project_path}\node_modules\angular-cli\lib\models\addon-discovery.js:111:28)
[1]     at Array.map (native)
[1]     at AddonDiscovery.discoverFromDependencies ({project_path}\node_modules\angular-cli\lib\models\addon-discovery.js:109:68)
[1]     at AddonDiscovery.discoverProjectAddons ({project_path}\node_modules\angular-cli\lib\models\addon-discovery.js:48:29)
[1]     at Project.discoverAddons ({project_path}\node_modules\angular-cli\lib\models\project.js:353:40)
[1]     at Project.initializeAddons ({project_path}\node_modules\angular-cli\lib\models\project.js:372:8)
[1]     at Project.eachAddonCommand ({project_path}\node_modules\angular-cli\lib\models\project.js:425:10)
[1]     at module.exports ({project_path}\node_modules\angular-cli\lib\cli\lookup-command.js:33:13)
[1]     at CLI.<anonymous> ({project_path}\node_modules\angular-cli\lib\cli\cli.js:34:26)
[1]     at tryCatch ({project_path}\node_modules\rsvp\dist\rsvp.js:538:12)
[1]     at invokeCallback ({project_path}\node_modules\rsvp\dist\rsvp.js:553:13)
[1]     at publish ({project_path}\node_modules\rsvp\dist\rsvp.js:521:7)
[1]     at flush ({project_path}\node_modules\rsvp\dist\rsvp.js:2373:5)
[1]     at _combinedTickCallback (internal/process/next_tick.js:67:7)
[1]     at process._tickCallback (internal/process/next_tick.js:98:9)
[1]

`
2reactions
ljharbcommented, Feb 24, 2017

Fixed in 68a081d1c7ff6e0fb58aeff4b6ac06aada7812c4; will be released shortly as v1.3.1.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ember build fails because broccoli-funnel can't symlink tmp file
I'm trying to build our ember app in a nix build environment (basically extracts the source, makes it writable, disables network and chroots ......
Read more >
ember build error: the code generator has deoptimised the ...
Problem: 1. the ember build process completes with warnings and culminates with a corrupt output file that throws a Uncaught SyntaxError: ...
Read more >
Static Site Build Failing - help debug? - Render community
Below is the error I'm getting. Not sure what is causing it. The build works on Netlify just fine. Wanted to port to...
Read more >
When trying to upgrade: Error running ember build - support
When running the update with ./launcher rebuild our_app_config.yml , the following error shows up in the log: Error running ember build.
Read more >
On running ember s I am getting the error of missing ...
On running ember s I am getting the error of missing dependency for fsevents. I am running my code on windows still I...
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