Failed to map segment from shared object
See original GitHub issueError code:
$ gulp
module.js:435
return process.dlopen(module, path._makeLong(filename));
^
Error: /xxx/xxxx/xxx/node_modules/node-sass/vendor/linux-x64-46/binding.node: failed to map segment from shared object
at Error (native)
at Object.Module._extensions..node (module.js:435:18)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (/xxx/xxxx/xxx/node_modules/node-sass/lib/index.js:24:15)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
System info:
npm -v
3.5.2
node -v
v4.2.6
node -p process.versions
{ http_parser: '2.5.0',
node: '4.2.6',
v8: '4.5.103.35',
uv: '1.8.0',
zlib: '1.2.8',
ares: '1.10.1-DEV',
icu: '55.1',
modules: '46',
openssl: '1.0.2g-fips' }
node -p process.platform
linux
node -p process.arch
x64
"gulp-sass": "^2.3.2",
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:7
Top Results From Across the Web
What are possible causes of "failed to map segment from ...
I have put all the shared libraries that they are dependent on in the same directory, including ld-linux.so.3. I run the executables by...
Read more >What does a "failed to map segment from shared object" error ...
It's probably because you don't give an example; a possible cause could be a mismatch between a program and the dynamic libraries it's...
Read more >IDL CALL_EXTERNAL error: Failed to map segment from ...
Topic: Problem description. Some IDL users on Linux may encounter a error when accessing a remotely located shared library file with IDL CALL_EXTERNAL...
Read more >ERROR: "failed to map segment from shared object - Search
This issue happens when the exec flag is not set on /tmp directory. 1) For Solution, enter CR with a Workaround if a...
Read more >failed to map segment from shared object error on start #1339
When I run docker-compose --version on a host with noexec set on /tmp I get the following error: docker-compose: error while loading shared...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I resolved my problem by change in configuration of /etc/fstab. I have a few mounted partitions on the server. One was for /usr, other is for /var/www, where I have my web projects. I had to give flash data=exec, and then reboot system, reinstall node_modules in project directory.
UUID="b0d7a164-2536-4c2a-98f7-cdc6c3107c45" /var/www ext4 rw,relatime,data=ordered,exec 0 2
Thanks @michmzr! That solved mine issue. I am using ‘users’ option and it’s worth mention here that: