Comments (10)
@johno indeed this only occurs with global installs. It works when it is a local dependency and that is how I am using it now. These are the versions I am using node 9.11.1
, npm 6.1.0
and kit 1.0.37
.
Anyway thanks for kit. I love the simplicity of it.
from kit.
I am getting the same error …
from kit.
Thanks for the report! Do you mind providing your kit
, npm
, and node
versions please?
Have you also tried running the cli via your package.json
? I'm wondering if this error is specific to global installs.
from kit.
I'm having the same problem...
from kit.
I am trying this for the first time and got the same issue here with global installation...
I'm using node 8.9.1
npm 5.5.1
kit 1.0.37
Installing it as a devDependency works ok
Maybe updating the readme section Getting Started
is a good idea
kudos for the amazing project
from kit.
Thanks for reporting this! I can confirm that I have seen the same issue on one computer, but not the other. In #179 I'm attempting to change the webpack resolve as mentioned in webpack-contrib/webpack-hot-client#62, and have published a prerelease. If anyone can help by trying to install the following to confirm that it works as a global install, that'd be super helpful
npm i -g @compositor/kit-cli@alpha
from kit.
I have some errors with resolving babel-runtime
ERROR in ../components/Button.js
Module not found: Error: Can't resolve 'babel-runtime/helpers/taggedTemplateLiteral' in '/Users/jeetiss/Projects/systemo/components'
@ ../components/Button.js 7:30-84
@ ./Button.js
@ . sync nonrecursive \.(js|mdx|jsx)$
@ /Users/jeetiss/n/lib/node_modules/@compositor/kit-cli/node_modules/@compositor/x0/lib/entry.js
@ multi /Users/jeetiss/n/lib/node_modules/@compositor/kit-cli/node_modules/@compositor/x0/lib/entry
from kit.
I fix this in #180
from kit.
We just published another release that should hopefully solve the webpack-hot-client
error once and for all.
I believe the issue is similar to the babel-runtime
resolution as well. The underlying issue appears to be a result of @compositor/x0
sometimes being nested within @compositor/kit-cli/node_modules
and sometimes not.
Haven't a clue why this is occurring, but was able to fix it for webpack-hot-client
via c8r/x0#67 since it added an alias that relied on a flat installation (which isn't always the case).
from kit.
Going to close this as it seems to be fixed. If anyone encounters this error with the latest version of kit-cli please open up a new issue.
from kit.
Related Issues (20)
- Colorable: Return render props of all accessible combinations from a palette
- Add init command options
- Make template readmes consistent and link relevant projects for further docs
- Implement side nav grouping of components HOT 2
- Add component status to Example
- Add a flatten utility for deeply nested colors objects
- Add prop types to components
- Support for Workspaces HOT 1
- Remove styled-components dependency
- PropsForm.Select transforms booleans into strings HOT 1
- brace import fails static builds HOT 1
- kit init erroring out from scratch HOT 4
- `--mode library` asking for "an appropriate loader" HOT 6
- Add optional filter function for Cartesian component
- `kit ... --mode library` does not work with *rebass* HOT 3
- Be sure to include a link to Tachyons in your document?
- Provide an ES5 build HOT 4
- CLI `--webpack` flag doesn't appear to work
- 404 Error on https://compositor.io/kit
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 kit.