質問編集履歴

4

修正

2020/12/08 05:45

投稿

engnao
engnao

スコア29

test CHANGED
File without changes
test CHANGED
@@ -62,55 +62,35 @@
62
62
 
63
63
  C:\sass>gulp sass
64
64
 
65
- Error: Cannot find module 'gulp-sass'
65
+ Error: ENOENT: no such file or directory, scandir 'C:\sass\node_modules\node-sass\vendor'
66
66
 
67
- Require stack:
67
+ at Object.readdirSync (fs.js:1021:3)
68
68
 
69
- - C:\sass\gulpfile.js
69
+ at Object.getInstalledBinaries (C:\sass\node_modules\node-sass\lib\extensions.js:133:13)
70
70
 
71
- - C:..\AppData\Roaming\npm\node_modules\gulp-cli\lib\shared\require-or-import.js
71
+ at foundBinariesList (C:\sass\node_modules\node-sass\lib\errors.js:20:15)
72
72
 
73
- - C:..\AppData\Roaming\npm\node_modules\gulp-cli\lib\versioned^4.0.0\index.js
73
+ at foundBinaries (C:\sass\node_modules\node-sass\lib\errors.js:15:5)
74
74
 
75
- - C:..\AppData\Roaming\npm\node_modules\gulp-cli\index.js
75
+ at Object.module.exports.missingBinary (C:\sass\node_modules\node-sass\lib\errors.js:45:5)
76
76
 
77
- - C:..\AppData\Roaming\npm\node_modules\gulp-cli\bin\gulp.js
77
+ at module.exports (C:\sass\node_modules\node-sass\lib\binding.js:15:30)
78
78
 
79
- at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
80
-
81
- at Function.Module._load (internal/modules/cjs/loader.js:725:27)
82
-
83
- at Module.require (internal/modules/cjs/loader.js:952:19)
84
-
85
- at require (internal/modules/cjs/helpers.js:88:18)
86
-
87
- at Object.<anonymous> (C:\sass\gulpfile.js:4:12)
79
+ at Object.<anonymous> (C:\sass\node_modules\node-sass\lib\index.js:14:35)
88
80
 
89
81
  at Module._compile (internal/modules/cjs/loader.js:1063:30)
90
82
 
91
83
  at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
92
84
 
93
- at Module.load (internal/modules/cjs/loader.js:928:32)
85
+ at Module.load (internal/modules/cjs/loader.js:928:32) {
94
86
 
95
- at Function.Module._load (internal/modules/cjs/loader.js:769:14)
87
+ errno: -4058,
96
88
 
97
- at Module.require (internal/modules/cjs/loader.js:952:19) {
89
+ syscall: 'scandir',
98
90
 
99
- code: 'MODULE_NOT_FOUND',
91
+ code: 'ENOENT',
100
92
 
101
- requireStack: [
102
-
103
- 'C:\sass\gulpfile.js',
104
-
105
- 'C:..\AppData\Roaming\npm\node_modules\gulp-cli\lib\shared\require-or-import.js',
106
-
107
- 'C:..\AppData\Roaming\npm\node_modules\gulp-cli\lib\versioned\^4.0.0\index.js',
108
-
109
- 'C:..\AppData\Roaming\npm\node_modules\gulp-cli\index.js',
93
+ path: 'C:\sass\node_modules\node-sass\vendor'
110
-
111
- 'C:..\AppData\Roaming\npm\node_modules\gulp-cli\bin\gulp.js'
112
-
113
- ]
114
94
 
115
95
  }
116
96
 

3

修正

2020/12/08 05:45

投稿

engnao
engnao

スコア29

test CHANGED
File without changes
test CHANGED
@@ -68,13 +68,13 @@
68
68
 
69
69
  - C:\sass\gulpfile.js
70
70
 
71
- - C:\Users\koike.takuya.pfu\AppData\Roaming\npm\node_modules\gulp-cli\lib\shared\require-or-import.js
71
+ - C:..\AppData\Roaming\npm\node_modules\gulp-cli\lib\shared\require-or-import.js
72
72
 
73
- - C:\Users\koike.takuya.pfu\AppData\Roaming\npm\node_modules\gulp-cli\lib\versioned^4.0.0\index.js
73
+ - C:..\AppData\Roaming\npm\node_modules\gulp-cli\lib\versioned^4.0.0\index.js
74
74
 
75
- - C:\Users\koike.takuya.pfu\AppData\Roaming\npm\node_modules\gulp-cli\index.js
75
+ - C:..\AppData\Roaming\npm\node_modules\gulp-cli\index.js
76
76
 
77
- - C:\Users\koike.takuya.pfu\AppData\Roaming\npm\node_modules\gulp-cli\bin\gulp.js
77
+ - C:..\AppData\Roaming\npm\node_modules\gulp-cli\bin\gulp.js
78
78
 
79
79
  at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
80
80
 
@@ -102,13 +102,13 @@
102
102
 
103
103
  'C:\sass\gulpfile.js',
104
104
 
105
- 'C:\Users\koike.takuya.pfu\AppData\Roaming\npm\node_modules\gulp-cli\lib\shared\require-or-import.js',
105
+ 'C:..\AppData\Roaming\npm\node_modules\gulp-cli\lib\shared\require-or-import.js',
106
106
 
107
- 'C:\Users\koike.takuya.pfu\AppData\Roaming\npm\node_modules\gulp-cli\lib\versioned\^4.0.0\index.js',
107
+ 'C:..\AppData\Roaming\npm\node_modules\gulp-cli\lib\versioned\^4.0.0\index.js',
108
108
 
109
- 'C:\Users\koike.takuya.pfu\AppData\Roaming\npm\node_modules\gulp-cli\index.js',
109
+ 'C:..\AppData\Roaming\npm\node_modules\gulp-cli\index.js',
110
110
 
111
- 'C:\Users\koike.takuya.pfu\AppData\Roaming\npm\node_modules\gulp-cli\bin\gulp.js'
111
+ 'C:..\AppData\Roaming\npm\node_modules\gulp-cli\bin\gulp.js'
112
112
 
113
113
  ]
114
114
 

2

追記

2020/12/08 05:34

投稿

engnao
engnao

スコア29

test CHANGED
@@ -1 +1 @@
1
- gulp環境構築でエラーが発生する(Windows)
1
+ node.jsのgulp環境構築でエラーが発生する(Windows)
test CHANGED
File without changes

1

誤字

2020/12/08 05:30

投稿

engnao
engnao

スコア29

test CHANGED
File without changes
test CHANGED
@@ -56,7 +56,9 @@
56
56
 
57
57
  #エラー内容
58
58
 
59
- ```コマンドプロンプト(gulp sass実行エラー)
59
+ gulp sassエラー
60
+
61
+ ```gulp
60
62
 
61
63
  C:\sass>gulp sass
62
64
 
@@ -114,9 +116,9 @@
114
116
 
115
117
  ```
116
118
 
119
+ 【require-or-importのエラー】
117
120
 
118
-
119
- ```require-or-importのエラー
121
+ ```gulp
120
122
 
121
123
  C:\sass>npm i -D require-or-import
122
124