scorpius icon indicating copy to clipboard operation
scorpius copied to clipboard

meteor add aldeed:tabular is not work with "Error,You must install tabular to use this package"

Open dzhdgi3dp opened this issue 8 years ago • 37 comments

I install scorpius with some error, can't fix.My meteor version is 1.4.2.3.

W20161213-17:05:04.585(8)? (STDERR) W20161213-17:05:04.586(8)? (STDERR) /home/goya/.meteor/packages/meteor-tool/.1.4.2_3.17tso1e++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:280 W20161213-17:05:04.586(8)? (STDERR) throw(ex); W20161213-17:05:04.586(8)? (STDERR) ^ W20161213-17:05:04.607(8)? (STDERR) Error: You must install tabular to use this package [scorpius] W20161213-17:05:04.608(8)? (STDERR) at meteorInstall.node_modules.meteor.scorpiusjs:accounts.tabular.js (packages/scorpiusjs:accounts/tabular.js:12:9) W20161213-17:05:04.608(8)? (STDERR) at fileEvaluate (packages/modules-runtime.js:181:9) W20161213-17:05:04.608(8)? (STDERR) at require (packages/modules-runtime.js:106:16) W20161213-17:05:04.608(8)? (STDERR) at /home/goya/web/.meteor/local/build/programs/server/packages/scorpiusjs_accounts.js:1108:1 W20161213-17:05:04.608(8)? (STDERR) at /home/goya/web/.meteor/local/build/programs/server/packages/scorpiusjs_accounts.js:1130:3 W20161213-17:05:04.608(8)? (STDERR) at /home/goya/web/.meteor/local/build/programs/server/boot.js:295:34 W20161213-17:05:04.608(8)? (STDERR) at Array.forEach (native) W20161213-17:05:04.609(8)? (STDERR) at Function..each..forEach (/home/goya/.meteor/packages/meteor-tool/.1.4.2_3.17tso1e++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/underscore/underscore.js:79:11) W20161213-17:05:04.609(8)? (STDERR) at /home/goya/web/.meteor/local/build/programs/server/boot.js:128:5 W20161213-17:05:04.609(8)? (STDERR) at /home/goya/web/.meteor/local/build/programs/server/boot.js:344:5

dzhdgi3dp avatar Dec 13 '16 09:12 dzhdgi3dp

I face the same issue.

deepupathak avatar Dec 19 '16 06:12 deepupathak

Console shows these messages : I20161220-11:33:03.689(8)? Ignoring duplicate publish named 'tabular_genericPub' I20161220-11:33:03.727(8)? Ignoring duplicate publish named 'tabular_getInfo'

dzhdgi3dp avatar Dec 20 '16 03:12 dzhdgi3dp

Hello @dzhdgi3dp , Thank you for submitting this issue. By any chance is this a brand new setup, or is this upgrading for an existing project.

rwatts3 avatar Dec 20 '16 03:12 rwatts3

@rwatts3, errors occured in both new setup and existing project.

dzhdgi3dp avatar Dec 21 '16 01:12 dzhdgi3dp

+1

gauravkeerthi avatar Dec 21 '16 08:12 gauravkeerthi

I've just published an update. Please update and test.

rwatts3 avatar Dec 21 '16 09:12 rwatts3

Works for me. Thanks! Unrelated question (sorry): since there is no official documentation for scorpius yet, can I just assume that I can refer to the OrionJs doc to learn how to use this (but change Orion to Scorpius each time)?

gauravkeerthi avatar Dec 21 '16 09:12 gauravkeerthi

Certainly,

The 0 based releases of Scorpius was purely meant to help fix some of the outstanding bugs of Orion, and keep support for those who already created projects using Orion. Version 1.0 of Scorpius aims to be a complete rewrite using Vue.js as the view layer of the admin panel, and essentially turning Scorpius into a headless CMS. which would allow you to use any framework you'd like.

rwatts3 avatar Dec 21 '16 10:12 rwatts3

Version 1.0 of Scorpius aims to be a complete rewrite using Vue.js as the view layer of the admin panel, and essentially turning Scorpius into a headless CMS. which would allow you to use any framework you'd like.

@rwatts3 are you already working on it or that's just ideas?

chompomonim avatar Dec 21 '16 10:12 chompomonim

In very early stages of planning right now. Researching Apollo, and Graphql for API layer.

rwatts3 avatar Dec 21 '16 10:12 rwatts3

