小编San*_*was的帖子

无法在 Linux 和 macOS 上安装 EB CLI(错误:未编译 Python ssl 扩展。缺少 OpenSSL 库?))

按照链接https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3-install.html?icmpid=docs_elasticbeanstalk_console我正在尝试安装EB CLI on MAC. 从页面上,我已经成功完成point 1Install the EB CLI on Linux and macOS

但是当我从第 2 点运行命令时,./aws-elastic-beanstalk-cli-setup/scripts/bundled_installer我收到以下消息/错误

` ============================================== 一、安装Python
==============================================

*************************************************************
1. Determining whether pyenv is already installed and in PATH
*************************************************************
    - pyenv was not found in PATH.

*********************************************************
2. Determining whether pyenv should be cloned from GitHub
*********************************************************
    - pyenv git repository already cloned to /Users/cispl-reserve/.pyenv-repository. Won't attempt to clone again.

*******************************************
3. Temporarily export necessary pyenv paths
******************************************* …
Run Code Online (Sandbox Code Playgroud)

macos command-line-interface amazon-web-services

5
推荐指数
1
解决办法
924
查看次数

在 Laravel 中使用 Vuetify(错误:Vuetify 未正确初始化)

我正在使用它默认Laravel 5.8包含在其中并且我想使用. 这是我所做的Vue JSVuetify

我完全按照博客中所写的内容进行操作https://codersdiaries.com/laravel-vuetify/,并且在控制台中收到一条错误消息[Vue warn]: Error in beforeCreate hook: "Error: Vuetify 未正确初始化

这是我的文件

欢迎.blade.php

<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>Laravel</title>

    <link href='https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900|Material+Icons' rel="stylesheet">

    <script src="{{ asset('js/app.js') }}" defer></script>

</head>

<body>
    <v-app id="app">
        <h1>Test Vuetify</h1>
    </v-app>
</body>

</html>
Run Code Online (Sandbox Code Playgroud)

应用程序.js

window.Vue = require('vue');
import Vuetify from 'vuetify'
Vue.use(Vuetify)


Vue.component('example-component', require('./components/ExampleComponent.vue').default);

const app = new Vue({
    el: '#app',
});
Run Code Online (Sandbox Code Playgroud)

包.json

{
  "private": true,
  "scripts": { …
Run Code Online (Sandbox Code Playgroud)

laravel vue.js vuetify.js

0
推荐指数
1
解决办法
2175
查看次数