Terra-core: Can't start dev server on Windows

Created on 15 May 2018  路  4Comments  路  Source: cerner/terra-core

Issue Description

After cloning the project, running npm run clean:install and npm run build, I'm unable to start the dev server using npm start

位 npm start

> [email protected] start C:\workspace\dv297_personal_repo\terra-core
> tt:serve --config webpack.config

The filename, directory name, or volume label syntax is incorrect.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `tt:serve --config webpack.config`
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.

Issue Type

  • [ ] New Feature
  • [ ] Enhancement
  • [X] Bug
  • [ ] Other

Expected Behavior

Should start dev server on Windows

Current Behavior

Doesn't start dev server, shows above message.




Steps to Reproduce


  1. Clone project on Windows machine
  2. Run npm run clean:install
  3. Run npm start

Environment

  • Component Version:
  • Browser Name and Version: Google Chrome Version 66.0.3359.139 (Official Build) (64-bit)
  • Operating System and version (desktop or mobile): Windows 10 Enterprise - Desktop
bug help wanted

Most helpful comment

Looks like terra-toolkit was updated to 4.x.x, just checked out the project and was able to start the dev server, closing this issue, thanks!

All 4 comments

@BenBoersma This is likely the issue you are working through with webpack.

Need to follow up with @BenBoersma on this

Windows doesn't allow certain characters in the naming of files (in this case ':') and NPM was trying to create a file that linked to Terra-Toolkit's bin file "tt:serve". This fails silently during 'npm install'.

This error should be fixed with Terra-Toolkit version 4.0.0 with the renaming of "tt:serve" to "tt-serve" since that does not conflict Windows' naming conventions.

Looks like terra-toolkit was updated to 4.x.x, just checked out the project and was able to start the dev server, closing this issue, thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bjankord picture bjankord  路  3Comments

neilpfeiffer picture neilpfeiffer  路  3Comments

JS062512 picture JS062512  路  6Comments

bjankord picture bjankord  路  3Comments

bjankord picture bjankord  路  5Comments