This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Installing on plesk #2674
Comments
Have you read through the troubleshooting guide?
…On Thu., 23 May 2019, 8:39 am mjmnagy, ***@***.***> wrote:
Hi,
Ive been looking online for a solution to installing node-sass on my plesk
server. I read that this is kind of a no no as this should not be done on a
production server(dont care - not a live site).
I have uploaded the documents via bitbucket and click the NPM install
button. The result is the failure below:
3822 verbose stack Error: ***@***.*** install: `node scripts/install.js`
3822 verbose stack spawn ENOENT
3822 verbose stack at ChildProcess.<anonymous> (/opt/plesk/node/9/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:48:18)
3822 verbose stack at ChildProcess.emit (events.js:180:13)
3822 verbose stack at maybeClose (internal/child_process.js:936:16)
3822 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5)
3823 verbose pkgid ***@***.***
3824 verbose cwd /var/www/vhosts/mjmnagy.info/app
3825 verbose Linux 3.10.0-862.9.1.el7.x86_64
3826 verbose argv "/opt/plesk/node/9/bin/node" "/opt/plesk/node/9/bin/npm" "install"
3827 verbose node v9.10.1
3828 verbose npm v5.6.0
3829 error file sh
3830 error code ELIFECYCLE
3831 error errno ENOENT
3832 error syscall spawn
3833 error ***@***.*** install: `node scripts/install.js`
3833 error spawn ENOENT
3834 error Failed at the ***@***.*** install script.
3834 error This is probably not a problem with npm. There is likely additional logging output above.
3835 verbose exit [ 1, true ]
I attempted to login to the server using SSH but for the life of me
couldn't figure out how to install it.
Using SSH, i navigated to where node is install (/opt/plesk/node/7/bin/)
trying 6/7/8 and then running npm. i always got unrecognized command.
I then realized that the version i have of node-sass was higher than the
node version install on the server(9.10.1)
What do i need to do to be able to install the module?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2674?email_source=notifications&email_token=AAENSWGZMENWZ2Y7GVSZK2TPWXDSLA5CNFSM4HOYQRQKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GVKL6MA>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAENSWARNISO4RR5T3TDGZLPWXDSLANCNFSM4HOYQRQA>
.
|
https://github.com/sass/node-sass/blob/master/TROUBLESHOOTING.md ? Yes. |
All I can think of is adding the --unsafe-perms flag to npm install.
Otherwise I suggest skimming through the npm error log file for an obvious
error block.
…On Thu., 23 May 2019, 9:03 am mjmnagy, ***@***.***> wrote:
https://github.com/sass/node-sass/blob/master/TROUBLESHOOTING.md ?
Yes.
Im still unable to install the module. Plesk is becoming more of a hassle
than its worth
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2674?email_source=notifications&email_token=AAENSWBVJEL6W7MJHKGHSLLPWXGNFA5CNFSM4HOYQRQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWATD4Y#issuecomment-495006195>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAENSWCZRH3R4GBQYP54NJTPWXGNFANCNFSM4HOYQRQA>
.
|
Hi, i was unsure of how i could run the command as plesk actually just has the button to install them. I added a script into my package.json THANKS |
jiongle1
pushed a commit
to scantist-ossops-m2/node-sass
that referenced
this issue
Apr 7, 2024
A deprecation for the old behaviour landed in sass#2302. This PR removes the deprecation warning for the old behaviour, and starts parsing 4 and 8 digit hex values as Colors. Looks like we had support for 8 digit hex colors for a while but somehow 4 digit support was missed. Spec sass/sass-spec#1273 Fixes sass#2674
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
Ive been looking online for a solution to installing node-sass on my plesk server. I read that this is kind of a no no as this should not be done on a production server(dont care - not a live site).
I have uploaded the documents via bitbucket and click the NPM install button. The result is the failure below:
I attempted to login to the server using SSH but for the life of me couldn't figure out how to install it.
Using SSH, i navigated to where node is install (
/opt/plesk/node/7/bin/
) trying 6/7/8 and then running npm. i always got unrecognized command.I then realized that the version i have of node-sass was higher than the node version install on the server(
9.10.1
)What do i need to do to be able to install the module?
The text was updated successfully, but these errors were encountered: