Topic: Missing package.json file
Trying to set up the tutorial.
I reach the point where I enter mdb punblish then I get the message:- “Missing package.json file. Create? (Y/n)”
I don't know what to do at this point?
Sebastian Kaczmarek staff pro premium answered 6 years ago
Hi,
The package.json
file is required both by NPM and MDB CLI tool. If you somehow do not have one in the project root directory and run mdb publish
, then the MDB CLI will ask you to create one.
In your case, simply hit enter and npm init
will be run.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB Academy
- MDB Version: -
- Device: Laptop
- Browser: Opera
- OS: Windows 10
- Provided sample code: No
- Provided link: No