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.

no suitable image found

See original GitHub issue

When I add gulp-sass into my project and write gulpfile.js as “Basic Usage” write,but when I start gulp`s task,it shows me as bottom:

module.js:434
  return process.dlopen(module, path._makeLong(filename));
                 ^

Error: dlopen(/Users/AllenWang/Documents/project/h5model/node_modules/node-sass/vendor/darwin-x64-46/binding.node, 1): no suitable image found.  Did find:
    /Users/AllenWang/Documents/project/h5model/node_modules/node-sass/vendor/darwin-x64-46/binding.node: truncated mach-o error: segment __TEXT extends to 1167360 which is past end of file 678448
    at Error (native)
    at Object.Module._extensions..node (module.js:434:18)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/Users/AllenWang/Documents/project/h5model/node_modules/node-sass/lib/index.js:16:15)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)

I have reinstall gulp-sass and update my nodejs and npm version,but it also show this error.Can you help me?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9

github_iconTop GitHub Comments

60reactions
Flobincommented, Jul 10, 2016

I was encountering the same issue.

What fixed it for me was the following:

npm rebuild node-sass

0reactions
kaybie3commented, Dec 28, 2017

@Flobin - thanks for that - helped me out

Read more comments on GitHub >

github_iconTop Results From Across the Web

Reason: no suitable image found [closed] - Stack Overflow
This occurs if the referencing project is out of date with respect to the referenced library. I found that I had updated my...
Read more >
No suitable image found. | Apple Developer Forums
Hello,. Please help me solve this error: IB Designables: Failed to render and update auto layout status for ViewController (BYZ-38-t0r): dlopen(Demo.app, ...
Read more >
dyld: Library not loaded… Reason: no suitable image found ...
Everything works fine except when I run DYLD_INSERT_LIBRARIES=./libfaketime.1.dylib DYLD_FORCE_FLAT_NAMESPACE=y FAKETIME="-15d" ...
Read more >
rpathReason: no suitable image found. Did find
Running from xcode throws unhandled exception at statupdyld: Library not loaded: @rpathReason: no suitable image found. Did find: dyld: Library not loaded: ...
Read more >
No suitable image? I have no idea how to solve this error ...
I have no idea how to solve this error message ... [iODBC][Driver Manager]dlopen(/usr/local/lib/psqlodbcw.so, 6): no suitable image found.
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