We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to run a fresh quickstart project locally. I run npm start on Ubuntu 22.04, but I'm getting an error:
0 ➜ npm start > @diplodoc/[email protected] start /home/elwood/all/diplodoc-example > npm run build:docs && node scripts/serve.js > @diplodoc/[email protected] build:docs /home/elwood/all/diplodoc-example > yfm --input docs --output docs-html sh: 1: yfm: not found npm ERR! code ELIFECYCLE npm ERR! syscall spawn npm ERR! file sh npm ERR! errno ENOENT npm ERR! @diplodoc/[email protected] build:docs: `yfm --input docs --output docs-html` npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the @diplodoc/[email protected] build:docs script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install?
I installed YFM using the command from the official site npm i diagnostics_channel -g, but now there is another error:
npm i diagnostics_channel -g
130 ➜ npm start > @diplodoc/[email protected] start /home/elwood/all/diplodoc-example > npm run build:docs && node scripts/serve.js > @diplodoc/[email protected] build:docs /home/elwood/all/diplodoc-example > yfm --input docs --output docs-html internal/modules/cjs/loader.js:883 throw err; ^ Error: Cannot find module 'util/types' Require stack: - /home/elwood/.nvm/versions/node/v14.16.1/lib/node_modules/@diplodoc/cli/build/index.js at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15) at Function.Module._load (internal/modules/cjs/loader.js:725:27) at Module.require (internal/modules/cjs/loader.js:952:19) at require (internal/modules/cjs/helpers.js:88:18) at node_modules/undici/lib/web/fetch/util.js (/home/elwood/.nvm/versions/node/v14.16.1/lib/node_modules/@diplodoc/cli/build/index.js:158842:28) at __require (/home/elwood/.nvm/versions/node/v14.16.1/lib/node_modules/@diplodoc/cli/build/index.js:48:51) at node_modules/undici/lib/web/fetch/headers.js (/home/elwood/.nvm/versions/node/v14.16.1/lib/node_modules/@diplodoc/cli/build/index.js:166232:9) at __require (/home/elwood/.nvm/versions/node/v14.16.1/lib/node_modules/@diplodoc/cli/build/index.js:48:51) at node_modules/undici/lib/web/fetch/response.js (/home/elwood/.nvm/versions/node/v14.16.1/lib/node_modules/@diplodoc/cli/build/index.js:166679:102) at __require (/home/elwood/.nvm/versions/node/v14.16.1/lib/node_modules/@diplodoc/cli/build/index.js:48:51) { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/elwood/.nvm/versions/node/v14.16.1/lib/node_modules/@diplodoc/cli/build/index.js' ] }
The text was updated successfully, but these errors were encountered:
Finally I've found out how to make it work. The correct commands are:
npm install npm start
Sorry, something went wrong.
No branches or pull requests
I'm trying to run a fresh quickstart project locally. I run npm start on Ubuntu 22.04, but I'm getting an error:
I installed YFM using the command from the official site
npm i diagnostics_channel -g
, but now there is another error:The text was updated successfully, but these errors were encountered: