質問編集履歴
11
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -512,20 +512,14 @@
|
|
512
512
|
|
513
513
|
|
514
514
|
|
515
|
-
bash-3.2$ source $HOME/.bashrc
|
516
|
-
|
517
515
|
bash-3.2$ ls -l /usr/local/Cellar
|
518
516
|
|
519
|
-
total 0
|
520
|
-
|
521
517
|
drwxr-xr-x 3 ユーザー名 admin 96 10 6 06:15 ruby
|
522
518
|
|
523
519
|
|
524
520
|
|
525
521
|
bash-3.2$ ls -l /usr/local/lib
|
526
522
|
|
527
|
-
total 0
|
528
|
-
|
529
523
|
drwxrwxr-x 3 ユーザー名 admin 96 9 27 22:27 dtrace
|
530
524
|
|
531
525
|
drwxrwxr-x 16 ユーザー名 admin 512 1 23 17:57 node_modules
|
10
tuiki
test
CHANGED
File without changes
|
test
CHANGED
@@ -476,7 +476,11 @@
|
|
476
476
|
|
477
477
|
==> We'll set permissions properly so we won't need sudo in the future
|
478
478
|
|
479
|
-
|
479
|
+
```
|
480
|
+
|
481
|
+
|
482
|
+
|
483
|
+
```bash
|
480
484
|
|
481
485
|
//追記
|
482
486
|
|
9
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -386,42 +386,6 @@
|
|
386
386
|
|
387
387
|
/usr/local/include/node/openssl/archs/BSD-x86/opensslconf.h
|
388
388
|
|
389
|
-
/usr/local/include/node/openssl/archs/BSD-x86_64/opensslconf.h
|
390
|
-
|
391
|
-
/usr/local/include/node/openssl/archs/VC-WIN32/opensslconf.h
|
392
|
-
|
393
|
-
/usr/local/include/node/openssl/archs/VC-WIN64A/opensslconf.h
|
394
|
-
|
395
|
-
/usr/local/include/node/openssl/archs/aix-gcc/opensslconf.h
|
396
|
-
|
397
|
-
/usr/local/include/node/openssl/archs/aix64-gcc/opensslconf.h
|
398
|
-
|
399
|
-
/usr/local/include/node/openssl/archs/darwin-i386-cc/opensslconf.h
|
400
|
-
|
401
|
-
/usr/local/include/node/openssl/archs/darwin64-x86_64-cc/opensslconf.h
|
402
|
-
|
403
|
-
/usr/local/include/node/openssl/archs/linux-aarch64/opensslconf.h
|
404
|
-
|
405
|
-
/usr/local/include/node/openssl/archs/linux-armv4/opensslconf.h
|
406
|
-
|
407
|
-
/usr/local/include/node/openssl/archs/linux-elf/opensslconf.h
|
408
|
-
|
409
|
-
/usr/local/include/node/openssl/archs/linux-ppc/opensslconf.h
|
410
|
-
|
411
|
-
/usr/local/include/node/openssl/archs/linux-ppc64/opensslconf.h
|
412
|
-
|
413
|
-
/usr/local/include/node/openssl/archs/linux-x32/opensslconf.h
|
414
|
-
|
415
|
-
/usr/local/include/node/openssl/archs/linux-x86_64/opensslconf.h
|
416
|
-
|
417
|
-
/usr/local/include/node/openssl/archs/linux32-s390x/opensslconf.h
|
418
|
-
|
419
|
-
/usr/local/include/node/openssl/archs/linux64-s390x/opensslconf.h
|
420
|
-
|
421
|
-
/usr/local/include/node/openssl/archs/solaris-x86-gcc/opensslconf.h
|
422
|
-
|
423
|
-
/usr/local/include/node/openssl/archs/solaris64-x86_64-gcc/opensslconf.h
|
424
|
-
|
425
389
|
// ...以下文字数制限により省略
|
426
390
|
|
427
391
|
|
@@ -512,4 +476,58 @@
|
|
512
476
|
|
513
477
|
==> We'll set permissions properly so we won't need sudo in the future
|
514
478
|
|
479
|
+
|
480
|
+
|
481
|
+
//追記
|
482
|
+
|
483
|
+
bash-3.2$ sudo find / -name "brew"
|
484
|
+
|
485
|
+
Password:
|
486
|
+
|
487
|
+
find: /private/var/db/ConfigurationProfiles/Store: Operation not permitted
|
488
|
+
|
489
|
+
find: /private/var/folders/js/77b1ttqn6dlgdc3qw57s6_xh0000gn/0/SafariFamily: Operation not permitted
|
490
|
+
|
491
|
+
find: /private/var/folders/js/77b1ttqn6dlgdc3qw57s6_xh0000gn/0/com.apple.LaunchServices.dv: Operation not permitted
|
492
|
+
|
493
|
+
find: /private/var/folders/js/77b1ttqn6dlgdc3qw57s6_xh0000gn/0/com.apple.nsurlsessiond: Operation not permitted
|
494
|
+
|
495
|
+
find: /private/var/folders/js/77b1ttqn6dlgdc3qw57s6_xh0000gn/0/com.apple.routined: Operation not permitted
|
496
|
+
|
497
|
+
find: /private/var/folders/0n/8t0zp0d919gby3shbrd9n29r0000gp/0/com.apple.LaunchServices.dv: Operation not permitted
|
498
|
+
|
499
|
+
find: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000y800007k/0/com.apple.nsurlsessiond: Operation not permitted
|
500
|
+
|
501
|
+
find: /private/var/folders/7_/lk68k4bx2nqfddqqvlfzhzyr0000gq/0/com.apple.LaunchServices.dv: Operation not permitted
|
502
|
+
|
503
|
+
/Users/ユーザー名/.oh-my-zsh/plugins/brew
|
504
|
+
|
505
|
+
find: /dev/fd/3: Not a directory
|
506
|
+
|
507
|
+
find: /dev/fd/4: Not a directory
|
508
|
+
|
509
|
+
|
510
|
+
|
511
|
+
bash-3.2$ source $HOME/.bashrc
|
512
|
+
|
513
|
+
bash-3.2$ ls -l /usr/local/Cellar
|
514
|
+
|
515
|
+
total 0
|
516
|
+
|
517
|
+
drwxr-xr-x 3 ユーザー名 admin 96 10 6 06:15 ruby
|
518
|
+
|
519
|
+
|
520
|
+
|
521
|
+
bash-3.2$ ls -l /usr/local/lib
|
522
|
+
|
523
|
+
total 0
|
524
|
+
|
525
|
+
drwxrwxr-x 3 ユーザー名 admin 96 9 27 22:27 dtrace
|
526
|
+
|
527
|
+
drwxrwxr-x 16 ユーザー名 admin 512 1 23 17:57 node_modules
|
528
|
+
|
529
|
+
drwxr-xr-x 3 ユーザー名 admin 96 7 21 2017 python2.7
|
530
|
+
|
531
|
+
drwxr-xr-x 4 ユーザー名 admin 128 1 24 17:17 ruby
|
532
|
+
|
515
533
|
```
|
8
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -510,4 +510,6 @@
|
|
510
510
|
|
511
511
|
==> Creating Caskroom at /usr/local/Caskroom
|
512
512
|
|
513
|
-
==> We'll set permissions properly so we won't need sudo in the future
|
513
|
+
==> We'll set permissions properly so we won't need sudo in the future
|
514
|
+
|
515
|
+
```
|
7
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -463,3 +463,51 @@
|
|
463
463
|
macOS High Sierra バージョン 10.13.2
|
464
464
|
|
465
465
|
```
|
466
|
+
|
467
|
+
|
468
|
+
|
469
|
+
### 1/24 追記
|
470
|
+
|
471
|
+
```json
|
472
|
+
|
473
|
+
[$] brew prune
|
474
|
+
|
475
|
+
Pruned 5 symbolic links and 10 directories from /usr/local
|
476
|
+
|
477
|
+
|
478
|
+
|
479
|
+
[$] brew list
|
480
|
+
|
481
|
+
autoconf node pkg-config ruby yarn
|
482
|
+
|
483
|
+
gdbm openssl python ruby-build zsh
|
484
|
+
|
485
|
+
icu4c openssl@1.1 rbenv sqlite zsh-completions
|
486
|
+
|
487
|
+
jenkins pcre readline tree
|
488
|
+
|
489
|
+
libyaml perl rename vim
|
490
|
+
|
491
|
+
|
492
|
+
|
493
|
+
[$] brew cask list
|
494
|
+
|
495
|
+
==> Tapping caskroom/cask
|
496
|
+
|
497
|
+
Cloning into '/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask'...
|
498
|
+
|
499
|
+
remote: Counting objects: 3993, done.
|
500
|
+
|
501
|
+
remote: Compressing objects: 100% (3970/3970), done.
|
502
|
+
|
503
|
+
remote: Total 3993 (delta 36), reused 618 (delta 19), pack-reused 0
|
504
|
+
|
505
|
+
Receiving objects: 100% (3993/3993), 1.37 MiB | 594.00 KiB/s, done.
|
506
|
+
|
507
|
+
Resolving deltas: 100% (36/36), done.
|
508
|
+
|
509
|
+
Tapped 0 formulae (4,002 files, 4.3MB)
|
510
|
+
|
511
|
+
==> Creating Caskroom at /usr/local/Caskroom
|
512
|
+
|
513
|
+
==> We'll set permissions properly so we won't need sudo in the future```
|
6
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -264,7 +264,7 @@
|
|
264
264
|
|
265
265
|
[$] ls -l /usr/local/Homebrew/bin/brew
|
266
266
|
|
267
|
-
-rwxr-xr-x 1 ユーザー名 admin 2548 1 3 19:07 /usr/local/Homebrew/bin/brew
|
267
|
+
-rwxr-xr-x 1 ユーザー名 admin 2548 1 3 19:07 /usr/local/Homebrew/bin/brew // 返り値赤文字
|
268
268
|
|
269
269
|
|
270
270
|
|
@@ -272,7 +272,7 @@
|
|
272
272
|
|
273
273
|
[$] ls -l /usr/local/bin/node
|
274
274
|
|
275
|
-
-rwxrwxr-x 1 ユーザー名 admin 35731472 10 29 16:44 /usr/local/bin/node
|
275
|
+
-rwxrwxr-x 1 ユーザー名 admin 35731472 10 29 16:44 /usr/local/bin/node // 返り値赤文字
|
276
276
|
|
277
277
|
|
278
278
|
|
5
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -460,4 +460,6 @@
|
|
460
460
|
|
461
461
|
BuildVersion: 17C205
|
462
462
|
|
463
|
+
macOS High Sierra バージョン 10.13.2
|
464
|
+
|
463
465
|
```
|
4
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -245,3 +245,219 @@
|
|
245
245
|
brew uninstall --ignore-dependencies node
|
246
246
|
|
247
247
|
```
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
### 追記1/24
|
252
|
+
|
253
|
+
```json
|
254
|
+
|
255
|
+
// シンボリックリンク
|
256
|
+
|
257
|
+
[$] ls -l /usr/local/bin/brew
|
258
|
+
|
259
|
+
lrwxr-xr-x 1 ユーザー名 admin 28 7 24 2017 /usr/local/bin/brew -> /usr/local/Homebrew/bin/brew
|
260
|
+
|
261
|
+
|
262
|
+
|
263
|
+
// brew自体の権限と所有者権限
|
264
|
+
|
265
|
+
[$] ls -l /usr/local/Homebrew/bin/brew
|
266
|
+
|
267
|
+
-rwxr-xr-x 1 ユーザー名 admin 2548 1 3 19:07 /usr/local/Homebrew/bin/brew
|
268
|
+
|
269
|
+
|
270
|
+
|
271
|
+
// brewでインストールされたものの権限と所有者情報
|
272
|
+
|
273
|
+
[$] ls -l /usr/local/bin/node
|
274
|
+
|
275
|
+
-rwxrwxr-x 1 ユーザー名 admin 35731472 10 29 16:44 /usr/local/bin/node
|
276
|
+
|
277
|
+
|
278
|
+
|
279
|
+
// 配下ディレクトリのCellerの権限と所有者情報
|
280
|
+
|
281
|
+
[$] ls -l /usr/local
|
282
|
+
|
283
|
+
total 0
|
284
|
+
|
285
|
+
drwxrwxr-x 25 ユーザー名 admin 800 11 19 10:10 Cellar
|
286
|
+
|
287
|
+
drwxrwxr-x 3 ユーザー名 admin 96 11 19 10:10 Frameworks
|
288
|
+
|
289
|
+
drwxrwxr-x 17 ユーザー名 admin 544 1 3 19:07 Homebrew
|
290
|
+
|
291
|
+
drwxrwxr-x 145 ユーザー名 admin 4640 1 22 02:15 bin
|
292
|
+
|
293
|
+
drwxrwxr-x 6 ユーザー名 admin 192 11 19 10:09 etc
|
294
|
+
|
295
|
+
drwxr-xr-x 11 root wheel 352 11 19 10:10 git
|
296
|
+
|
297
|
+
drwxrwxr-x 12 ユーザー名 admin 384 11 19 10:10 include
|
298
|
+
|
299
|
+
drwxrwxr-x 33 ユーザー名 admin 1056 11 19 10:10 lib
|
300
|
+
|
301
|
+
lrwxr-xr-x 1 root wheel 30 7 24 2017 mysql -> mysql-5.7.19-macos10.12-x86_64
|
302
|
+
|
303
|
+
drwxr-xr-x 3 root wheel 96 11 19 10:09 n
|
304
|
+
|
305
|
+
drwxrwxr-x 37 ユーザー名 admin 1184 11 19 10:10 opt
|
306
|
+
|
307
|
+
drwxr-xr-x 3 root wheel 96 11 19 10:10 remotedesktop
|
308
|
+
|
309
|
+
drwxrwxr-x 14 ユーザー名 admin 448 11 19 10:10 share
|
310
|
+
|
311
|
+
drwxr-xr-x 13 ユーザー名 staff 416 11 19 10:10 tomcat
|
312
|
+
|
313
|
+
drwxrwxr-x 5 ユーザー名 admin 160 11 19 10:10 var
|
314
|
+
|
315
|
+
|
316
|
+
|
317
|
+
// brew自体が持っているbrewの診断ツール
|
318
|
+
|
319
|
+
[$] brew doctor
|
320
|
+
|
321
|
+
Please note that these warnings are just used to help the Homebrew maintainers
|
322
|
+
|
323
|
+
with debugging if you file an issue. If everything you use Homebrew for is
|
324
|
+
|
325
|
+
working fine: please don't worry or file an issue; just ignore this. Thanks!
|
326
|
+
|
327
|
+
|
328
|
+
|
329
|
+
Warning: You have MacPorts or Fink installed:
|
330
|
+
|
331
|
+
/opt/local/bin/port
|
332
|
+
|
333
|
+
|
334
|
+
|
335
|
+
This can cause trouble. You don't have to uninstall them, but you may want to
|
336
|
+
|
337
|
+
temporarily move them out of the way, e.g.
|
338
|
+
|
339
|
+
|
340
|
+
|
341
|
+
sudo mv /opt/local ~/macports
|
342
|
+
|
343
|
+
|
344
|
+
|
345
|
+
Warning: Unbrewed header files were found in /usr/local/include.
|
346
|
+
|
347
|
+
If you didn't put them there on purpose they could cause problems when
|
348
|
+
|
349
|
+
building Homebrew formulae, and may need to be deleted.
|
350
|
+
|
351
|
+
|
352
|
+
|
353
|
+
Unexpected header files:
|
354
|
+
|
355
|
+
/usr/local/include/node/android-ifaddrs.h
|
356
|
+
|
357
|
+
/usr/local/include/node/ares.h
|
358
|
+
|
359
|
+
/usr/local/include/node/ares_build.h
|
360
|
+
|
361
|
+
/usr/local/include/node/ares_rules.h
|
362
|
+
|
363
|
+
/usr/local/include/node/ares_version.h
|
364
|
+
|
365
|
+
/usr/local/include/node/libplatform/libplatform-export.h
|
366
|
+
|
367
|
+
/usr/local/include/node/libplatform/libplatform.h
|
368
|
+
|
369
|
+
/usr/local/include/node/libplatform/v8-tracing.h
|
370
|
+
|
371
|
+
/usr/local/include/node/nameser.h
|
372
|
+
|
373
|
+
/usr/local/include/node/node.h
|
374
|
+
|
375
|
+
/usr/local/include/node/node_api.h
|
376
|
+
|
377
|
+
/usr/local/include/node/node_api_types.h
|
378
|
+
|
379
|
+
/usr/local/include/node/node_buffer.h
|
380
|
+
|
381
|
+
/usr/local/include/node/node_object_wrap.h
|
382
|
+
|
383
|
+
/usr/local/include/node/node_version.h
|
384
|
+
|
385
|
+
/usr/local/include/node/openssl/aes.h
|
386
|
+
|
387
|
+
/usr/local/include/node/openssl/archs/BSD-x86/opensslconf.h
|
388
|
+
|
389
|
+
/usr/local/include/node/openssl/archs/BSD-x86_64/opensslconf.h
|
390
|
+
|
391
|
+
/usr/local/include/node/openssl/archs/VC-WIN32/opensslconf.h
|
392
|
+
|
393
|
+
/usr/local/include/node/openssl/archs/VC-WIN64A/opensslconf.h
|
394
|
+
|
395
|
+
/usr/local/include/node/openssl/archs/aix-gcc/opensslconf.h
|
396
|
+
|
397
|
+
/usr/local/include/node/openssl/archs/aix64-gcc/opensslconf.h
|
398
|
+
|
399
|
+
/usr/local/include/node/openssl/archs/darwin-i386-cc/opensslconf.h
|
400
|
+
|
401
|
+
/usr/local/include/node/openssl/archs/darwin64-x86_64-cc/opensslconf.h
|
402
|
+
|
403
|
+
/usr/local/include/node/openssl/archs/linux-aarch64/opensslconf.h
|
404
|
+
|
405
|
+
/usr/local/include/node/openssl/archs/linux-armv4/opensslconf.h
|
406
|
+
|
407
|
+
/usr/local/include/node/openssl/archs/linux-elf/opensslconf.h
|
408
|
+
|
409
|
+
/usr/local/include/node/openssl/archs/linux-ppc/opensslconf.h
|
410
|
+
|
411
|
+
/usr/local/include/node/openssl/archs/linux-ppc64/opensslconf.h
|
412
|
+
|
413
|
+
/usr/local/include/node/openssl/archs/linux-x32/opensslconf.h
|
414
|
+
|
415
|
+
/usr/local/include/node/openssl/archs/linux-x86_64/opensslconf.h
|
416
|
+
|
417
|
+
/usr/local/include/node/openssl/archs/linux32-s390x/opensslconf.h
|
418
|
+
|
419
|
+
/usr/local/include/node/openssl/archs/linux64-s390x/opensslconf.h
|
420
|
+
|
421
|
+
/usr/local/include/node/openssl/archs/solaris-x86-gcc/opensslconf.h
|
422
|
+
|
423
|
+
/usr/local/include/node/openssl/archs/solaris64-x86_64-gcc/opensslconf.h
|
424
|
+
|
425
|
+
// ...以下文字数制限により省略
|
426
|
+
|
427
|
+
|
428
|
+
|
429
|
+
Warning: You have unlinked kegs in your Cellar
|
430
|
+
|
431
|
+
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
|
432
|
+
|
433
|
+
those kegs to fail to run properly once built. Run `brew link` on these:
|
434
|
+
|
435
|
+
node
|
436
|
+
|
437
|
+
|
438
|
+
|
439
|
+
Warning: Broken symlinks were found. Remove them with `brew prune`:
|
440
|
+
|
441
|
+
/usr/local/bin/apm
|
442
|
+
|
443
|
+
/usr/local/bin/atom
|
444
|
+
|
445
|
+
/usr/local/bin/gulp
|
446
|
+
|
447
|
+
/usr/local/share/man/man1/gulp.1
|
448
|
+
|
449
|
+
/usr/local/share/man/man1/npx.1
|
450
|
+
|
451
|
+
|
452
|
+
|
453
|
+
// OSのビルドバージョン
|
454
|
+
|
455
|
+
[$] sw_vers
|
456
|
+
|
457
|
+
ProductName: Mac OS X
|
458
|
+
|
459
|
+
ProductVersion: 10.13.2
|
460
|
+
|
461
|
+
BuildVersion: 17C205
|
462
|
+
|
463
|
+
```
|
3
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -229,3 +229,19 @@
|
|
229
229
|
上記のように`brew list node`としnodeが確認できました。
|
230
230
|
|
231
231
|
[node.jsをアンインストールしたい](https://teratail.com/questions/83489)
|
232
|
+
|
233
|
+
|
234
|
+
|
235
|
+
### `brew uninstall node`のエラー文追記
|
236
|
+
|
237
|
+
```bash
|
238
|
+
|
239
|
+
Error: Refusing to uninstall /usr/local/Cellar/node/8.5.0
|
240
|
+
|
241
|
+
because it is required by yarn 1.0.2, which is currently installed.
|
242
|
+
|
243
|
+
You can override this and force removal with:
|
244
|
+
|
245
|
+
brew uninstall --ignore-dependencies node
|
246
|
+
|
247
|
+
```
|
2
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -194,8 +194,38 @@
|
|
194
194
|
|
195
195
|
/usr/local/bin/node
|
196
196
|
|
197
|
+
|
198
|
+
|
199
|
+
$ brew list node
|
200
|
+
|
201
|
+
/usr/local/Cellar/node/8.5.0/bin/node
|
202
|
+
|
203
|
+
/usr/local/Cellar/node/8.5.0/etc/bash_completion.d/npm
|
204
|
+
|
205
|
+
/usr/local/Cellar/node/8.5.0/include/node/ (136 files)
|
206
|
+
|
207
|
+
/usr/local/Cellar/node/8.5.0/lib/dtrace/node.d
|
208
|
+
|
209
|
+
/usr/local/Cellar/node/8.5.0/libexec/bin/ (2 files)
|
210
|
+
|
211
|
+
/usr/local/Cellar/node/8.5.0/libexec/lib/ (4000 files)
|
212
|
+
|
213
|
+
/usr/local/Cellar/node/8.5.0/share/doc/ (3 files)
|
214
|
+
|
215
|
+
/usr/local/Cellar/node/8.5.0/share/man/man1/node.1
|
216
|
+
|
217
|
+
/usr/local/Cellar/node/8.5.0/share/systemtap/tapset/node.stp
|
218
|
+
|
197
219
|
```
|
198
220
|
|
199
221
|
一度アドバイスいただきましたやり方で再度node.jsをインストールしてみたいと思います。
|
200
222
|
|
201
223
|
また、実行結果を記載いたします。
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
node.jsアンインストールしようと下記サイトを参考にしたところ、どうやらbrewでインストールしているようでした。
|
228
|
+
|
229
|
+
上記のように`brew list node`としnodeが確認できました。
|
230
|
+
|
231
|
+
[node.jsをアンインストールしたい](https://teratail.com/questions/83489)
|
1
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -127,3 +127,75 @@
|
|
127
127
|
前回の質問と重複しがちですが、整理がつかなくなってしまい、再度質問とさせていただきました。
|
128
128
|
|
129
129
|
よろしくお願いいたします。
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
### 質問追記1/23
|
134
|
+
|
135
|
+
```json
|
136
|
+
|
137
|
+
{
|
138
|
+
|
139
|
+
"name": "GulpSample",
|
140
|
+
|
141
|
+
"version": "1.0.0",
|
142
|
+
|
143
|
+
"description": "",
|
144
|
+
|
145
|
+
"main": "index.js",
|
146
|
+
|
147
|
+
"scripts": {
|
148
|
+
|
149
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
150
|
+
|
151
|
+
"build": "gulp" // scripts内は node_modules/.bin のディレクトリを見てくれるため、省略ができます 追記
|
152
|
+
|
153
|
+
},
|
154
|
+
|
155
|
+
"keywords": [],
|
156
|
+
|
157
|
+
"author": "",
|
158
|
+
|
159
|
+
"license": "ISC",
|
160
|
+
|
161
|
+
"devDependencies": {
|
162
|
+
|
163
|
+
"gulp": "^3.9.1",
|
164
|
+
|
165
|
+
"gulp-sass": "^3.1.0"
|
166
|
+
|
167
|
+
}
|
168
|
+
|
169
|
+
}
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
```
|
174
|
+
|
175
|
+
**質問1**
|
176
|
+
|
177
|
+
> 1-2. npm run-scriptと組み合わせる
|
178
|
+
|
179
|
+
毎回`"build": "gulp"`をpackage.jsonに追加する流れで大丈夫でしょうか?
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
**質問2**
|
184
|
+
|
185
|
+
インストール方法ですが、覚えていないのですが、検索してなぞってやった記憶はあります。
|
186
|
+
|
187
|
+
下記which nodeの実行結果です。
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
```json
|
192
|
+
|
193
|
+
$ which node
|
194
|
+
|
195
|
+
/usr/local/bin/node
|
196
|
+
|
197
|
+
```
|
198
|
+
|
199
|
+
一度アドバイスいただきましたやり方で再度node.jsをインストールしてみたいと思います。
|
200
|
+
|
201
|
+
また、実行結果を記載いたします。
|