Giter Club home page Giter Club logo

Comments (6)

natew avatar natew commented on May 18, 2024

This should be fixed with the latest, try a fresh install and let me know.

from tamagui.

webbyink avatar webbyink commented on May 18, 2024

This should be fixed with the latest, try a fresh install and let me know.

After deleting all npm & yarn global cache and the tamagui starter template, I installed the template fresh but the problem persists.

from tamagui.

natew avatar natew commented on May 18, 2024

Can you give OS, node info?

from tamagui.

webbyink avatar webbyink commented on May 18, 2024

Can you give OS, node info?

OS: Windows 10
Node: 14 & Node: 16

from tamagui.

maitriyogin avatar maitriyogin commented on May 18, 2024

I get the same, created a fresh expo project, tried to copy over the relevant tamagui config and dependencies from the starter project (npx create-tamagui-app@latest). The started project works, but I didn't want Next or a monorepo for my example...

Run yarn start
and get

Unable to resolve module react-native-web/dist/cjs/tamagui-exports from /Users/stephenwhite/projects/maitriyogin/callista/news-reader/node_modules/@tamagui/core/dist/cjs/constants/rnw.js: react-native-web/dist/cjs/tamagui-exports could not be found within the project or in these directories:
  node_modules/@tamagui/core/node_modules
  node_modules
  ../../../node_modules
  ../../../../node_modules
  25 | const rnw = {};
  26 | if (process.env.IS_STATIC === "is_static") {
> 27 |   Object.assign(rnw, interopRequire(require("react-native-web/dist/cjs/tamagui-exports")));
     |                                              ^
  28 | } else if (process.env.TAMAGUI_TARGET === "web") {
  29 |   Object.assign(rnw, interopRequire(require("react-native-web").TamaguiExports));
  30 | }

I can provide more info but just thought I'd throw this out for now to see if this rung any bells ...
/Stephen.

from tamagui.

natew avatar natew commented on May 18, 2024

Tested on the latest and it seems fine, lmk if still a bug

from tamagui.

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.