Re: [Slackbuilds-users] Error building atom package

2017-03-21 Thread Ryan P.C. McQuen
—— On Tue, 21 Mar 2017 12:47:49 -0700 414N 4...@slacky.it wrote ——
 




Hi Ryan,

 I don’t think I ever did something like that, but maybe I forgot it…

 What would be the command to do perform the manual update? npm update npm?




​ 






 This explains it better than I will:
 https://stackoverflow.com/a/6237400/2662028
 But essentially, npm install -g npm.
 -Ryan
[ryanpcmcquen.org]
 ​


___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] Error building atom package

2017-03-21 Thread 414N
Hi Ryan,
I don’t think I ever did something like that, but maybe I forgot it…
What would be the command to do perform the manual update? |npm update npm|?

​

Alan Alberghini

SBo clone: GitHub 

On 21/03/2017 20:45, Ryan P.C. McQuen wrote:
>
> —— On Tue, 21 Mar 2017 12:42:16 -0700 414N 4...@slacky.it
>  wrote ——
>
> There must be something wrong on my machine then, as nobody seems
> to have had the same issue as me...
>
> Thanks for the test, Willy
>
> Did you manually update |npm|?
>
> -Ryan
> [ryanpcmcquen.org]
>
> ​
>
>
> ___
> SlackBuilds-users mailing list
> SlackBuilds-users@slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>




signature.asc
Description: OpenPGP digital signature
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] Error building atom package

2017-03-21 Thread Ryan P.C. McQuen
—— On Tue, 21 Mar 2017 12:42:16 -0700 414N 4...@slacky.it wrote ——
 

There must be something wrong on my machine then, as nobody seems to have had 
the same issue as me...

Thanks for the test, Willy 





 Did you manually update npm?
 -Ryan
[ryanpcmcquen.org]
 ​


___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] Error building atom package

2016-11-06 Thread Thomas Szteliga
On 11/05/2016 04:17 PM, 414N wrote:
> Hi everyone,
> it’s from some time that I’m not able anymore to build and upgrade my
> atom 
> installation to any of the newer versions (I’m currently running v1.9.8).
> What I get during every build is this:

...

> module.js:327 throw err; ^ Error: Cannot find module

...

> Anyone has the same issue?


I'm on 1.11.2 built few days ago (Oct 30). I had to build twice,
because during the first build npm had problems downloading
some required modules. I would suggest just try again
because your issue looks similar.



-- 
Thomas Szteliga

___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



[Slackbuilds-users] Error building atom package

2016-11-05 Thread 414N
Hi everyone,

it’s from some time that I’m not able anymore to build and upgrade my
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.
(/tmp/SBo/atom-1.11.2/apm/node_modules/atom-package-manager/lib/cli.js:8:7)
at Object.
(/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. (/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 



signature.asc
Description: OpenPGP digital signature
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/