question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No loader specified Error: No loader specified

See original GitHub issue

Fresh copy of the kit with builders.android.enabled = true in .spinrc.json

yarn watch v0.27.5 $ spin watch Generating vendor_web DLL bundle with modules: [“apollo-client”,“apollo-logger”,“bootstrap”,“cors”,“graphql”,“graphql-iso-date”,“graphql-tag”,“history”,“immutability-helper”,“jwt-decode”,“lodash”,“minilog”,“persistgraphql”,“prop-types”,“react”,“react-apollo”,“react-cookie”,“react-dom”,“react-ga”,“react-helmet”,“react-hot-loader”,“react-redux”,“react-router”,“react-router-dom”,“react-router-redux”,“react-transition-group”,“reactstrap”,“redux”,“redux-devtools-extension”,“redux-form”,“styled-components”,“subscriptions-transport-ws”] Generating vendor_android DLL bundle with modules: [“@expo/vector-icons”,“apollo-client”,“apollo-logger”,“cors”,“expo”,“graphql”,“graphql-iso-date”,“graphql-tag”,“immutability-helper”,“lodash”,“minilog”,“prop-types”,“react”,“react-apollo”,“react-native”,“react-navigation”,“redux”,“subscriptions-transport-ws”,“/home/xxx/node_modules/spinjs/lib/plugins/react-native/react-native-polyfill.js”] webpack-for-webDll Time: 40028ms [HPM] Proxy created: !/*.hot-update.{json,js} -> http://10.0.3.225:8080 webpack-for-web Webpack web dev server listening on http://10.0.3.225:3000 webpack-for-androidDll Time: 58481ms

ERROR in ./node_modules/react-navigation/src/createNavigationContainer.js Module not found: Error: Can’t resolve ‘./PlatformHelpers’ in ‘/home/xxx/node_modules/react-navigation/src’ resolve ‘./PlatformHelpers’ in ‘/home/xxx/node_modules/react-navigation/src’ using description file: /home/xxx/node_modules/react-navigation/package.json (relative path: ./src) Field ‘browser’ doesn’t contain a valid alias configuration after using description file: /home/xxx/node_modules/react-navigation/package.json (relative path: ./src) using description file: /home/xxx/node_modules/react-navigation/package.json (relative path: ./src/PlatformHelpers) no extension Field ‘browser’ doesn’t contain a valid alias configuration /home/xxx/node_modules/react-navigation/src/PlatformHelpers doesn’t exist .android.jsx Field ‘browser’ doesn’t contain a valid alias configuration /home/xxx/node_modules/react-navigation/src/PlatformHelpers.android.jsx doesn’t exist .android.js Field ‘browser’ doesn’t contain a valid alias configuration /home/xxx/node_modules/react-navigation/src/PlatformHelpers.android.js doesn’t exist .nativejsx Field ‘browser’ doesn’t contain a valid alias configuration /home/xxx/node_modules/react-navigation/src/PlatformHelpers.nativejsx doesn’t exist .nativejs Field ‘browser’ doesn’t contain a valid alias configuration /home/xxx/node_modules/react-navigation/src/PlatformHelpers.nativejs doesn’t exist .jsx Field ‘browser’ doesn’t contain a valid alias configuration /home/xxx/node_modules/react-navigation/src/PlatformHelpers.jsx doesn’t exist .js Field ‘browser’ doesn’t contain a valid alias configuration /home/xxx/node_modules/react-navigation/src/PlatformHelpers.js doesn’t exist as directory /home/xxx/node_modules/react-navigation/src/PlatformHelpers doesn’t exist [/home/xxx/node_modules/react-navigation/src/PlatformHelpers] [/home/xxx/node_modules/react-navigation/src/PlatformHelpers.android.jsx] [/home/xxx/node_modules/react-navigation/src/PlatformHelpers.android.js] [/home/xxx/node_modules/react-navigation/src/PlatformHelpers.nativejsx] [/home/xxx/node_modules/react-navigation/src/PlatformHelpers.nativejs] [/home/xxx/node_modules/react-navigation/src/PlatformHelpers.jsx] [/home/xxx/node_modules/react-navigation/src/PlatformHelpers.js] [/home/xxx/node_modules/react-navigation/src/PlatformHelpers] @ ./node_modules/react-navigation/src/createNavigationContainer.js 1:1138-1166 @ ./node_modules/react-navigation/src/react-navigation.js @ dll vendor webpack-for-android No loader specified Error: No loader specified at Function.normalizeUseItem (/home/xxx/node_modules/webpack/lib/RuleSet.js:274:10) at Function.normalizeUse (/home/xxx/node_modules/webpack/lib/RuleSet.js:236:19) at Function.normalizeRule (/home/xxx/node_modules/webpack/lib/RuleSet.js:184:26) at rules.map (/home/xxx/node_modules/webpack/lib/RuleSet.js:86:20) at Array.map (<anonymous>) at Function.normalizeRules (/home/xxx/node_modules/webpack/lib/RuleSet.js:85:17) at new RuleSet (/home/xxx/node_modules/webpack/lib/RuleSet.js:80:24) at NormalModuleFactory (/home/xxx/node_modules/webpack/lib/NormalModuleFactory.js:49:18) at Compiler.createNormalModuleFactory (/home/xxx/node_modules/webpack/lib/Compiler.js:474:31) at Compiler.newCompilationParams (/home/xxx/node_modules/webpack/lib/Compiler.js:487:30) webpack-for-web debug Webpack dev server is waiting for backend to start… webpack-for-server Starting backend webpack-for-server Time: 65307ms backend info API is now running on port 8080 webpack-for-web debug Backend has been started, resuming webpack dev server… webpack-for-web bundle is now VALID. webpack-for-web Time: 27850ms

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
larixercommented, Sep 22, 2017

@semyenov The bug is fixed in spin.js@0.3.6. Going to update the kit now to point to this version.

0reactions
mairhcommented, Sep 22, 2017
Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: No loader specified configuring vue.config.js
It appears that the config module requires invoking the functions in a specific order, which might not be very intuitive: chainWebpack: config = ......
Read more >
No loader specified · Issue #1121 · vuejs/vue-cli - GitHub
I'm getting this error while using less-loader. If I disable the less-loader line in the vue.config.js, it starts building again (although my ...
Read more >
Writing a Loader - webpack
A loader is a node module that exports a function. This function is called when a resource should be transformed by this loader....
Read more >
Working with Webpack | Vue CLI
vue inspect will be extremely helpful when you are trying to access specific loaders via chaining. Modifying Options of a Loader #. //...
Read more >
html-loader - npm
You may need to specify loaders for images in your configuration ... If the tag name is not specified it will process all...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found