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

Set up Webpack #17

Closed
kahboom opened this issue Oct 27, 2016 · 3 comments
Closed

Set up Webpack #17

kahboom opened this issue Oct 27, 2016 · 3 comments
Assignees

Comments

@kahboom
Copy link

kahboom commented Oct 27, 2016

Set up application to work with Webpack.

@kahboom kahboom self-assigned this Oct 27, 2016
@kahboom
Copy link
Author

kahboom commented Oct 27, 2016

@EricWittmann - Set up seems to work fine, but need to resolve an issue with SCSS:

screenshot 2016-10-27 17 09 54

@EricWittmann
Copy link
Member

I checked out your branch and ran

npm install
npm run build:prod

Here are my results:

$ npm run build:prod

> api-studio@1.0.0 prebuild:prod C:\Users\ewittman\tmp\kahboom\apiman-studio\front-end\app
> npm run clean:dist


> api-studio@1.0.0 clean:dist C:\Users\ewittman\tmp\kahboom\apiman-studio\front-end\app
> npm run rimraf -- dist

npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "rimraf" "--" "dist"
npm ERR! node v5.6.0
npm ERR! npm  v3.6.0

npm ERR! missing script: rimraf
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\ewittman\tmp\kahboom\apiman-studio\front-end\app\npm-debug.log

npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "clean:dist"
npm ERR! node v5.6.0
npm ERR! npm  v3.6.0
npm ERR! code ELIFECYCLE
npm ERR! api-studio@1.0.0 clean:dist: `npm run rimraf -- dist`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the api-studio@1.0.0 clean:dist script 'npm run rimraf -- dist'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the api-studio package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm run rimraf -- dist
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs api-studio
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls api-studio
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\ewittman\tmp\kahboom\apiman-studio\front-end\app\npm-debug.log

npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "build:prod"
npm ERR! node v5.6.0
npm ERR! npm  v3.6.0
npm ERR! code ELIFECYCLE
npm ERR! api-studio@1.0.0 prebuild:prod: `npm run clean:dist`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the api-studio@1.0.0 prebuild:prod script 'npm run clean:dist'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the api-studio package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm run clean:dist
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs api-studio
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls api-studio
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\ewittman\tmp\kahboom\apiman-studio\front-end\app\npm-debug.log

@EricWittmann
Copy link
Member

Closing due to recent migration to using @angular/cli for the UI (which uses webpack).

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

2 participants