Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get ubuntu dev environment working per #11 #12

Merged
merged 9 commits into from
Jun 22, 2016
Merged

get ubuntu dev environment working per #11 #12

merged 9 commits into from
Jun 22, 2016

Conversation

mrjones-plip
Copy link
Contributor

@mrjones-plip mrjones-plip commented May 12, 2016

get ubuntu dev environment working per #11

@@ -1,7 +1,7 @@
/* eslint no-unused-vars: 0 */
import utils from './utils';
import defaultOptions from './defaultOptions';
import MapTable from './MapTable';
import MapTable from 'MapTable';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure that this would work.
import MapTable from './MapTable'; refers to importing the fiel ./MapTable.js

Copy link
Contributor Author

@mrjones-plip mrjones-plip May 12, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if I leave as you have it, I get the error:

➜  maptable git:(dev-7) ✗ gulp                                           
[14:45:47] Using gulpfile ~/Documents/maptable/gulpfile.js
[14:45:47] Starting 'default'...
[14:45:47] Starting 'clean:js:dev'...
[14:45:48] Finished 'clean:js:dev' after 14 ms
[14:45:48] Starting 'build:js:dev'...
[14:45:48] Starting 'build:css:dev'...
[14:45:48] 'build:js:dev' errored after 198 ms
[14:45:48] Error: Could not resolve ./MapTable from /home/mrjones/Documents/maptable/src/index.js
    at /home/mrjones/Documents/maptable/node_modules/rollup/dist/rollup.js:7857:37
    at tryCatch (/home/mrjones/Documents/maptable/node_modules/rollup/dist/rollup.js:400:12)
    at invokeCallback (/home/mrjones/Documents/maptable/node_modules/rollup/dist/rollup.js:412:13)
    at publish (/home/mrjones/Documents/maptable/node_modules/rollup/dist/rollup.js:383:7)
    at flush (/home/mrjones/Documents/maptable/node_modules/rollup/dist/rollup.js:127:5)
    at nextTickCallbackWith0Args (node.js:419:9)
    at process._tickCallback (node.js:348:13)

when I change it to MapTable though, I do get this error:

[14:51:07] Starting 'build:css:dev'...
Treating 'MapTable' as external dependency
No name was provided for external module 'MapTable' in options.globals – guessing 'MapTable'

which may also be bad? you can see #11 for details



## Release History
* Version 1.0.0 ?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Initial Commit

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks! i updated the readme.md with that info and as well added a bit of info i thought might be helpful for first time dev like me. lemme know if it's too verbose!

@@ -445,10 +477,11 @@ You are welcomed to fork the project and make pull requests.
#### Getting Started
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should provide the version of node and npm that we use:
Node 4 and npm 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants