Heroku has a set of default buildpacks, used when it needs to detect the language of your app.
In order to do that detection, it runs the bin/detect
command of each of those default buildpacks, until one of them returns a 0 exit code.
This is the command for the node buildpack.
As you can see, it requires a package.json
to be located at the root of your app, not in a subfolder.
This is the difference causing your build to fail. You need to put your app at the root of your git repository.
Related Posts:
- Heroku: “No default language could be detected for this app” error thrown for node app
- How to make a discord bot create an invite for every server it joins?
- map function for objects (instead of arrays)
- Start script missing error when running npm start
- How can a Discord bot create a hyperlink in a Discord message in an embed or in general? [closed]
- How to you store data for each discord user in the discord server?
- Babel 6 regeneratorRuntime is not defined
- TypeError: Converting circular structure to JSON in nodejs
- Babel 7 – ReferenceError: regeneratorRuntime is not defined
- How do I completely uninstall Node.js, and reinstall from beginning (Mac OS X)
- Getting a UnhandledPromiseRejectionWarning when testing using mocha/chai
- Client on Node.js: Uncaught ReferenceError: require is not defined
- Error: Can’t set headers after they are sent to the client
- How can a Discord bot create a hyperlink in a Discord message in an embed or in general?
- Getting a UnhandledPromiseRejectionWarning when testing using mocha/chai
- require is not defined? Node.js
- Client on Node.js: Uncaught ReferenceError: require is not defined
- Error: Can’t set headers after they are sent to the client
- TypeError: Router.use() requires middleware function but got a Object
- Express error – TypeError: Router.use() requires middleware function but got a Object
- Cannot GET / Nodejs Error
- What is NODE_ENV and how to use it in Express?
- Reactjs – Form input validation
- How to set NODE_ENV to production/development in OS X
- await is only valid in async function
- TypeError: Router.use() requires middleware function but got a Object
- What does “res.render” do, and what does the html file look like?
- NPM ELIFECYCLE error – using node server.js command
- Node.js – SyntaxError: Unexpected token import
- ReferenceError: fetch is not defined
- ‘react-scripts’ is not recognized as an internal or external command
- After $npm install, Getting Error: Cannot find module ‘../lib/utils/unsupported.js’
- Node.js – SyntaxError: Unexpected token import
- SyntaxError: Adjacent JSX elements must be wrapped in an enclosing tag
- Invalid shorthand property initializer
- nodejs – error self signed certificate in certificate chain
- What’s the source of Error: getaddrinfo EAI_AGAIN?
- stop all instances of node.js server
- Using Node.js require vs. ES6 import/export
- Why is process.env.NODE_ENV undefined?
- npm – EPERM: operation not permitted on Windows
- How can I mock an ES6 module import using Jest?
- Express Render not working return error: No default engine was specified and no extension was provided
- How to use npm jquery module?
- TypeError: Router.use() requires middleware function but got a Object
- Node.js Error: connect ECONNREFUSED
- No overload matches this call. Type ‘string’ is not assignable to type ‘Signals’
- SyntaxError: Cannot use import statement outside a module
- How to handle ETIMEDOUT error?
- How to determine the installed webpack version
- node.js TypeError: path must be absolute or specify root to res.sendFile [failed to parse JSON]
- XMLHttpRequest module not defined/found
- Node update a specific package
- How to properly export an ES6 class in Node 4?
- Express error – TypeError: Router.use() requires middleware function but got a Object
- Expressjs / Node.js – res.redirect() not loading page
- Using async/await with a forEach loop
- Why is my asynchronous function returning Promise {
} instead of a value? - Failed to compile. Module not found: Can’t resolve ‘react-router-dom’
- NodeJs : TypeError: require(…) is not a function
- MissingSchemaError: Schema hasn’t been registered for model “User”
- What is the difference between node.js and io.js?
- module.exports vs exports in Node.js
- Convert Array to Object
- Basic Ajax send/receive with node.js
- Cannot find module ‘internal/fs’ after upgrading to node 7
- Make Axios send cookies in its requests automatically
- node-request – Getting error “SSL23_GET_SERVER_HELLO:unknown protocol”
- Bower: ENOGIT Git is not installed or not in the PATH
- Why does JSHint throw a warning if I am using const?
- How to fix Cannot find module ‘typescript’ in Angular 4?
- Difference between “module.exports” and “exports” in the CommonJs Module System
- Error: ENOENT: no such file or directory, stat ‘/public/main.html’ at Error (native)
- Error: Cannot find module html
- npm WARN enoent ENOENT: no such file or directory, open ‘C:\Users\Nuwanst\package.json’
- How to access the request body when POSTing using Node.js and Express?
- TypeError: res.status is not a function
- SyntaxError: expected expression, got ‘<'
- Eslint: How to disable “unexpected console statement” in Node.js?
- how to use react require syntax?
- How can I use webpack with express?
- Maximum call stack size exceeded on npm install
- SyntaxError: Use of const in strict mode
- How do you completely remove Ionic and Cordova installation from mac?
- NPM install fails with node-gyp
- How to fix Error: listen EADDRINUSE while using NodeJS?
- Error: listen EACCES 0.0.0.0:80 OSx Node.js
- How to format a UTC date as a `YYYY-MM-DD hh:mm:ss` string using NodeJS?
- What counts as CPU Intensive tasks (eg. sorting, searching etc?)
- How to convert binary string to decimal?
- events.js: 141 throw er; // Unhandled ‘error’ event
- How to disable auto-start of “Node.js: Server-side JavaScript” when using Adobe Dreamweaver?
- How to disable auto-start of “Node.js: Server-side JavaScript” when using Adobe Dreamweaver?
- Write / add data in JSON file using Node.js
- Make Discord bot send picture with message with NodeJS
- What does `node –harmony` do?
- Error: Couldn’t find preset “es2015” relative to directory “/Users/username”
- Using Angular 2 without TypeScript Transpiler
- how to add inside a text box?
- Is there a way to create interfaces in ES6 / Node 4?