Open bogere opened 8 years ago
I hope the closed issues are going to solve my problem
I see you closed the issue. Were you able to fix the errors? Or is it closed by accident?
somehow i closed after managing to load the highchart library on the client... meteor/client/lib folder.. so i wanted your help on how to use it as meteor package... where u use in that project. iam using meteor version 1.2.1 To use Highcharts in Meteor 1.3+, install package from npm:
meteor npm install --save highcharts Now, include Highcharts in your project:
var Highcharts = require(‘highcharts');
so the problem is ReferenceError: require is not defined...
Meteor 1.2.1 does't support NPM packages, so you need to install highcharts-meteor package from atmosphere, installation:
> meteor add highcharts:highcharts-meteor
Then configure the package as described here.
I have the same problem as @bogere After adding the package it created a packages/highcharts-container directory with 3 corrupted files. After I manually edited those to look like the postfix, prefix and packageJS functions in https://github.com/highcharts/highcharts-meteor/blob/master/highcharts-builder.js#L58 it seemed to work a bit.
Looks like something changed with building a package on the Meteor side (?). Should be fixed, thank you for pointing this out! Could you update the package? It may be necessary to remove highcharts-container
folder from packages.
THank you for this great charting library... i dont why Iam getting this error when i meteor add this package to my web app. Iam using meteor version.... METEOR@1.2.1 `Started proxy.
=> Errors prevented startup:
While reading package from
/home/goldsoft25/Desktop/software/meteor/wekan-gold/packages/highcharts-container
: package.js:11: Unexpected token (11:0)=> Your application has errors. Waiting for file change. => Started MongoDB.
` Even when i try to meteor list.... it also crashes without showing meteor list.. iam u