After upgraded scorpiusjs:accounts to 0.3.1_2,installed "aldeed:tabular" "nicolaslopezj:tabular-materialize",still has same error. New project also has same error. @rwatts3

Your app is crashing. Here's the latest log: Ignoring duplicate publish named 'tabular_genericPub' Ignoring duplicate publish named 'tabular_getInfo'

/home/goya/.meteor/packages/meteor->tool/.1.4.2_3.17tso1e++os.linux.x86_64+web.browser+web.cordova/mt->os.linux.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:280 throw(ex); ^ Error: You must install tabular to use this package [scorpius]

dzhdgi3dp avatar Dec 21 '16 14:12 dzhdgi3dp

Also getting this error now after update.

krishaamer avatar Dec 21 '16 15:12 krishaamer

Ok this has been really difficult to debug, as some projects I was not able to replicate the problem at all, then in others including a new setup. I was able to reproduce the issue.

Please update and let me know if the new release to accounts fixes the issue.

rwatts3 avatar Dec 22 '16 01:12 rwatts3

accounts 0.3.1_3 is still same error. @rwatts3

dzhdgi3dp avatar Dec 22 '16 01:12 dzhdgi3dp

weird, ok can you paste your packages file here .

rwatts3 avatar Dec 22 '16 01:12 rwatts3

accounts-base 1.2.14 A user account system accounts-password 1.3.3 Password support for accounts accounts-ui 1.1.9 Simple templates to add login widge... aldeed:tabular 2.1.1 Datatables for large or small datas... blaze-html-templates 1.0.5 Compile HTML templates into reactiv... ecmascript 0.6.1 Compiler plugin that supports ES201... es5-shim 4.6.15 Shims and polyfills to improve ECM... insecure 1.0.7 (For prototyping only) Allow all da... jquery 1.11.10 Manipulate the DOM using CSS sele... kadira:blaze-layout 2.3.0 Layout Manager for Blaze (works wel... kadira:flow-router 2.12.1 Carefully Designed Client Side Rou... less 2.7.8 Leaner CSS language meteor-base 1.0.4 Packages that every Meteor app needs mobile-experience 1.0.4 Packages for a great mobile user ex... mongo 1.1.14 Adaptor for using MongoDB and Mini... nicolaslopezj:tabular-materialize 1.4.1_4 Datatables for large or small dat... reactive-var 1.0.11 Reactive variable scorpiusjs:accounts 0.3.1_3 Scorpius accounts manager scorpiusjs:core 0.3.1 A framework that makes complex as w... shell-server 0.2.1 Server-side component of the `meteo... standard-minifier-css 1.3.2 Standard css minifier used with Met... standard-minifier-js 1.2.1 Standard javascript minifiers used ... tracker 1.1.1 Dependency tracker to allow reactiv... twbs:bootstrap 3.3.6 The most popular front-end framewor... useraccounts:bootstrap 1.14.2 Accounts Templates styled for Twit...

dzhdgi3dp avatar Dec 22 '16 02:12 dzhdgi3dp

ok try removing nicolaslopezj:tabular-materialize and aldeed:tabular my previous instruction may have been wrong.

rwatts3 avatar Dec 22 '16 02:12 rwatts3

Still can't work...

aldeed:tabular removed from your project nicolaslopezj:tabular-materialize removed from your project

W20161222-10:17:25.161(8)? (STDERR)
W20161222-10:17:25.190(8)? (STDERR) /home/goya/.meteor/packages/meteor-tool/.1.4.2_3.17tso1e++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:280 W20161222-10:17:25.191(8)? (STDERR) throw(ex); W20161222-10:17:25.191(8)? (STDERR) ^ W20161222-10:17:25.192(8)? (STDERR) Error: You must install tabular to use this package [scorpius]

dzhdgi3dp avatar Dec 22 '16 02:12 dzhdgi3dp

I can confirm the error with an existing app (below) as well as a fresh clean install meteor add scorpiusjs:core.

adamkaczmarzyk:marker-animate-unobtrusive  0.0.17  Marker animation for Google Maps Javascript API v3
blaze-html-templates                       1.0.5  Compile HTML templates into reactive UI with Meteor Blaze
cosio55:autoform-cloudinary                0.0.2  Use Cloudinary with autoform/simpleschema to upload an image, and s...
d3js:d3                                    3.5.8  D3 (official): A JavaScript visualization library for HTML and SVG.
dburles:google-maps                        1.1.5  Google Maps Javascript API v3
easy:search                                2.1.5  Easy-to-use search with Blaze Components (+ Elastic Search Support)
ecmascript                                 0.6.1  Compiler plugin that supports ES2015+ in all .js files
erasaur:meteor-lodash                      4.0.0  Wrapper for Lo-Dash v4.0.0
es5-shim                                   4.6.15  Shims and polyfills to improve ECMAScript 5 support
flowkey:hotkeys                            1.2.0  Easy and effective hotkeys for your app, powered by Mousetrap
francocatena:status                        1.5.3  Displays the connection status between browser and server
jquery                                     1.11.10  Manipulate the DOM using CSS selectors
juliancwirko:postcss                       1.2.0  Minifier for Meteor with PostCSS processing - use Autoprefixer and ...
kadira:blaze-layout                        2.3.0  Layout Manager for Blaze (works well with FlowRouter)
kadira:flow-router                         2.12.1  Carefully Designed Client Side Router for Meteor
less                                       2.7.8  Leaner CSS language
lookback:body-class                        0.4.1  Automatically add classes for router templates and layouts for scop...
lukemadera:social-share                    1.2.0  Cross platform (inc. Cordova) social sharing for facebook, twitter,...
meteor-base                                1.0.4  Packages that every Meteor app needs
mobile-experience                          1.0.4  Packages for a great mobile user experience
mongo                                      1.1.14  Adaptor for using MongoDB and Minimongo over DDP
npm-bcrypt                                 0.9.2  Wrapper around the bcrypt npm package
okgrow:analytics                           2.0.1  Complete Google Analytics, Mixpanel, KISSmetrics (and more) integra...
okgrow:router-autoscroll                   0.1.8  Smart management of scroll position across route changes for Iron a...
ostrio:spiderable-middleware               1.0.2  Allow your JavaScript website to be crawled perfectly by search eng...
philippspo:momentum-flow-router            0.0.8  A momentum plugin for transitioning Flow Router pages
redhead:autoform-markdown-materialize      1.0.0_1  A simple autoform markdown with preview using perak:markdown and ...
scorpiusjs:core                            0.3.1  A framework that makes complex as well as simple apps possible with...
semantic:ui                                2.2.6_5  Official Semantic UI Integration for Meteor
session                                    1.1.7  Session variable
shell-server                               0.2.1  Server-side component of the `meteor shell` command.
smaltcreation:imagesloaded                 4.1.0  imagesloaded 4.1.0
standard-minifier-js                       1.2.1  Standard javascript minifiers used with Meteor apps by default.
tap:i18n                                   1.8.2  A comprehensive internationalization solution for Meteor
tap:i18n-ui                                0.8.0  User interface for the tap-i18n package
tracker                                    1.1.1  Dependency tracker to allow reactive callbacks
useraccounts:flow-routing                  1.14.2  UserAccounts package providing routes configuration capability via...

krishaamer avatar Dec 22 '16 12:12 krishaamer

ok what Meteor version are you guys using. it's extremely hit or miss for some reason. it may be related to the apiVersion i set the packages to 1.4.2.3

rwatts3 avatar Dec 22 '16 17:12 rwatts3

Meteor 1.4.2.3

krishaamer avatar Dec 22 '16 18:12 krishaamer

Ok if you could pull the Scorpios repo and add the accounts package and see if you can narrow down the potential cause. It appears the issue is either going to be in the package.js dependencies or within tabular.js in the meantime ill keep looking into the problems problem

On Thu, Dec 22, 2016, 11:10 AM Kris Haamer [email protected] wrote:

Meteor 1.4.2.3

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/scorpiusjs/scorpius/issues/40#issuecomment-268857364, or mute the thread https://github.com/notifications/unsubscribe-auth/AFFsSWpnLbvY5UEns-9P_5azX04W6Lh9ks5rKr0ygaJpZM4LLfds .

rwatts3 avatar Dec 22 '16 18:12 rwatts3

I've tested this again with the latest releases and cannot confirm this error. If anyone else is still having this issue please feel free to re-open.

rwatts3 avatar Dec 29 '16 22:12 rwatts3

Got it as well on a simple project with meteor 1.4.2.3

I'm using this package list : [email protected] [email protected] aldeed:[email protected] aldeed:[email protected] aldeed:[email protected] aldeed:[email protected] aldeed:[email protected] aldeed:[email protected] aldeed:[email protected] [email protected] anti:[email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]_4 dburles:[email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] fortawesome:[email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] jeremy:[email protected]_5 [email protected] kadira:[email protected] kadira:[email protected] [email protected] [email protected] [email protected] [email protected] [email protected] matb33:[email protected] mdg:[email protected] [email protected] [email protected] [email protected] meteorhacks:[email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] momentjs:[email protected] [email protected] [email protected] nicolaslopezj:[email protected] nicolaslopezj:[email protected] nicolaslopezj:[email protected] nicolaslopezj:[email protected] [email protected] [email protected]_2 [email protected] [email protected] [email protected] raix:[email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] scorpiusjs:[email protected]_3 scorpiusjs:[email protected] scorpiusjs:[email protected]_2 scorpiusjs:[email protected] scorpiusjs:[email protected] scorpiusjs:[email protected] scorpiusjs:[email protected] scorpiusjs:[email protected] scorpiusjs:[email protected] scorpiusjs:[email protected] scorpiusjs:[email protected] scorpiusjs:[email protected] scorpiusjs:[email protected] scorpiusjs:[email protected] [email protected] [email protected] [email protected] [email protected] softwarerero:[email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] summernote:[email protected] [email protected] [email protected] [email protected] [email protected] [email protected] twbs:[email protected] [email protected] [email protected] [email protected] useraccounts:[email protected] useraccounts:[email protected] vsivsi:[email protected] [email protected] [email protected]

with those meteor packages :

[email protected] # Packages every Meteor app needs to have [email protected] # Packages for a great mobile UX [email protected] # The database Meteor supports right now [email protected] # Compile .html files into Meteor Blaze views [email protected] # Reactive variable for tracker [email protected] # Helpful client-side library [email protected] # Meteor's client-side reactive programming library

[email protected] # CSS minifier run for production mode [email protected] # JS minifier run for production mode [email protected] # ECMAScript 5 compatibility for older browsers. [email protected] # Enable ECMAScript2015+ syntax in app code [email protected] # Server-side component of the meteor shell command

twbs:bootstrap fortawesome:fontawesome scorpiusjs:bootstrap kadira:flow-router kadira:blaze-layout scorpiusjs:summernote [email protected] scorpiusjs:image-attribute scorpiusjs:file-collection scorpiusjs:filesystem scorpiusjs:relationships matb33:collection-hooks aldeed:tabular

@rwatts3 i can share a repo with you if you wish

mmazloum avatar Jan 10 '17 14:01 mmazloum

If I get back to meteor 1.4.1.1 and remove unecessary node modules everything goes fine.

mmazloum avatar Jan 10 '17 15:01 mmazloum

I've only had the same problems with 1.4.2.x none of my projects will update to it without seeing similar "Error you must install x package" - I've mostly seen in mention "underscore" but also some others. I've tried full reinstall of meteor both on windows and linux, wiping it clean. My only success was with a project after moving to a fresh install of Ubuntu.

Are you on Windows? I'm skeptical of the Windows meteor installation anymore...

mostlyharmless2024 avatar Jan 10 '17 15:01 mostlyharmless2024

I've too noticed this issue. I'm almost partial to say that it could be a bug in the meteor build process. Have you tried blitzing the meteor root and running a fresh install ? It thought it was particular to the tabular and accounts package, but after making several updates. I found that it was a race condition, where sometimes the error would show and other times it wouldn't .

Try blitzing meteor, and reinstalling it using the curl command.

curl https://install.meteor.com  | sh

In the meantime, i have noticed several issues as such, where working on a project sometimes on windows, then working on the same project in another os such as mac these type of problems arise.

The next release of Scorpius I will include a dockerfile and docker-compose.yml file to help create a consistent environment between different development hosts. If you are on board with this approach please give a thumbs up. if not thumbs down.

rwatts3 avatar Jan 10 '17 22:01 rwatts3

@mmazloum yes please share the repo, i'll try to reproduce

rwatts3 avatar Jan 10 '17 22:01 rwatts3

@rwatts3 I managed to reproduce the error easily via the following. Using Meteor 1.4.2.3.

meteor create Test --bare
cd Test
meteor npm install
meteor add iron:router scorpiusjs:accounts
meteor npm install --save babel-runtime
meteor

ahmadsholehin avatar Feb 05 '17 14:02 ahmadsholehin

@ahmadsholehin thank you for sharing this. I'm wondering at this point due to the frequency and randomness of this bug if it could be related to the build release of 1.4.2.3.

I will be testing this further once the next version of meteor is released.

rwatts3 avatar Feb 05 '17 20:02 rwatts3