johnpapa / heroes-vue Goto Github PK
View Code? Open in Web Editor NEWTour of Heroes app written with Vue
Home Page: https://papa-heroes-vue.azurewebsites.net
Tour of Heroes app written with Vue
Home Page: https://papa-heroes-vue.azurewebsites.net
🚨 You need to enable Continuous Integration on Greenkeeper branches of this repository. 🚨
To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.
Since we didn’t receive a CI status on the greenkeeper/initial
branch, it’s possible that you don’t have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.
If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/
.
Once you have installed and configured CI on this repository correctly, you’ll need to re-trigger Greenkeeper’s initial pull request. To do this, please click the 'fix repo' button on account.greenkeeper.io.
Proxy error: Could not proxy request /api/heroes from localhost:9626 to http://localhost:5000/.
[1] See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ECONNREFUSED).
Please could you share a step-by-step tutorial on how to carry out this project. It is very interesting.
Thanks
C:\Users\User-PC\vue-learn\heroes-vue>npm --version
6.14.6
C:\Users\User-PC\vue-learn\heroes-vue>vue --version
@vue/cli 4.5.3
C:\Users\User-PC\vue-learn\heroes-vue>node --version
v12.18.3
C:\Users\User-PC\vue-learn\heroes-vue>npm install
npm WARN [email protected] requires a peer of json-server@^0.15 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
audited 1718 packages in 20.62s
48 packages are looking for funding
run `npm fund` for details
found 416 vulnerabilities (397 low, 4 moderate, 15 high)
run `npm audit fix` to fix them, or `npm audit` for details
C:\Users\User-PC\vue-learn\heroes-vue>npm run quick
> [email protected] quick C:\Users\User-PC\vue-learn\heroes-vue
> concurrently "npm run backend" "npm run serve"
[1]
[1] > [email protected] serve C:\Users\User-PC\vue-learn\heroes-vue
[1] > vue-cli-service serve
.....
[1] <s> [webpack.Progress] 95% emitting
[1] <s> [webpack.Progress] 95% emitting HtmlWebpackPlugin
[1] <s> [webpack.Progress] 95% emitting CopyPlugin
[1] <s> [webpack.Progress] 98% after emitting
[1] <s> [webpack.Progress] 98% after emitting CopyPlugin
[1] ERROR Failed to compile with 1 errors07:32:42
[1]
[1] error in ./src/main.js
[1]
[1] Module build failed (from ./node_modules/babel-loader/lib/index.js):
[1] Error: [BABEL] C:\Users\User-PC\vue-learn\heroes-vue\src\main.js: Cannot find module '@babel/compat-data/corejs3-shipped-proposals'
[1] Require stack:
[1] - C:\Users\User-PC\vue-learn\heroes-vue\node_modules\@babel\preset-env\lib\polyfills\corejs3\usage-plugin.js
[1] - C:\Users\User-PC\vue-learn\heroes-vue\node_modules\@babel\preset-env\lib\index.js
[1] - C:\Users\User-PC\vue-learn\heroes-vue\node_modules\@vue\babel-preset-app\index.js
[1] - C:\Users\User-PC\vue-learn\heroes-vue\node_modules\@vue\cli-plugin-babel\preset.js
[1] - C:\Users\User-PC\vue-learn\heroes-vue\node_modules\@babel\core\lib\config\files\plugins.js
[1] - C:\Users\User-PC\vue-learn\heroes-vue\node_modules\@babel\core\lib\config\files\index.js
[1] - C:\Users\User-PC\vue-learn\heroes-vue\node_modules\@babel\core\lib\index.js
[1] - C:\Users\User-PC\vue-learn\heroes-vue\node_modules\@vue\cli-plugin-babel\index.js
[1] - C:\Users\User-PC\vue-learn\heroes-vue\node_modules\@vue\cli-service\lib\Service.js
[1] - C:\Users\User-PC\vue-learn\heroes-vue\node_modules\@vue\cli-service\bin\vue-cli-service.js (While processing: "C:\\Users\\User-PC\\vue-learn\\heroes-vue\\node_modules\\@vue\\cli-plugin-babel\\preset.js")
[1] at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
[1] at Function.Module._load (internal/modules/cjs/loader.js:841:27)
[1] at Module.require (internal/modules/cjs/loader.js:1025:19)
[1] at require (internal/modules/cjs/helpers.js:72:18)
[1] at Object.<anonymous> (C:\Users\User-PC\vue-learn\heroes-vue\node_modules\@babel\preset-env\lib\polyfills\corejs3\usage-plugin.js:10:55)
[1] at Module._compile (internal/modules/cjs/loader.js:1137:30)
[1] at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
[1] at Module.load (internal/modules/cjs/loader.js:985:32)
[1] at Function.Module._load (internal/modules/cjs/loader.js:878:14)
[1] at Module.require (internal/modules/cjs/loader.js:1025:19)
[1] at require (internal/modules/cjs/helpers.js:72:18)
[1] at Object.<anonymous> (C:\Users\User-PC\vue-learn\heroes-vue\node_modules\@babel\preset-env\lib\index.js:29:44)
[1] at Module._compile (internal/modules/cjs/loader.js:1137:30)
[1] at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
[1] at Module.load (internal/modules/cjs/loader.js:985:32)
[1] at Function.Module._load (internal/modules/cjs/loader.js:878:14)
[1] <s> [webpack.Progress] 100%
[1]
[1]
[1] @ multi (webpack)-dev-server/client?http://192.168.0.108:9626/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
[1]
Hi, I've followed your "Getting Started" steps, but I'm getting the following error when I run "npm run serve":
PS C:\build\heroes-vue\vue-app> npm run serve
> [email protected] serve C:\build\heroes-vue\vue-app
> vue-cli-service serve
INFO Starting development server...
ERROR Error: Cannot find module 'vue-loader-v16/package.json'
Require stack:
- C:\build\heroes-vue\vue-app\node_modules\@vue\cli-service\lib\config\base.js
- C:\build\heroes-vue\vue-app\node_modules\@vue\cli-service\lib\Service.js
- C:\build\heroes-vue\vue-app\node_modules\@vue\cli-service\bin\vue-cli-service.js
Error: Cannot find module 'vue-loader-v16/package.json'
Require stack:
- C:\build\heroes-vue\vue-app\node_modules\@vue\cli-service\lib\config\base.js
- C:\build\heroes-vue\vue-app\node_modules\@vue\cli-service\lib\Service.js
- C:\build\heroes-vue\vue-app\node_modules\@vue\cli-service\bin\vue-cli-service.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:794:15)
at Function.Module._load (internal/modules/cjs/loader.js:687:27)
at Module.require (internal/modules/cjs/loader.js:849:19)
at require (internal/modules/cjs/helpers.js:74:18)
at C:\build\heroes-vue\vue-app\node_modules\@vue\cli-service\lib\config\base.js:114:23
at C:\build\heroes-vue\vue-app\node_modules\@vue\cli-service\lib\Service.js:236:40
at Array.forEach (<anonymous>)
at Service.resolveChainableWebpackConfig (C:\build\heroes-vue\vue-app\node_modules\@vue\cli-service\lib\Service.js:236:26)
at Service.resolveWebpackConfig (C:\build\heroes-vue\vue-app\node_modules\@vue\cli-service\lib\Service.js:240:48)
at PluginAPI.resolveWebpackConfig (C:\build\heroes-vue\vue-app\node_modules\@vue\cli-service\lib\PluginAPI.js:132:25)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] serve: `vue-cli-service serve`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] serve script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
I can workaround this by installing the "vue-loader-v16" package, and then the app is functional, but I'm just wondering if there's something I'm missing?
🚨 You need to enable Continuous Integration on Greenkeeper branches of this repository. 🚨
To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.
Since we didn’t receive a CI status on the greenkeeper/initial
branch, it’s possible that you don’t have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.
If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/
.
Once you have installed and configured CI on this repository correctly, you’ll need to re-trigger Greenkeeper’s initial pull request. To do this, please click the 'fix repo' button on account.greenkeeper.io.
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.