gridsome: Error: Unknown command develop in gridsome
Description
After installation of gridsome, when try to start running gridsome develop
Steps to reproduce
- Proceed with installation of Gridsome CLI tool
- Next create gridsome project
- Finally run command
gridsome develop
Expected result
gridsome develop to start local dev server at http://localhost:8080
Actual result
This should be running the gridsome application in our localhost, but it showing below mentioned error.
Environment
Paste the information here as shown by gridsome info
Srirams-MBP:mine sriramkarthick$ gridsome info
System:
OS: macOS Mojave 10.14.6
CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
Binaries:
Node: 12.13.1 - ~/.nvm/versions/node/v12.13.1/bin/node
Yarn: 1.16.0 - /usr/local/bin/yarn
npm: 6.12.1 - ~/.nvm/versions/node/v12.13.1/bin/npm
Browsers:
Chrome: 83.0.4103.116
Edge: 83.0.478.56
Firefox: 77.0.1
Safari: 13.1.1
Screenshot for your reference:
About this issue
- Original URL
- State: open
- Created 4 years ago
- Reactions: 6
- Comments: 21 (4 by maintainers)
Do a “npm install” before and it should work.
I’m also having the same problem with the command
Output:
I also ran
npm installin the correct directory, this didn’t help either. 😞Version: