Comments (6)
Hey @Obooman ! Thanks for your issue. I checked but did you run npm install
before that command? It looks like you didn't install dependencies.
from ran.
Hi Ilker(nice dressπ),I have already run yarn install
before run yarn run setup
as README describe,100% sure,that's why it's strange.I'm showing all my commands and outputs below.
AND repeat it,npm install figlet
single dependency goes well.
β² ~ cd /Volumes/Document/github/RAN
β² RAN at master β yarn
yarn install v0.15.1
warning [email protected]: "dependencies" has dependency "figlet" with range "^1.2.0" that collides with a dependency in "devDependencies" of the same name with version "1.2.0"
[1/4] π Resolving packages...
[2/4] π Fetching packages...
[3/4] π Linking dependencies...
warning Incorrect peer dependency "next@^2.x.x".
[4/4] π Building fresh packages...
success Saved lockfile.
β¨ Done in 203.55s.
β² RAN at master β yarn run setup
yarn run v0.15.1
$ npm run setup:before && node ./helper_scripts/CL_commands/setup.js && npm run setup:after
npm WARN invalid config init-author-url="github.com/obooman"
npm WARN invalid config Must be a full url with 'http://'
> [email protected] setup:before /Volumes/Document/github/RAN
> npm i shelljs cli-clear
> [email protected] uninstall /Volumes/Document/github/RAN/node_modules/pre-commit
> node uninstall.js
> [email protected] uninstall /Volumes/Document/github/RAN/node_modules/husky
> node ./bin/uninstall.js
husky
uninstalling Git hooks
done
npm WARN gentlyRm not removing /Volumes/Document/github/RAN/node_modules/decompress-zip/node_modules/touch/node_modules/.bin/nopt as it wasn't installed by /Volumes/Document/github/RAN/node_modules/decompress-zip/node_modules/touch/node_modules/nopt
npm WARN gentlyRm not removing /Volumes/Document/github/RAN/node_modules/acorn-globals/node_modules/.bin/acorn as it wasn't installed by /Volumes/Document/github/RAN/node_modules/acorn-globals/node_modules/acorn
npm WARN gentlyRm not removing /Volumes/Document/github/RAN/node_modules/acorn-dynamic-import/node_modules/.bin/acorn as it wasn't installed by /Volumes/Document/github/RAN/node_modules/acorn-dynamic-import/node_modules/acorn
npm WARN The package figlet is included as both a dev and production dependency.
+ [email protected]
+ [email protected]
removed 1141 packages and updated 17 packages in 43.203s
module.js:472
throw err;
^
Error: Cannot find module 'figlet'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Volumes/Document/github/RAN/helper_scripts/CL_commands/__helpers.js:1:78)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
error Command failed with exit code 1.
info Visit http://yarnpkg.com/en/docs/cli/run for documentation about this command.
β² RAN at master β
from ran.
Thanks for the error log, @Obooman! hmmm, the weird thing is I followed same steps on mac and Linux but I couldn't get the same error. I saw somehow It uninstalls "pre-commit" and "husky" on your log. Also yarn looks older version than mine. I'm using yarn v0.24.6 so If it's possible, can you update yarn and try again?
from ran.
Hey @Obooman, I found the bug on node.js v8. I don't know why It's uninstalling some packages on node.js v8. I will work on that.
from ran.
Last Update π
I pushed hotfix for node.js v8 now. I tested on v8.1.3 and It works but can you also test it, please?
from ran.
Hi,Have checked current master
branch and it works well,good job!
from ran.
Related Issues (20)
- Travis CI build fail HOT 1
- [SOLVED] Router expected '/' but got 'index' - build:static_export HOT 1
- newer compression module HOT 3
- ReasonReact sample page HOT 2
- server.js contains some resolves that don't exist
- polyfill.io service HOT 1
- 402 payment required... Repo no longer maintained? HOT 2
- Is there a backend to this? [Question] HOT 4
- Integrate React-Intl?
- Next.js 8
- being logged out after refreshing
- Prisma support
- Cannot convert object to primitive value HOT 4
- Can't import scss file
- Can't deploy ran project to now
- Cannot run IE browser
- Wildcard instead of GraphQL?
- now.sh website is down due to deprecation of 1.0 deployments HOT 1
- New version is coming with full update :) HOT 7
- Error on Clean Setup
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 ran.