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: missing rollup config #70

Closed
Saltallica opened this issue Aug 7, 2018 · 2 comments
Closed

Cannot build: missing rollup config #70

Saltallica opened this issue Aug 7, 2018 · 2 comments

Comments

@Saltallica
Copy link

Hi there, trying to build the bundled distribution for this project -
I'm assuming npm run build is the proper command.

I'm getting an error stating that the rollup.config.js is missing - I don't see it as part of the source code.

Here's the full terminal dump if it helps:

> pixi-sound@2.0.2 prebuild /Users/sean/projects/PaperGorillas/src/js/ext/pixi-sound
> npm run clean && npm run lint


> pixi-sound@2.0.2 clean /Users/sean/projects/PaperGorillas/src/js/ext/pixi-sound
> rimraf dist/**


> pixi-sound@2.0.2 lint /Users/sean/projects/PaperGorillas/src/js/ext/pixi-sound
> tslint examples/**.js test/*.js src/**.ts rollup.config.js --format=stylish --fix



> pixi-sound@2.0.2 build /Users/sean/projects/PaperGorillas/src/js/ext/pixi-sound
> npm run build:umd && npm run build:es


> pixi-sound@2.0.2 build:umd /Users/sean/projects/PaperGorillas/src/js/ext/pixi-sound
> rollup -c -f umd -o dist/pixi-sound.js

Error: ENOENT: no such file or directory, lstat '/Users/sean/projects/PaperGorillas/src/js/ext/pixi-sound/rollup.config.js'
    at Object.realpathSync (fs.js:1657:15)
    at runRollup (/Users/sean/projects/PaperGorillas/src/js/ext/pixi-sound/node_modules/rollup/bin/rollup:653:16)
    at Object.<anonymous> (/Users/sean/projects/PaperGorillas/src/js/ext/pixi-sound/node_modules/rollup/bin/rollup:907:2)
    at Module._compile (module.js:573:30)
    at Object.Module._extensions..js (module.js:584:10)
    at Module.load (module.js:507:32)
    at tryModuleLoad (module.js:470:12)
    at Function.Module._load (module.js:462:3)
    at Function.Module.runMain (module.js:609:10)
    at startup (bootstrap_node.js:158:16)

Thanks!

@bigtimebuddy
Copy link
Member

@Saltallica, we do not publish the src or Rollup config in NPM. If you want to build it yourself, you have to clone from GitHub directly.

@Saltallica
Copy link
Author

@bigtimebuddy Got it, sorry about the confusion. I was able to pull down the source and build with no issue - thanks again.

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