Skip to content

Commit

Permalink
fix(run dev): Fixed the "npm run dev" problem
Browse files Browse the repository at this point in the history
As in salomonelli#385, salomonelli#421 and salomonelli#425, I was able to make this repo work out for me
doing this steps:
```md
I'm still learning VueJS and trying to improve my skills. Yesterday I was able to figure out (after search on the web) on how to make `npm run dev` works.

I've done this steps:

1. ### NPM Update
`npm update`

2.  ### NPM install webpack-merge
`npm i webpack-merge`

3.  ### Edit package json
```json
"scripts":{
...
	"dev": "NODE_OPTIONS='--openssl-legacy-provider' node build/dev-server.js"
...
}
```

After that, I was able to run the server on localhost.
```
  • Loading branch information
GabrielCoelho committed Sep 25, 2023
1 parent 4b9b085 commit edbd4d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"scripts": {
"docs": "node build/build.js",
"docs:serve": "cd docs/ && ws --port 8080 --rewrite '/best-resume-ever/* -> /$1'",
"dev": "node build/dev-server.js",
"dev": "NODE_OPTIONS='--openssl-legacy-provider' node build/dev-server.js",
"start": "node build/dev-server.js",
"pdf": "node scripts/export.js",
"pdf": "NODE_OPTIONS='--openssl-legacy-provider' node scripts/export.js",
"preview": "node scripts/preview.js",
"test:deleteFiles": "node test/scripts/deleteFiles.js",
"test:cafe": "testcafe chromium test/",
Expand Down Expand Up @@ -103,7 +103,7 @@
"webpack-bundle-analyzer": "3.6.0",
"webpack-dev-middleware": "3.4.0",
"webpack-hot-middleware": "2.24.2",
"webpack-merge": "4.1.4"
"webpack-merge": "^4.1.4"
},
"engines": {
"node": ">= 18.0.0",
Expand Down
1 change: 1 addition & 0 deletions src/resumes/resumes.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ import './left-right-projects.vue';
import './material-dark-projects.vue';
import './oblique-projects.vue';
import './side-bar-projects.vue';
import './template.vue';

0 comments on commit edbd4d8

Please sign in to comment.