Closed jsiebach closed 8 years ago
I think this error is related to lorempixel.com being down. Can you try again now that they are online?
gyp ERR! build error
gyp ERR! stack Error: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (D:\wamp\myobj\vue_blog\node_modules\laravel-elixir\node_modules\gulp-sass\node_modules\node-sass\node_modules\node-gyp\lib\build.js:276:23)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "D:\Program Files (x86)\nodejs\node.exe" "D:\wamp\myobj\vue_blog\node_modules\laravel-elixir\node_modules\gulp-sass\node_modules\node-sass\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd D:\wamp\myobj\vue_blog\node_modules\laravel-elixir\node_modules\gulp-sass\node_modules\node-sass
gyp ERR! node -v v0.10.35
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
Build failed
npm ERR! node-sass@3.8.0 postinstall: node scripts/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@3.8.0 postinstall script.
npm ERR! This is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node scripts/build.js
npm ERR! You can get their info via:
npm ERR! npm owner ls node-sass
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "D:\Program Files (x86)\nodejs\node.exe" "D:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js" "install"
npm ERR! cwd D:\wamp\myobj\vue_blog
npm ERR! node -v v0.10.35
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0
$ php artisan db:seed Seeded: RolesSeeder New Admin created. Username: first@admin.com, Password: 123pass Seeded: UsersSeeder Seeded: PostsSeeder
[Spatie\MediaLibrary\Exceptions\FileCannotBeImported] Only strings, FileObjects and UploadedFileObjects can be imported
@zhangya4548 try updating npm and node to the latest version
updating npm fixed the problem.
Good to know!
php artisan db:seed
Seeded: RolesSeeder New Admin created. Username: first@admin.com, Password: 123pass Seeded: UsersSeeder Seeded: PostsSeeder
[Spatie\MediaLibrary\Exceptions\FileCannotBeImported]
Only strings, FileObjects and UploadedFileObjects can be imported