[Slackbuilds-users] Error building atom package

414N 414N at slacky.it
Sat Nov 5 15:17:21 UTC 2016


Hi everyone,

it’s from some time that I’m not able anymore to build and upgrade my
atom <https://slackbuilds.org/repository/14.2/development/atom/>
installation to any of the newer versions (I’m currently running v1.9.8).

What I get during every build is this:

|********************************************************************* *
The installation process will download a lot of modules for atom. *
*********************************************************************
Node: v6.9.1 Npm: v3.10.8 Installing script dependencies Installing apm
npm ERR! Linux 4.4.29 npm ERR! argv
"/tmp/SBo/atom-1.11.2/apm/node_modules/atom-package-manager/bin/node"
"/tmp/SBo/atom-1.11.2/apm/node_modules/atom-package-manager/node_modules/.bin/npm"
"dedupe" npm ERR! node v4.4.5 npm ERR! npm v3.10.5 npm ERR! path
/tmp/SBo/atom-1.11.2/apm/node_modules/atom-package-manager/node_modules/npm/node_modules
npm ERR! code EACCES npm ERR! errno -13 npm ERR! syscall access npm ERR!
Error: EACCES: permission denied, access
'/tmp/SBo/atom-1.11.2/apm/node_modules/atom-package-manager/node_modules/npm/node_modules'
npm ERR! at Error (native) npm ERR! { [Error: EACCES: permission denied,
access
'/tmp/SBo/atom-1.11.2/apm/node_modules/atom-package-manager/node_modules/npm/node_modules']
npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall:
'access', npm ERR! path:
'/tmp/SBo/atom-1.11.2/apm/node_modules/atom-package-manager/node_modules/npm/node_modules'
} npm ERR! npm ERR! Please try running this command again as
root/Administrator. npm ERR! Please include the following file with any
support request: npm ERR!
/tmp/SBo/atom-1.11.2/apm/node_modules/atom-package-manager/npm-debug.log
module.js:327 throw err; ^ Error: Cannot find module
'node-gyp/bin/node-gyp' at Function.Module._resolveFilename
(module.js:325:15) at Function.require.resolve
(internal/module.js:16:19) at new Install
(/tmp/SBo/atom-1.11.2/apm/node_modules/atom-package-manager/lib/install.js:53:38)
at Object.module.exports.run
(/tmp/SBo/atom-1.11.2/apm/node_modules/atom-package-manager/lib/apm-cli.js:226:18)
at Object.<anonymous>
(/tmp/SBo/atom-1.11.2/apm/node_modules/atom-package-manager/lib/cli.js:8:7)
at Object.<anonymous>
(/tmp/SBo/atom-1.11.2/apm/node_modules/atom-package-manager/lib/cli.js:12:4)
at Module._compile (module.js:409:26) at Object.Module._extensions..js
(module.js:416:10) at Module.load (module.js:343:32) at
Function.Module._load (module.js:300:12) child_process.js:506 throw err;
^ Error: Command failed:
/tmp/SBo/atom-1.11.2/apm/node_modules/atom-package-manager/bin/apm
--loglevel=error install at checkExecSyncError (child_process.js:483:13)
at Object.execFileSync (child_process.js:503:13) at module.exports
(/tmp/SBo/atom-1.11.2/script/lib/install-atom-dependencies.js:19:16) at
Object.<anonymous> (/tmp/SBo/atom-1.11.2/script/bootstrap:28:1) at
Module._compile (module.js:570:32) at Object.Module._extensions..js
(module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad
(module.js:446:12) at Function.Module._load (module.js:438:3) at
Module.require (module.js:497:17) |

A strange thing I found out is that files inside the
|/tmp/SBo/atom-1.11.2/apm/node_modules/atom-package-manager/node_modules/npm/node_modules|
directory are owned by my normal user and group, while I’m running the
build script in a proper root shell…

Anyone has the same issue?

​
-- 

Alan Alberghini

SBo clone: GitHub <https://github.com/414n/slackbuilds.org>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20161105/20d9c01a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20161105/20d9c01a/attachment.asc>


More information about the SlackBuilds-users mailing list