Skip to content
New issue

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

Vue Design System doesn't start, errors with files #207

Open
caseytrombley opened this issue May 1, 2020 · 3 comments
Open

Vue Design System doesn't start, errors with files #207

caseytrombley opened this issue May 1, 2020 · 3 comments

Comments

@caseytrombley
Copy link

Unable to run this repo, after npm install and trying to run npm start there are errors that are not fixable:

design_system $ npm start

[email protected] start /Users/caseytrombley/Development/algaecal/design_system
npm-run-all --parallel styleguide theo:onchange theo dev

[email protected] theo /Users/caseytrombley/Development/algaecal/design_system
theo ./src/tokens/tokens.yml --transform web --format map.scss,scss,raw.json,json --dest ./src/assets/tokens

[email protected] theo:onchange /Users/caseytrombley/Development/algaecal/design_system
onchange "./src/tokens/*.yml" -- npm run theo

[email protected] styleguide /Users/caseytrombley/Development/algaecal/design_system
vue-styleguidist server --open --config ./config/docs.config.js

[email protected] dev /Users/caseytrombley/Development/algaecal/design_system
webpack-dev-server --inline --config ./build/webpack.dev.conf.js

internal/modules/cjs/loader.js:638
throw err;
^

Error: Cannot find module 'optimist'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/Users/caseytrombley/Development/algaecal/design_system/node_modules/theo/bin/theo.js:5:14)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] theo: theo ./src/tokens/tokens.yml --transform web --format map.scss,scss,raw.json,json --dest ./src/assets/tokens
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] theo script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/caseytrombley/.npm/_logs/2020-05-01T15_32_55_518Z-debug.log
ERROR: "theo" exited with 1.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: npm-run-all --parallel styleguide theo:onchange theo dev
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

@andersonAlmeida
Copy link

I am having the same problem

@elevatebart
Copy link
Collaborator

it is an error in https://github.com/salesforce-ux/theo
As a work around you can install optimist yourself.

@andersonAlmeida
Copy link

It worked. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants