aistream69 / aistream Goto Github PK
View Code? Open in Web Editor NEWAI Pipeline
AI Pipeline
Hello. When I compile the webclient, the build/dev-server.js
file cannot be found when execute npm run dev
.
The error message is as follows:
npm run dev in package.json is as follow:
"scripts": {
"dev": "cross-env NODE_ENV=online node build/dev-server.js",
"local": "cross-env NODE_ENV=local node build/dev-server.js",
"build": "node build/build.js",
"unit": "cross-env BABEL_ENV=test karma start test/unit/karma.conf.js --single-run",
"e2e": "node test/e2e/runner.js",
"test": "npm run unit && npm run e2e",
"lint": "eslint --ext .js,.vue src test/unit/specs test/e2e/specs"
}
webclient without build,cannot be used
${PROJECT_ROOT_PATH}/work/pkg/pre_build.sh, the file does not exist in the directory.
And Protobuf not found when compiling the grpc_common.cmake:104.
How can I fix this error. Or just miss the pre_build.sh
? Looking forward to your answers.
Cmake compilation log is as follows:
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- BUILD INFO:
-- Plugins: ON
-- Prefix: /app/aistream/build/release
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
CMake Error at cmake/grpc_common.cmake:104 (find_package):
Could not find a package configuration file provided by "Protobuf" with any
of the following names:
ProtobufConfig.cmake
protobuf-config.cmake
Add the installation prefix of "Protobuf" to CMAKE_PREFIX_PATH or set
"Protobuf_DIR" to a directory containing one of the above files. If
"Protobuf" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
plugins/official/grpc_test/CMakeLists.txt:5 (include)
-- Configuring incomplete, errors occurred!
The cmakelists.txt as follow:
cmake_minimum_required(VERSION 3.5)
project (AISTREAM)
set(PROJECT_ROOT_PATH "${AISTREAM_SOURCE_DIR}")
set(CMAKE_VERBOSE_MAKEFILE ON)
set(CMAKE_INSTALL_PREFIX "${PROJECT_ROOT_PATH}/build/release")
if(NOT EXISTS "cfg")
execute_process(COMMAND ln -s ../cfg cfg)
endif()
if(NOT EXISTS "lib")
execute_process(COMMAND ln -s ../plugins/lib lib)
endif()
if(NOT EXISTS "samples")
execute_process(COMMAND ln -s ../samples samples)
endif()
if(NOT EXISTS "data")
execute_process(COMMAND ln -s ../work/data data)
endif()
if(NOT EXISTS ${PROJECT_ROOT_PATH}/plugins/lib)
execute_process(COMMAND mkdir -p ${PROJECT_ROOT_PATH}/plugins/lib)
endif()
option(PLUGINS "Plugins" ON)
message(STATUS "BUILD INFO:")
message(STATUS "\tPlugins: ${PLUGINS}")
message(STATUS "\tPrefix: ${CMAKE_INSTALL_PREFIX}")
execute_process(COMMAND ${PROJECT_ROOT_PATH}/work/pkg/pre_build.sh)
add_subdirectory(src)
add_subdirectory(work/cjson)
add_subdirectory(plugins)
include(cmake/libevent.cmake)
include(cmake/opencv.cmake)
include(cmake/ffmpeg.cmake)
include(cmake/x264.cmake)
include(cmake/rtsp.cmake)
include(cmake/eigen.cmake)
include(cmake/rabbitmq.cmake)
include(cmake/mongodb.cmake)
include(cmake/freetype.cmake)
#include(cmake/grpc.cmake)
add_dependencies(ffmpeg x264)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.