Open soumyart opened 7 years ago
Experiencing same issue
Polymer CLI: 0.18.1 node: v6.10.2 Operating System: Linux
C.
also fixed by https://github.com/Polymer/polymer-cli/pull/698 C.
Experiencing the same issue here
Versions & Environment Polymer CLI: 0.18.1 node: v6.9.4 Operating System: Linux
Iron ajax is not firing.
super({presets: [babiliPreset(null, {'unsafe': {'simplifyComparisons': false }})]});
Is there anything else that needs to be changed?
Sorry to ask, but did you re-build polymer-cli after the change ? It does work for me with similar config. C.
Sorry, forgot about that.
I've downloaded the updated repo and tried npm run build
Output was an error:
11 silly lifecycle polymer-cli@0.18.1~build: Args: [ '/d /s /c', 'gulp build' ]
12 silly lifecycle polymer-cli@0.18.1~build: Returned: code: 1 signal: null
13 info lifecycle polymer-cli@0.18.1~build: Failed to exec build script
14 verbose stack Error: polymer-cli@0.18.1 build: `gulp build`
14 verbose stack Exit status 1
14 verbose stack at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:255:16)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at EventEmitter.emit (events.js:191:7)
14 verbose stack at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:40:14)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at ChildProcess.emit (events.js:191:7)
14 verbose stack at maybeClose (internal/child_process.js:886:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
15 verbose pkgid polymer-cli@0.18.1
I recently updated to node 6.10.3 and npm to 3.10.10.
this is fixed in the latest build tools
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Description
Iron-ajax is not working after minifying the code using latest cli for Polymer 1 application. Once removed the --js-minify flag ajax worked as expected.
polymer.josn
iron-ajax
Versions & Environment
Steps to Reproduce
polymer init polymer-1-starter-kit
polymer build --js-compile --js-minify --css-minify --html-minify --bundle
polymer serve build\default
Expected Results
Application should run and Iron ajax should fetch the data.
Actual Results
Iron ajax event not fired.