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

Build issue #2100

Closed
leesander1 opened this issue May 21, 2016 · 5 comments
Closed

Build issue #2100

leesander1 opened this issue May 21, 2016 · 5 comments

Comments

@leesander1
Copy link

Following along with the Codelab tutorials having difficulties getting my project to build properly for firebase deployment. I am using windows 10. Seems to be an issue with the the build failing.

C:\Users\leesa\Downloads\app>polymer build
info: Building application...
info: Generating build/unbundled...
info: Generating build/bundled...
warn: Unable to uglify file C:\Users\leesa\Downloads\app\bower_components\app-storage\app-indexeddb-mirror/app-indexeddb-mirror.html_script_0.js
warn: Unable to uglify file C:\Users\leesa\Downloads\app\bower_components\web-component-tester\data/index.html_script_0.js
warn: Unable to uglify file C:\Users\leesa\Downloads\app\bower_components\web-component-tester\data/index.html_script_2.js

@iblancasa
Copy link

If you go to "build" folder, you will have your files (I think).

I got this warnings too (ArchLinux with Node v4)

@JGSolutions
Copy link

JGSolutions commented May 22, 2016

I tried polymer build and i get this error

error { [Error: Cannot find module 'gulp'] code: 'MODULE_NOT_FOUND' }
Error: Cannot find module 'gulp'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (/Users/jerrygag/Desktop/gulpfile.js:13:12)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)

It seems to need gulp but this polymer-cli does not come with an npm package.json.

@leesander1
Copy link
Author

this was a duplicate issue #178 that was fixed with #188 followed the fix by @tennosys with a few minor exceptions with gulp complaining about the " so I changed them to ' then I just built the polymer-cli and it successfully built.

src/build/analyzer.ts line 83
this.files.set(path.join('', file.path), file);

src/build/uglify-transform.ts line 28
file.path = path.join('', file.path);

@tenosiswono
Copy link

Oh I see why my build is failing, thanks @leesander1

@JGSolutions
Copy link

Ok thanks @leesander1. I will keep track of this discussion.

@aomarks aomarks transferred this issue from Polymer/polymer-cli Jan 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants