Comments (5)
Don't know of a manual way that will keep the file up-to-date, but if you
just want the version, you can copy the file from
.meteor/local/bower/purecloud-api/.js to client/.js.
Otherwise, post your bower.json file and I can take a look
On Tue, Feb 9, 2016 at 11:16 PM, Jeffrey Lin [email protected]
wrote:
The package I am trying to use is has a bower.json file with "main" in the
bower.json file.Even though main references the .js file I need, the JavaScript file is
not getting loaded into my project. (I'm unable to call any of the methods
in the .js file)Is there a way to manually add the .js file to be downloaded into my
project?The bower package I am trying to get working is purecloud-api.
—
Reply to this email directly or view it on GitHub
#112.
from meteor-bower.
This is my bower.json file in my project root:
{
"name": "my-app",
"version": "0.0.1",
"dependencies": {
"select2": "3.4.5",
"backbone": "1.1.0",
"PureCloud": "purecloud-api#^0.0.5-beta"
},
"private": true
}
This is my package's bower.json file:
{
"name": "PureCloud",
"homepage": "https://github.com/MyPureCloud/purecloud_javascript_client",
"authors": [
"Interactive Intelligence"
],
"description": "A wrapper for the Public API made out of JavaScript",
"main": "dist/purecloud-api.js",
"moduleType": [
"globals"
],
"license": "MIT",
"ignore": [
".*",
"src",
"gulp-tasks",
"examples",
"node_modules",
"bower_components",
"test",
"tests",
"*.*"
]
}
from meteor-bower.
I was able to get the .js file loaded into my project, but still am unable to use the Methods defined in the javascript file. Do you know what might be the cause?
from meteor-bower.
@jeffrey-lin how did you managed to get it loading?
from meteor-bower.
All I did was create a client directory in my root folder and copied the .js file there, probably not the best way to go about it though.
from meteor-bower.
Related Issues (20)
- ignoredDependencies does not work HOT 1
- Unknown error with empty dependency list HOT 7
- Remove installed package HOT 1
- JS load order with bower install --save
- Bower package loads in lib/main.jsx but not in lib/transit.jsx
- Fails silently in Meteor 1.2+ HOT 4
- Local Database Fails to Start after installing Polymer HOT 5
- Won't load despite main being defined
- Error while starting meteor HOT 7
- Using a specific js file from a dependency HOT 1
- Javascript files not loaded in client when _originalSource != name HOT 2
- Error when adding package on my meteor app HOT 2
- Question: Where can I put the bower folder in? HOT 2
- Bower dependencies list must be a dictionary HOT 1
- Excluding files from dependency
- ignoredDependencies not working HOT 3
- After upgrade to 1.3: Packages not available anymore HOT 6
- Can't find dependencies modules anymore meteor 1.2 HOT 2
- bower old
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meteor-bower.