synapsestudios / google-places-field Goto Github PK
View Code? Open in Web Editor NEWGoogle Places field react component
Google Places field react component
Need better handling of non-US locations
It's an issue we're inheriting from react-geosuggest, but that repo hasn't had any updates in the last 4 months. Might have to fork it to fix this.
After cloning the repo and doing an npm install I receive the following output:
`$ npm i
npm WARN prepublish-on-install As of npm@5, prepublish scripts will run only for npm publish.
npm WARN prepublish-on-install (In npm@4 and previous versions, it also runs for npm install.)
npm WARN prepublish-on-install See the deprecation note in npm help scripts for more information.
@synapsestudios/[email protected] prepublish C:\Users\Andrew\webstuff\google-places-field
npm run lint && npm test && npm run build
@synapsestudios/[email protected] lint C:\Users\Andrew\webstuff\google-places-field
eslint src
C:\Users\Andrew\webstuff\google-places-field\src\index.js
1:53 error Expected linebreaks to be 'LF' but found 'CRLF' linebreak-style
2:1 error Expected linebreaks to be 'LF' but found 'CRLF' linebreak-style
3:34 error Expected linebreaks to be 'LF' but found 'CRLF' linebreak-style
โ 3 problems (3 errors, 0 warnings)
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "lint"
npm ERR! node v7.7.4
npm ERR! npm v4.1.2
npm ERR! code ELIFECYCLE
npm ERR! @synapsestudios/[email protected] lint: eslint src
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @synapsestudios/[email protected] lint script 'eslint src'.
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 @synapsestudios/google-places-field package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! eslint src
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs @synapsestudios/google-places-field
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls @synapsestudios/google-places-field
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\Andrew\webstuff\google-places-field\npm-debug.log
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN @synapsestudios/[email protected] requires a peer of react@^15.4.0 but none was installed.
npm WARN [email protected] requires a peer of react@^15.4.2 but none was installed.
npm WARN [email protected] requires a peer of react@^0.14.0 || ^15.0.0 but none was installed.
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "i"
npm ERR! node v7.7.4
npm ERR! npm v4.1.2
npm ERR! code ELIFECYCLE
npm ERR! @synapsestudios/[email protected] prepublish: npm run lint && npm test && npm run build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @synapsestudios/[email protected] prepublish script 'npm run lint && npm test && npm run build'.
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 @synapsestudios/google-places-field package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run lint && npm test && npm run build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs @synapsestudios/google-places-field
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls @synapsestudios/google-places-field
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\Andrew\webstuff\google-places-field\npm-debug.log
`
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.