Closed datamweb closed 1 year ago
Hmm... I just removed node_modules
and ran:
npm install
and then
npm run dev
No errors. Not sure how to reproduce.
The new installation is OK. I did not understand the reason!
P:\ci4\PR31-2>npm run dev
> myth-forums@1.0.0-dev dev
> parcel themes/default/css/app.scss themes/default/js/app.js --dist-dir ./public
Port "1234" could not be used
Server running at http://localhost:1975
| Building app.scss...
🌼 daisyUI components 2.52.0 https://daisyui.com
✔︎ Including: base, components, 29 themes, utilities
Server running at http://localhost:1975
- Building app.scss...
The contents of the package.json
file have changed. Maybe you didn't run npm install
?
Maybe you didn't run
npm install
?
I have run it after your comment. However, the problem was not resolved. I reinstalled and everything seems fine. I'm closing now.
Hmmm, I changed file package.json to this:
{
}
Then I executed command npm install
.
I filled the file again with this:
{
"name": "myth-forums",
"version": "1.0.0-dev",
"browserslist": "> 0.5%, last 2 versions, not dead",
"engines": {
"node": ">= 18"
},
"source": "src/index.js",
"main": "dist/main.js",
"dependencies": {
"alpinejs": "^3.13.0",
"daisyui": "^2.52.0",
"easymde": "^2.18.0",
"htmx.org": "^1.9.5"
},
"devDependencies": {
"@parcel/transformer-sass": "^2.9.3",
"@tailwindcss/typography": "^0.5.9",
"parcel": "^2.9.3",
"postcss": "^8.4.29",
"prettier": "^2.8.8",
"prettier-plugin-tailwindcss": "^0.2.8",
"tailwindcss": "^3.3.3"
},
"scripts": {
"dev": "parcel themes/default/css/app.scss themes/default/js/app.js --dist-dir ./public"
}
}
and run npm install
.
It works now.
Starting from #31