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

Can't find module with "specificArchitecture": "os" option #79

Open
sunlee-newyork opened this issue Nov 14, 2016 · 0 comments
Open

Can't find module with "specificArchitecture": "os" option #79

sunlee-newyork opened this issue Nov 14, 2016 · 0 comments
Assignees

Comments

@sunlee-newyork
Copy link

sunlee-newyork commented Nov 14, 2016

I was able to reproduce a Can't find module ./[NAME].scss error when using the "specificArchitecture": "os" option. It works fine with false.

Here is the call stack:


require.resolve	@	modules-runtime.js?hash=5b5615c…:139
Module.resolve	@	modules-runtime.js?hash=5b5615c…:91
Mp.import	@	modules.js?hash=23d18ab…:308
meteorInstall.imports.ui.pages.home.Home.jsx	@	app.js?hash=71abd75…:216
fileEvaluate	@	modules-runtime.js?hash=5b5615c…:191
require	@	modules-runtime.js?hash=5b5615c…:116
Mp.import	@	modules.js?hash=23d18ab…:317
meteorInstall.imports.startup.client.routes.jsx	@	routes.jsx:1
fileEvaluate	@	modules-runtime.js?hash=5b5615c…:191
require	@	modules-runtime.js?hash=5b5615c…:116
Mp.import	@	modules.js?hash=23d18ab…:317
meteorInstall.imports.startup.client.index.js	@	index.js:1
fileEvaluate	@	modules-runtime.js?hash=5b5615c…:191
require	@	modules-runtime.js?hash=5b5615c…:116
Mp.import	@	modules.js?hash=23d18ab…:317
meteorInstall.client.main.js	@	main.js:1
fileEvaluate	@	modules-runtime.js?hash=5b5615c…:191
require	@	modules-runtime.js?hash=5b5615c…:116
(anonymous function)	@	app.js?hash=71abd75…:376

This is my package.json setup:

  "dependencies": {
    "babel-runtime": "6.18.0",
    "meteor-node-stubs": "~0.2.0",
    "react": "^15.3.2",
    "react-addons-pure-render-mixin": "^15.3.2",
    "react-bootstrap": "^0.30.6",
    "react-dom": "^15.3.2",
    "react-mounter": "^1.2.0"
  },
  "devDependencies": {
    "autoprefixer": "^6.5.3",
    "node-sass": "^3.12.2",
    "postcss-modules-extract-imports": "^1.0.1",
    "postcss-modules-local-by-default": "^1.1.1",
    "postcss-modules-scope": "^1.0.2",
    "postcss-modules-values": "^1.2.2",
    "postcss-nested": "^1.0.0",
    "postcss-simple-vars": "^3.0.0"
  },
  "cssModules": {
    "extensions": [
      "css",
      "scss"
    ],
    "enableSassCompilation": [
      "scss"
    ],
    "ignorePaths": [
      "node_modules"
    ],
    "postcssPlugins": {
      "autoprefixer": {},
      "postcss-nested": {},
      "postcss-simple-vars": {},
      "postcss-modules-values": {},
      "postcss-modules-local-by-default": {},
      "postcss-modules-extract-imports": {},
      "postcss-modules-scope": {}
    },
    "specificArchitecture": "os"
  }

This is my meteor packages setup:

# Meteor packages used by this project, one per line.
# Check this file (and the other files in this directory) into your repository.
#
# 'meteor add' and 'meteor remove' will edit this file for you,
# but you can also edit it by hand.

[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]    # JS minifier run for production mode
standard-minifier-css
[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

kadira:flow-router
react-meteor-data
check
nathantreid:css-modules
@sunlee-newyork sunlee-newyork changed the title Can't find module with "specificiArchitecture": "os" Can't find module with "specificiArchitecture": "os" option Nov 14, 2016
@sunlee-newyork sunlee-newyork changed the title Can't find module with "specificiArchitecture": "os" option Can't find module with "specificArchitecture": "os" option Nov 14, 2016
@akanix42 akanix42 self-assigned this Nov 15, 2016
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

No branches or pull requests

2 participants