Have you already install node js?

|
Unknownuser009 2020-06-23 12:17:58
Abidesoft 2020-06-23 12:16:45

U have to add node js

Unknownuser009 2020-06-23 12:18:23
Fro. Site node.js
Abidesoft 2020-06-23 12:18:38
Already installed
Unknownuser009 2020-06-23 12:18:58
Now run command npm install
Shijinsubramanniam 2020-06-23 12:51:39
laravel_discuss-42653.jpg

Shijinsubramanniam 2020-06-23 12:51:55
Composer shows npm not defined
Shijinsubramanniam 2020-06-23 12:52:05
Y?
Shijinsubramanniam 2020-06-23 12:58:23
Abidesoft 2020-06-23 12:16:24
I’m getting errors to install npm

Same prblmπŸ™‚

md_71 2020-06-23 13:11:45
hello
i need some help
how we can return Workshop where status=1
in this method in controller with route model bindibg and without any Additional query

public function show(Workshop $workshop)
{
return view(‘web.workshop.show’, compact(‘workshop’));
}

Shijinsubramanniam 2020-06-23 13:12:58
laravel_discuss-42658.jpg
Npm is not recognized
Shijinsubramanniam 2020-06-23 13:13:09
Help please
Abidesoft 2020-06-23 13:13:25
md_71 2020-06-23 13:11:45
hello
i need some help
how we can return Workshop where status=1
in this method in controller with route model bindibg and without any Additional query

public function show(Workshop $workshop)
{
return view(‘web.workshop.show’, compact(‘workshop’));
}

site S should be capital Site

Abidesoft 2020-06-23 13:13:46
Shijinsubramanniam 2020-06-23 13:12:58
Npm is not recognized

Install NodeJs

md_71 2020-06-23 13:14:41
Abidesoft 2020-06-23 13:13:25
site S should be capital Site

but it is not important it is name of my module

Abidesoft 2020-06-23 13:15:20
md_71 2020-06-23 13:14:41
but it is not important it is name of my module

Node Js is important for npm

Shijinsubramanniam 2020-06-23 13:16:08
Abidesoft 2020-06-23 13:13:46
Install NodeJs

If I want to install node.js to respective laravel folder?

Abidesoft 2020-06-23 13:19:41
NodeJs install in c drive or anywhere
md_71 2020-06-23 13:34:13
md_71 2020-06-23 13:11:45
hello
i need some help
how we can return Workshop where status=1
in this method in controller with route model bindibg and without any Additional query

public function show(Workshop $workshop)
{
return view(‘web.workshop.show’, compact(‘workshop’));
}

if find it

we can use this query
public function resolveRouteBinding($value)
{
return $this->where(‘status’, 1)->findOrFail($value);
}

Shijinsubramanniam 2020-06-23 13:46:03
laravel_discuss-42671.jpg
Installed and while running it shows module not found
isofdev 2020-06-23 13:51:34
Shijinsubramanniam 2020-06-23 13:46:03
Installed and while running it shows module not found

Have you already install node js?

Shijinsubramanniam 2020-06-23 13:51:57
isofdev 2020-06-23 13:51:34
Have you already install node js?

Yes

isofdev 2020-06-23 13:52:25
Run npm install -d –save
Shijinsubramanniam 2020-06-23 13:53:44
isofdev 2020-06-23 13:52:25
Run npm install -d –save

laravel_discuss-42676.jpg

Shijinsubramanniam 2020-06-23 13:54:10
Same module not found
AddTwo 2020-06-23 15:02:47
Node.js software install First in your pc πŸ™‚
oxbir 2020-06-23 15:24:11
How to export utf-8 in laravel 5.8?
oxbir 2020-06-23 15:24:36
I installed dompdf in my project. I want to export auth()->user() in laravel and I have a problem like this image.
oxbir 2020-06-23 15:25:00
Controller.php
Shijinsubramanniam 2020-06-23 15:25:04
AddTwo 2020-06-23 15:02:47
Node.js software install First in your pc πŸ™‚

Instaled

oxbir 2020-06-23 15:25:48
oxbir 2020-06-23 15:25:00
Controller.php

use BarryvdhDomPDFFacade as PDF;

public function PDF()
{
$pdf = PDF::loadView(‘load-pdf’);
$pdf->set_option(‘font-family’, ‘Tahoma’);
return $pdf->download(‘user.pdf’);
}

Shijinsubramanniam 2020-06-23 15:25:58
Then I run npm install && run dev
isofdev 2020-06-23 15:30:27
Shijinsubramanniam 2020-06-23 13:53:44

It turns out the issue is due to the wrong path of node in system variable

Shijinsubramanniam 2020-06-23 15:48:22
isofdev 2020-06-23 15:30:27
It turns out the issue is due to the wrong path of node in system variable

I don’t undeestand

isofdev 2020-06-23 16:04:08
https://stackoverflow.com/questions/55091413/npm-command-cannot-find-module-npm-cli-js

npm command : Cannot find module npm-cli.jsStack Overflow
Since today I can’t use any npm command.

Here’s what I get everytime:

internal/modules/cjs/loader.js:584
throw err;
^

Error: Cannot find module ‘C:UsersAdrienAppDataRoamingnpm

isofdev 2020-06-23 16:05:08
Shijinsubramanniam 2020-06-23 15:48:22
I don’t undeestand

look this may be it can help you

Shijinsubramanniam 2020-06-23 16:50:58
Yes
Abidesoft 2020-06-23 17:04:29
Yes same here
2020-06-23 17:05:02
i have two .php files with html and css code
2020-06-23 17:05:14
i want to use code together
2020-06-23 17:05:51
what to do
2020-06-23 17:06:02
2020-06-23 17:05:02
i have two .php files with html and css code

this one

MahdyAdel 2020-06-23 17:07:46
This page isn’t workingskynusk.crazyideaco.com is currently unable to handle this request.
HTTP ERROR 500
Shijinsubramanniam 2020-06-23 17:08:54
Just solved
Shijinsubramanniam 2020-06-23 17:09:35
Tanku for ur consideration
Abidesoft 2020-06-23 17:09:59
Shijinsubramanniam 2020-06-23 17:08:54
Just solved

How you solve?

MahdyAdel 2020-06-23 17:10:25
After I uploaded the site to the server, I don’t want to work
MahdyAdel 2020-06-23 17:11:54
Meaning
Siberfx 2020-06-23 17:12:13
Meaning of life
MahdyAdel 2020-06-23 17:12:13
You mean the name of the hosting
MahdyAdel 2020-06-23 17:13:27
hostgaitor
|