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

Cannot build project using npm run build #6

Open
idanb11 opened this issue Nov 29, 2017 · 0 comments
Open

Cannot build project using npm run build #6

idanb11 opened this issue Nov 29, 2017 · 0 comments

Comments

@idanb11
Copy link

idanb11 commented Nov 29, 2017

I'm getting the following error message

$ npm run build

> [email protected] build ..\node_modules\angular2-knob
> npm run cleanup && ngc && npm run bundling && npm run minify


> [email protected] cleanup ..\node_modules\angular2-knob
> rimraf dist/bundles dist/src dist/index.d.ts dist/index.js dist/index.js.map dist/LICENCE dist/README.md


> [email protected] bundling ..\node_modules\angular2-knob
> rollup -c

(!) Some options have been renamed
https://gist.github.com/Rich-Harris/d472c50732dab03efeb37472b08a3f32
options.entry is now options.input
options.moduleName is now options.name
options.dest is now options.output.file
options.format is now options.output.format

dist/index.js → dist/bundles/angular2-knob.umd.js...
[!] Error: Could not resolve './src/index' from dist\index.js
Error: Could not resolve './src/index' from dist\index.js
    at error (..\node_modules\angular2-knob\node_modules\rollup\dist\rollup.js:185:14)
    at then.resolvedId (..\node_modules\angular2-knob\node_modules\rollup\dist\rollup.js:9804:8)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    at Function.Module.runMain (module.js:678:11)
    at startup (bootstrap_node.js:187:16)
    at bootstrap_node.js:608:3

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] bundling: `rollup -c`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] bundling 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!     ..\npm-cache\_logs\2017-11-29T15_12_16_196Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: `npm run cleanup && ngc && npm run bundling && npm run minify`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

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

1 participant