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.
Should start dev server on Windows
Doesn't start dev server, shows above message.
npm run clean:installnpm start@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!
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!