GithubHelp home page GithubHelp logo

Comments (12)

ButuzGOL avatar ButuzGOL commented on May 25, 2024

Please check #15 it might help

from react-lightning-design-system.

ButuzGOL avatar ButuzGOL commented on May 25, 2024

When pull be merged I will check

from react-lightning-design-system.

eyaleizenberg avatar eyaleizenberg commented on May 25, 2024

@ButuzGOL I tried using your fork with the branch "webpack" but I can't npm start. I am hit with:
Cannot resolve module 'react-lightning-design-system'

from react-lightning-design-system.

eyaleizenberg avatar eyaleizenberg commented on May 25, 2024

@stomita I am getting the same issue when trying it with your 0.1 branch

Any help?

from react-lightning-design-system.

stomita avatar stomita commented on May 25, 2024

Actually babel-runtime should be included in dependencies as it is a runtime lib. I'll fix it.

from react-lightning-design-system.

eyaleizenberg avatar eyaleizenberg commented on May 25, 2024

@stomita Is there a quick fix I can do in the meantime until you deploy a fix?

from react-lightning-design-system.

stomita avatar stomita commented on May 25, 2024

@eyaleizenberg move "babel-runtime" in devDependencies to dependencies and run npm install

from react-lightning-design-system.

stomita avatar stomita commented on May 25, 2024

0.2.4 has fixed the issue.

from react-lightning-design-system.

eyaleizenberg avatar eyaleizenberg commented on May 25, 2024

@stomita 0.2.4 still doesn't work for me.
Module not found: Error: Cannot resolve module 'react-lightning-design-system'

from react-lightning-design-system.

stomita avatar stomita commented on May 25, 2024

@eyaleizenberg Are you meaning you cannot run the examples in the repo ? If so, you should run npm install in "examples" folder before startup.

from react-lightning-design-system.

eyaleizenberg avatar eyaleizenberg commented on May 25, 2024

@stomita no, I added this to my package.json
"react-lightning-design-system": "github:stomita/react-lightning-design-system#e870f81"

And when I require it in my component:
Lightning = require('react-lightning-design-system')

I get in my npm start terminal:
Module not found: Error: Cannot resolve module 'react-lightning-design-system'

from react-lightning-design-system.

stomita avatar stomita commented on May 25, 2024

@eyaleizenberg It is because you are using github reference in dependency. The source does not contain the transpiled code. Use official npm or clone the source code and build by your own.

from react-lightning-design-system.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.