Comments (6)
How did you reproduce this? Can't tell from the trace
from eb-disable-npm.
I got this error as well after installing eb-fix-npm
or eb-disable-npm
.
+ npm install
> [email protected] install <project>/node_modules/eb-disable-npm
> install-files source
path.js:7
throw new TypeError('Path must be a string. Received ' + inspect(path));
^
TypeError: Path must be a string. Received undefined
at assertPath (path.js:7:11)
at Object.join (path.js:1211:7)
at installFiles (<project>/node_modules/install-files/src/index.js:63:19)
at Object.<anonymous> (<project>/node_modules/install-files/bin/install-files.js:16:1)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
from eb-disable-npm.
What's your OS and Node version?
from eb-disable-npm.
ubuntu@ip:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
ubuntu@ip:~$ node -v
v6.11.0
ubuntu@ip:~$ npm -v
5.6.0
I've seen a lot of comments around these problems with people saying they've moved to docker instead of messing about with ebextensions so that's what I've done too. 💯
from eb-disable-npm.
I've seen a lot of comments around these problems with people saying they've moved to docker instead of messing about with ebextensions so that's what I've done too.
Oh interesting. Using AWS ECS? Or Docker on Elastic Beanstalk?
Re: the trace, what's weird is that
at installFiles (<project>/node_modules/install-files/src/index.js:63:19)
Corresponds to a blank line in install-files
. Can you do npm ls install-files
to see what version of install-files
your install of eb-disable-npm
is using? Over the course of 1.x we've made some fixes to path lookups—perhaps this would be fixed by forcing eb-disable-npm
to upgrade to the latest 1.x.
from eb-disable-npm.
If I run cd install-files && cat package.json
quickly before it crashes it says it has downloaded version 1.1.4
of install-files
.
from eb-disable-npm.
Related Issues (4)
- npm rebuild still running HOT 1
- use of yarn instead of npm HOT 2
- Failed to start app HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eb-disable-npm.