development - npm webpack missing in package.json #949

Closed
opened 2026-02-04 23:08:42 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @ezzra on GitHub (Dec 11, 2018).

I am not very experienced with node/npm, but when setting up the development environment I had problems because webpack was missing, after installing it is now added to my package.json:

    "node-sass": "^4.10.0",
    "npm-install-webpack-plugin": "^4.0.5",
    "npm-run-all": "^4.1.5",

I assume, some developers have installed webpack globally and so don't need to install it with this project, but it should be checked/installed by composer.

Originally created by @ezzra on GitHub (Dec 11, 2018). I am not very experienced with node/npm, but when setting up the development environment I had problems because webpack was missing, after installing it is now added to my package.json: ``` "node-sass": "^4.10.0", "npm-install-webpack-plugin": "^4.0.5", "npm-run-all": "^4.1.5", ``` I assume, some developers have installed webpack globally and so don't need to install it with this project, but it should be checked/installed by composer.
Author
Owner

@ssddanbrown commented on GitHub (Dec 11, 2018):

Hi @ezzra,

I think you'd just need to run: npm install before running the development commands. Looks like I've made the assumption developers will know to do this so I'll update the readme with this line. Webpack will be installed locally as part of npm install.

@ssddanbrown commented on GitHub (Dec 11, 2018): Hi @ezzra, I think you'd just need to run: `npm install` before running the development commands. Looks like I've made the assumption developers will know to do this so I'll update the readme with this line. Webpack will be installed locally as part of `npm install`.
Author
Owner

@ezzra commented on GitHub (Dec 11, 2018):

mh Iam not sure but its possible that I forgot it, anyways its good to have it within the guidelines

@ezzra commented on GitHub (Dec 11, 2018): mh Iam not sure but its possible that I forgot it, anyways its good to have it within the guidelines
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#949